- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message
Excel Formulas
Posted on 6/20/24 at 4:17 pm
Posted on 6/20/24 at 4:17 pm
not sure if this is the right place to ask, but I'm needing help formatting Cells in excel.
I have a future date in a cell.
I want that cell to change colors 10 days or so before that date, then change again on that date.
for example:
in cell C9, I have the date 10/28/24
on 10/18/24 I want that cell to automatically be filled yellow and stay yellow until 10/28/24. And on that date, it would change to red and stay red permanently.
I know I have to create a new rule in conditional formatting.
I'm assuming I'll have to use TODAY() somewhere as part of the rule?
I have a future date in a cell.
I want that cell to change colors 10 days or so before that date, then change again on that date.
for example:
in cell C9, I have the date 10/28/24
on 10/18/24 I want that cell to automatically be filled yellow and stay yellow until 10/28/24. And on that date, it would change to red and stay red permanently.
I know I have to create a new rule in conditional formatting.
I'm assuming I'll have to use TODAY() somewhere as part of the rule?
Posted on 6/20/24 at 6:16 pm to Nutriaitch
Try this
ETA: Obviously the range needs to be the cells you want to format conditionally.

ETA: Obviously the range needs to be the cells you want to format conditionally.
This post was edited on 6/20/24 at 6:25 pm
Posted on 6/20/24 at 6:25 pm to Nutriaitch
conditional formatting
like above
like above
This post was edited on 6/20/24 at 6:26 pm
Posted on 6/20/24 at 8:00 pm to mdomingue
i tried conditional formatting
> or equal to Today()+10
< or equal to Today()+10
both just highlights the cell no matter what damn date is in it. even dates next year.
> or equal to Today()+10
< or equal to Today()+10
both just highlights the cell no matter what damn date is in it. even dates next year.
Posted on 6/20/24 at 11:16 pm to Nutriaitch
quote:
i tried conditional formatting
> or equal to Today()+10
< or equal to Today()+10
both just highlights the cell no matter what damn date is in it. even dates next year.
Try going to 2 new cells (you can put them on a new sheet and hide them if you want) and making them:
Cell #1: =today()+10
Cell #2: =today()
Then your conditional formatting will reference the cells rather than putting the formulas in the condition.
First rule will be:
If [formatted cell] <= [cell #1], [yellow fill]
Second rule will be:
If [formatted cell] <= [cell #2], [red fill]
Or you could use “between” for the first one.. but it should work as long as your “red fill” rule is last.
I say try this way (calculating the trigger dates in separate cells) because sometimes Excel gets fricky when you do formulas in conditional formatting rules. I think there’s a different syntax you have to use but honestly, I find it easier to just use cell references.
Just make sure the references are absolute (not relative) so they don’t get jacked up.
Popular
Back to top
