Conditional Formatting

Jamiek1

New Member
Joined
Sep 30, 2022
Messages
7
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi all,

I think I am overthinking this one and need some help please.
I am writing a conditional formatting formula so that cell B2 will highlight "purple" if cell i2 is blank and cell j2 7 days has passed since the date shown
I have input the below formula and it works if cell I2 is completely blank, however, I2 has a formula.
Is there a way to fix this so it does not read the formula and is just on the returned value?
=AND(I2="",J2-TODAY()>=7)
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
That should work if the formula returns an empty string, but I am guessing that your formula does not.
Can you post the formula found in cell I2?
 
Upvote 0
To add on to what @Joe4 wrote.
I think your date calculation may be backwards. As with each passing day the TODAY() function will make the difference lesser than 7.

So, maybe try this:

Excel Formula:
=AND(I2="",TODAY()-J2>=7)
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

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