Highlight cell if another cell contains ANY date value whatsoever

RRico

Board Regular
Joined
Nov 3, 2004
Messages
98
Hi guys! Seeking to use conditional formatting to Highlight a cell if another/different cell contains ANY date value whatsoever. I'm specifically trying to make it so that Column "I" (eye phonetically) will format to standard black font (vs. the current rule I have to make it red when the date is past today's date). I'd like to make it go back to black if/when a date value is inserted into Column "L".

I'm able to do this with non date values... but for a date value, it's not accepting any of my usual formulas :(

Any help please?
:)
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
a date is just a number - so what else is in column L

in column I formatting you already have add a condition for L

=AND(I2<TODAY(),NOT(ISNUMBER(L2)))

Book4
IJKLM
1
26/1/2312/1/23TRUE
36/2/23
46/3/2312/1/23
56/4/23
66/5/23
76/6/23
86/7/23
96/8/23
106/9/23
116/10/23
126/11/23
136/12/23
146/13/23
156/14/23
166/15/23
176/16/23
Sheet1
Cell Formulas
RangeFormula
M2M2=ISNUMBER(L2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I2:I17Expression=AND(I2<TODAY(),NOT(ISNUMBER(L2)))textNO
 
Upvote 0
Solution
Interestingly... your formula is working.... (sort-of), but it's working in the opposite manner. Currently all dates are red in Column I due to today being greater than (older than) the date value sitting in column I. When I use your formula, it's taking the red off the font in Column I (bad result), and when I enter a date value in Column L, then it's making it go back to red for some reason?

1685967840575.png
 
Upvote 0
Currently all dates are red in Column I due to today being greater than (older than) the date value sitting in column I.
I have used I2<TODAY() so if I2 is less than - which means the date is older than today ...

today being greater than - so 1 aug 24 is greater than today - BUT then you say OLDER than
not sure i follow

BUT change the formula to

=AND(I2>TODAY(),NOT(ISNUMBER(L2)))

Book4
IJKL
1
26/1/2312/1/23
36/2/23
46/3/2312/1/23
56/4/23
66/5/23
76/6/23
86/7/23
96/8/232/1/23
106/9/23
116/10/23
126/11/23
136/12/23
146/13/232/1/23
156/14/23
166/15/23
176/16/23
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I2:I17Expression=AND(I2>TODAY(),NOT(ISNUMBER(L2)))textYES
 
Upvote 0
Ah, OK... it looks like all I had to do was delete the "red" rule that I had in there prior to consulting with you :) I think we're OK Now. I will do some more testing, but if/when I find this to have worked, I'll Mark as solution" button - right next to this post.
 
Upvote 0
the range applied to does not start i2 , it starts at I25 , so will be 23 rows out

also are you deleting or inserting rows ?

applies to I2:I38 in both caes and make sure the formula also starts at row 2
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,304
Members
452,633
Latest member
DougMo

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