Gray out last week and next week

xoomoon

Board Regular
Joined
Oct 31, 2015
Messages
75
Hey everyone,

I have 1 month worth of schedule for work in Excel and I want to make it easy for everyone to read it when the file opens up. So basically, I want to keep the current week's schedule and gray out with transparency the week before and the week after the current week.

I want it to automatically do this every time I'm at a new week.
Is there a way to do this? I looked at conditional formatting but can't seem to figure out the exact formula.

Many thanks in advance!

Ryan
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
where do you have a date in the spreadsheet
you can use today() in a conditional formatting to compare todays date with the row and then format the row
but would like to know the dates you have ?
 
Upvote 0
where do you have a date in the spreadsheet
you can use today() in a conditional formatting to compare todays date with the row and then format the row
but would like to know the dates you have ?


Thanks for the answer.

I have this week 2/9 - 2/15.
The new week always starts on a Saturday.
So i would want 2/2 - 2/8 and 2/16 - 2/22 to be grayed out(transparent).
Still want to be able to look at any dates.
On a full months worth of schedule, when i'm on the first week, the last 3 weeks would be grayed out and when i'm on the last week of the month, the first 3 weeks would be grayed out. Not sure how to do this based on the formula.
 
Upvote 0
is there a formula to just keep the current week and gray out all other active cells?
This is ultimately what I want. Keep current week and gray out all other weeks.
This way I don't have to play with the before and after week.
 
Last edited:
Upvote 0
yes you can use conditional formatting
i understand what you want to do
but i still dont know how the data is set out on the schedule - so difficult to give an answer
if the date for the week beginning is in column A
then you could test column A for if this week or last week or next week
 
Upvote 0
thanks

so here are the corner cells where the columns are located at.
A2 - A75
AR2 - AR75

current week is
s2- S75
z2-z75

thanks
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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