Excel ISO Week Numbers - Adding Weeks

bennygod

New Member
Joined
Feb 4, 2009
Messages
19
Hi all

I'm using the following formula to return the current ISO week number (this week we are in week 45, for example):

=1+INT((C2-DATE(YEAR(C2+4-WEEKDAY(C2,2)),1,5)+WEEKDAY(DATE(YEAR(C2+4-WEEKDAY(C2,2)),1,4),2))/7)

Cell C2 is just the current date: =TODAY()

So the ISO week formula returns 45 for today and thru' until Sunday. If I want to plan to have something done within 5 weeks I want to put the time to do it as 5 and then convert this back to give me the correct deadline ISO week number. No it is nota simple 45+5 as in this case that would work. If my lead time was in fact 20 weeks, it would not be 45+20 as this would return 65, which is not a week number. In this case the answer should be week 12 (since this year is a 53 week year according to ISO).

Anybody any ideas?

Much appreciated, thanks!!!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,214,648
Messages
6,120,725
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top