Automatically change cell colour when cell date expires

davash

New Member
Joined
Jun 25, 2019
Messages
4
Hi.

Can anyone tell me how to add a formula that automatically changes the colour of a cell to red once the date within that cell expires please?

Thanks.

David
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Select the cells with the dates in

Home>Conditional Formatting>New Rule>Use a formula to determine which cells to format

Assuming A1 is the first cell in your selection:

In the 'Format values where this formula is true' box enter :

=A1<Today()
<today()[ code]

Changing A1 to the first cell of your selection.

Ensure to click the 'Format' button and select the format for when the value returns true</today()[>
 
Upvote 0
Thanks for your very quick reply.

I got as far as "ensure to click the format button and select the format for when the value returns true". I clicked on format and entered the cell range, but not sure where to go from there. Can you advise please?

Thanks
 
Upvote 0
What cells do you want this to work on?
 
Upvote 0
In that case select those cells > Conditional Formatting > New Rule > Use a formula >
=D2< Today()
Select the format you want > Ok
 
Upvote 0

Forum statistics

Threads
1,223,744
Messages
6,174,254
Members
452,553
Latest member
red83

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