Conditional formating based on 2 variables

markwight

New Member
Joined
Apr 25, 2005
Messages
34
I would like to change a cell color based on two variables

If date (in cell G3) is < than todays data and the value (in E3) does not equal 'complete' than the formating for row 3 is red.

Thanks for all the great help!!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Select the cells you want to format and use

Formula is | =AND($G3< TODAY(),$E3<>"complete")
 
Upvote 0
Cannot get it to work. Is a variable missing from your formula

If G3 <( Today) and E3<>'Complete' then formating red

Thanks
 
Upvote 0
Oh, shoot. I didn't check it after I posted, and the board ate the stuff after the < symbol. I always forget about that :rolleyes:

Should be:

Formula is | =AND($G3< TODAY(),$E3<>"complete")

(without the space before TODAY--had to add that so it would show up)

I fixed it in my above post, as well.
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
Latest member
RandomExceller01

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