Formula to flag rolling weeks

rfigueroa1976

New Member
Joined
Jan 10, 2019
Messages
14
Is there a formula that would let me flag that last ten weeks from current date, taking into consideration that week 52 (sometimes 53) rolls back to week 1

For example.... Below is column A (The date) and B (the flag) I'd like the formula to look at the date in the cell and if the date in the cell is within 10 weeks from today's week number, flag as "Rolling 10", otherwise, leave blank... =if(weeknum(today()-weeknum(a1)<11. "Rolling 10", "") <-- obviously does not work. Your help will be greatly appreciated!



9/30/2018
10/7/2018
10/14/2018
10/21/2018
10/28/2018
11/4/2018 - "Rolling 10"
11/11/2018 - "Rolling 10"
11/18/2018 - "Rolling 10"
11/25/2018 - "Rolling 10"
12/2/2018 - "Rolling 10"
12/9/2018 - "Rolling 10"
12/16/2018 - "Rolling 10"
12/23/2018 - "Rolling 10"
12/30/2018 - "Rolling 10"
1/6/2019 - "Rolling 10"
 
Update.... The flag is working when looking at the weeks but not taking year into consideration. I'm assuming it's looking at today's week number? Meaning, it's flagging the date 01/06/18, 01/06/17, 01/06/16 as within the rolling week count. Help please.
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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