Hello -
I have a calendar board I am using to track our team’s PTO and would like to display a grouping by when the PTO is occurring. I initially tried grouping by my timeline field which works fine if the PTO is a single day, but for multiple days, it looks at the end date so an entry for M-F looks like it isn’t happening until Friday. I’d like to create a formula that provides similar values to the out of the box grouping by timeline (today, this week, last week, last month, past, etc.) by querying the proximity to today between the start and end date of the timeline field. Once I have that, I can then group by that formula field.
This is not a great fix, but what about a formula column that it pulling the weeknum of the timeline? I can only get it to pull the ‘start’ date’s weeknum but it might help?
Hi Trevor,
Thanks so much, this looks like what I was looking for. I am getting an unrecognized function when applying this with the sample start and end date columns replaced with my own. Can you look at the modified code below and let me know if there is any modifications I missed?
I think we are getting close! Your formula structure is mostly correct, but the error is likely due to incorrect function usage. T
he functions DATE_ADD and DATE_SUBdo not exist in Monday.com’s formula language from what I believe. Instead, could your try to use DAYS to compare dates.
Hi Trevor -
Thanks so much. While this version didn’t work, I was able to get some additional help on another variation using a simplified current, past and future categorization. Here is where it shook out.