• 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.

Week numbers for a date in the month

Mohandas

Member
Dear Sir,

what formula can be used to get the week number for a given date in a month

for example 15.05.2016 is week 3

Regards

Mohandas
 
Thanks to Narayan link related post.

1] Narayan link of replied post from barry houdini, formula is :

=INT((6+DAY(A1+4-WEEKDAY(A1-1)))/7)

The above formula return week number based on week always begins on Monday,

in testing with the OP's example 15/05/2016, the above formula return 2. (not 3)

2] I guess OP's specification in week begins on Sunday, then the modified formula is :

=INT((6+DAY(A1+4-WEEKDAY(A1-7)))/7)

and the 2nd formula return 3.

Regards
Bosco
 
Last edited:
Back
Top