Conditional Formatting based on Dates

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am trying to get a status in my data to show different colours for delivery dates that are in L10 down, the status being in P10 down

At the moment I have CF for the following

=AND(LEN(L10),TODAY()>L10) = Red
=AND(LEN(L10),TODAY()=L10) = Green

These work fine, but what I am trying to do is have the cell go

yellow if L10 is 5 days away from the value of TODAY()
orange if L10 is 5 days away from the value of TODAY()

Would there be a specific order they would need to go in to make this work correctly

Many thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi mart37,

I have tried them in all sorts of order but cant seem to get anything working the way I need

Thanks
 
Upvote 0
yellow and orange have the same condition????

=AND(LEN(L10),TODAY()+5=L10)
 
Upvote 0
Hi mart37,

sorry it should be 3 and 5 days

This almost works, it only highlights the 5 days, I need 1-5 days

Is this possible

many thanks by the way
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,331
Members
452,636
Latest member
laura12345

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