Forum Discussion
Blake753
Helper II
6 years agoGroup Dates into 2 week intervals
I have a set of data with dates starting on 1/5/2020. I need to group these dates in a column into 2 week intervals with the last Saturday date being the return value. These dates always begin on a...
- 6 years ago
Blake753 , Try like
Week end date = date(2020,1,5) + (Quotient(datediff(date(2020,1,5),[Date],day),14)+1)*14
Blake753
Helper II
6 years agoamitchandak
Super User
6 years agoBlake753 , Try like
Week end date = date(2020,1,5) + (Quotient(datediff(date(2020,1,5),[Date],day),14)+1)*14- Blake7536 years ago
Helper II
amitchandak I had to change the start date to January 4, 2020 as it was one day off but it seems to have worked, thank you very much