conditional formatting dates

max_max

Board Regular
Joined
Jun 29, 2013
Messages
58
Hi to all,

these formulas do not turn out well

blank =$J6="" or K6="P"

today or date expired =<today()) (red)

=AND($J6=TODAY(),$J6< today()) (red)
date expires in 1 day =$J6>today()+1 (yellow)

a help.
max</today())>
 
Last edited by a moderator:

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
=AND($J6=TODAY(),$J6< today())
This can NEVER be true.
J6 can never be equal to Today AND be less than Today at the same time!

The rest of your post is very confusing.
Please just list out in plain English exactly how you want them to work, and we can help you write them.
 
Upvote 0
IF $J6="" or K6 ="P" = blank

IF $J6 = TODAY - 1 = color yellow

IF $J6= TODAY OR expired = color red
 
Upvote 0
You do not need to do anything for the blank option.

Yellow formula: =$J6=TODAY()-1
Red formula: = OR($J6=TODAY(),$J6="expired")

 
Upvote 0

Forum statistics

Threads
1,214,893
Messages
6,122,118
Members
449,066
Latest member
Andyg666

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