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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,224,822
Messages
6,181,165
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