Conditional formatting

Muthukrishnan V

Active Member
Joined
May 29, 2008
Messages
269
Office Version
  1. 365
Platform
  1. Windows
Microsoft Excel 2007

Column E contains date in dd-mm-yyyy format.
E5 : 13-01-2020
E6 : 21-05-2020
E7 : 05-02-2020
E8 : 13-10-2019
Today is 29-07-2019. The next upcoming date is 13-10-2019 which is in cell E8;
Is it possible, by a formula, to highlight cell E8 in some way, say by colour?
Thanks,
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Select E5:E8 & use this formula
=E5=MIN(IF($E$5:$E$8>TODAY(),$E$5:$E$8))
 
Upvote 0
Select range E5:E8
Conditional formatting
New Rule.
In the New Formatting Rule dialog box, click Use a formula to determine which cells to format.
Under Format values where this formula is true, type the formula:

Code:
=$E5=SMALL(IF(E5:E8 > TODAY(),E5:E8),1)}

Select Format, select color.
Press Ok.
Press Ok.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0
Select range E5:E8
Conditional formatting
New Rule.
In the New Formatting Rule dialog box, click Use a formula to determine which cells to format.
Under Format values where this formula is true, type the formula:

Code:
=$E5=SMALL(IF(E5:E8 > TODAY(),E5:E8),1)}

Select Format, select color.
Press Ok.
Press Ok.

I do not get result. Msg: Error in formula.
Please help
 
Upvote 0

Forum statistics

Threads
1,213,487
Messages
6,113,943
Members
448,534
Latest member
benefuexx

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