I need to convert dates to week numbers for a spreadsheet where week number 1 starts monday July 25, 2012. Any help would be greatly appreciated.
I need to convert dates to week numbers for a spreadsheet where week number 1 starts monday July 25, 2012. Any help would be greatly appreciated.
=WEEKNUM(I8-206)
206 is the offset in days to your financial year, I have only quickly tested it,
If it's only for dates within that fiscal year try this formula for week number (assuming a date in A1)
=INT((A1-DATE(2012,7,25))/7)+1
format as number
If you want a formula that will work for any year then do you have a rule for when the year starts, e.g. last Monday in July?
Audere est facere
Thank you everyone it worked!
I actually had to do WEEKNUM(I8-176) for it to work for 2012-2013 fiscal year starting 07/25/2012. I have another issue. I am trying to do the same for 2013-2014 fiscal year starting 07/01/2013 ending 06/29/2014. I am having an issue when i do WEEKNUM(A1-181) I am only getting 5 days in week 1. Why is it doing this? I have tried playing around with the numbers and can not get 07/01/2013-07/07/2013 to show week 1.
That's the way WEEKNUM works - week 1 always starts on 1st Jan and then week 2 starts on the next Sunday, so sometimes week 1 has only 1 day! It only works co-incidentally for 2012 because that year started with a Sunday. The version I suggested should work for you if you change the start date within the formula.
It seems strange that 2013 starts on 1st July when 2012 started on 25th? Is 25th right, it's not a Monday?
Yes, it is right, it is the chosen fiscal year for an organization. Thank you for your help I will give it a try.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks