View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Conditional formatting using nested "Or(and ..."

There's nothing wrong with the syntax of your formula.

--
Biff
Microsoft Excel MVP


"Gary" wrote in message
...
I'm using nested conditions as follows:
=OR(AND(F7="Y",K7=""),AND(H7="Y",K7=""),AND(AS7="Y es",AF7="",K7<"X",K7<"*"),AND(I7="$",AF7="")),
where if the conditions (AND(F7="Y",K7="") are true cell turns red, or if
the second conditions are true AND(H7="Y",K7="") the cell turns red, etc.
ie,
I want each "AND" condition to be evaluated separately, so if any of the
AND
conditions are true the cell will turn red. I must have my ( ) in the
wrong
combinations because the formula does not produce my expected results.