Conditional formatting question (I think)

mark hansen

Well-known Member
Joined
Mar 6, 2006
Messages
530
Office Version
  1. 2016
in a cell I have to following formula

=TODAY()-Y12&" Days Ago" and I get a display that says "3 days ago"

I want the cell to turn red when the number is greater than say 12 --- so for any statement that says 12 days ago (or more) the cell will turn red.

I tried conditional formatting by changing it to formula and entering today() - y12 >12 but couldn't get it work.

What am I getting wrong?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

jabba9

New Member
Joined
May 18, 2004
Messages
42
in conditional formatting:

change to "formula is" and type =TODAY()-Y12>12

you might have to go back and remove all quotes (sometimes excel adds quotes, which can screw up conditional formatting)

Mike
 

Forum statistics

Threads
1,141,756
Messages
5,708,332
Members
421,565
Latest member
Lastadiego

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
Top