Cell D4 contains a 4, and cell E4 contains a 3. How do I set up conditional formatting for D4:E4 to be red if D4 is greater than E4 =IF(D4>=E4) I get a weird error message saying I can't have a formula. What am I doing wrong?
Cell D4 contains a 4, and cell E4 contains a 3. How do I set up conditional formatting for D4:E4 to be red if D4 is greater than E4 =IF(D4>=E4) I get a weird error message saying I can't have a formula. What am I doing wrong?
You don't need IF:
=D4>=E4
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
DOH! Thank you!
What if I need to compare two pairs? D4 is greater than E4, and G4 is greater than H4. If both are true to do the conditional formatting.
I tried this, but it didn't work.
Please Login or Register to view this content.
Greater than is not greater than or equal to!
=AND(D4>E4,G4>H4)
If it doesn't work, then maybe some of your 'values' are actually just text.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks