Search This Blog

Tuesday, July 21, 2020

Excel formula to get week number in month (having Monday)


Excel formula to get week number:
If week 1 always starts on the first Monday of the month try this formula for week number
=INT((6+DAY(A1+1-WEEKDAY(A1-1)))/7)
That gets the week number from the date in A1 with no intermediate calculations - if you want to use your "Monday's date" in B1 you can use this version
=INT((DAY(B1)+6)/7)

No comments:

Post a Comment