Highlight cell after 10 days

ricwilli

New Member
Joined
Feb 3, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I am trying to find a Conditional Formatting formula to use in a column of cells with dates. I would like each cell, under the "Signed Out" column to turn red after 10 days of the date that is entered. I would like the cell to remain red until there is a date entered next to the red cell under the "Returned Date" column. Your help is gladly appreciated.


Excel.jpg
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Welcome to the Board!

Try this Conditional Formatting formula (written for row 2):
Excel Formula:
=AND(TODAY()-$B2>=10,$C2="")
 
Upvote 0
Excel Formula:
=AND($C4="",B4+10<TODAY())

change row number as needed (currently 4)
 
Upvote 0
Welcome to the Board!

Try this Conditional Formatting formula (written for row 2):
Excel Formula:
=AND(TODAY()-$B2>=10,$C2="")

WOW!! Thanks. This worked.

Question. Do I have to add the formula to every cell individually or can I highlight the whole "Signed Out" column and add the formula? When I tried highlighting the column and adding the formula, the cells that had no dates turned red. The empty cell should remain white until a date is added and the formula can start working. Thank you once again.
 
Upvote 0
WOW!! Thanks. This worked.

Question. Do I have to add the formula to every cell individually or can I highlight the whole "Signed Out" column and add the formula? When I tried highlighting the column and adding the formula, the cells that had no dates turned red. The empty cell should remain white until a date is added and the formula can start working. Thank you once again.
Just select the whole range you want to apply it to, and write the formula as it applies to the very first cell in your selection, and Excel will adjust it for the rest.

To handle the blanks in column B, amend the formula like this:
Excel Formula:
=AND(B2<>"",TODAY()-$B2>=10,$C2="")
 
Upvote 0
Solution
You are welcome.
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,214,431
Messages
6,119,458
Members
448,899
Latest member
maplemeadows

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