Conditional Formatting - Cell date

trevolly

Board Regular
Joined
Aug 22, 2021
Messages
120
Office Version
  1. 365
Platform
  1. Windows
Good evening

I'm trying to write a conditional format for a cell which will run depending on the date in another cell. I've attached a screenshot and what I'm after doing is that if the current date is +7 (seven and more) days from the date in the "B" column then the text column next to the date in question would turn red (the "D" columns.) If the date is changed to a later date (less than 7 days from the current date) or the date cell is cleared then the "D" column would turn back to black.

Its to prompt staff to chase issues...

Thanks all
T
 

Attachments

  • dates.jpg
    dates.jpg
    172.2 KB · Views: 13

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
use a formula to decide to format a cell then type: =$B27<today()-7 format the cell fill as required.

HTH
 
Upvote 0
Solution

Forum statistics

Threads
1,214,976
Messages
6,122,543
Members
449,089
Latest member
davidcom

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