• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How do i group dates automatically

Ashish Balki

New Member
I have to cluster 5 dates into one group. I have year-long dates which mean I should have (365/5=)73 groups starting from 1st March. How do I do it in excel? Attached is the excel file for 1 quarter.
 

Attachments

Hui

Excel Ninja
Staff member
Assuming each group is 5 days long starting on 1 April 2018
In cell B2: =INT((A2-DATE(2018,4,1))/5)
copy down
 
Top