Conditional Formating Help . .

Evagrius Ponticus

Well-known Member
Joined
May 24, 2007
Messages
1,467
Hi, I have three conditions and I was wondering if a fourth was possible.

1.
Code:
=AND(ISNUMBER(VALUE(LEFT(X16,1))),$AW16="Sales")

2.
Code:
=AND(X16="X",$AW16="Sales")

3.
Code:
=X16="-"

The fourth one that I need would change the font to white if $E$7 or $E$8 were blank. I tried to add that as an OR in the 3rd condition but no luck. Thanks,
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,358
Office Version
  1. 365
Platform
  1. Windows
The limit, pre 2007 anyway, is actually 3 formats not conditions.

Does the 3rd condition currently do the formatting you want?

If so perhaps a formula like this:

=OR(X16="-", $E$7="", $E$8="")
 
Upvote 0

Evagrius Ponticus

Well-known Member
Joined
May 24, 2007
Messages
1,467
Hi Norie - don't have 2007. I tried your suggestion before I posted but it doesn't work. The third condition does work now - but when I add with the OR it doesn't.
 
Upvote 0

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,358
Office Version
  1. 365
Platform
  1. Windows
Does the formula work correctly in a cell on the worksheet?
 
Upvote 0

Evagrius Ponticus

Well-known Member
Joined
May 24, 2007
Messages
1,467
Hmmm, if I place the formula in a cell, and e7 and e8 are not "", then I get a false. If I delete e7 then I still get a false. If I keep e7 and delete e8, then I get a VALUE! error. E8 is custom formatted though - could that be why?
 
Upvote 0

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,358
Office Version
  1. 365
Platform
  1. Windows
I've just tried the formula with a few scenarios and I wasn't able to generate any error.:eek:

As far as I'm aware custom formatting shouldn't affect it - formatting doesn't actually change the value it does what it says, format.

Any of the cells contain formulas?
 
Upvote 0

Forum statistics

Threads
1,191,204
Messages
5,985,255
Members
439,953
Latest member
suchitha

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