Rolling Week number - end of year

PCRIDE

Well-known Member
Joined
Jan 20, 2008
Messages
907
I have a dashboard that displays data by week number. Since the turn of the year my rolling week table needs to reset at week 1.

For example I will trend 9 weeks of data today(weekNum()-9)
Then the next cell would be +1
Until I get 9 weeks minus the current week

Now I get week 52,53,54,55 etc and have to manually update it 50,51,52,1,2,3 etc

The problem will solve itself once we get to the 9th week this year, what can I use to reset the week?

My data is 9 rows worth the first cell today(weekNum)-9, then each cell after is +1
 
row() is a counter that changes as you copy down (use column() if going across). $I$1-91+(7*ROW(A1)-7)) takes the date entered in I1, goes back 7 * 13 days for n = 1 , 7 * 12 for n = 2, etc.
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,223,713
Messages
6,174,039
Members
452,542
Latest member
Bricklin

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