IF value in Y cell = X color Z cell

N

Neall

I have 2 different products with 2 different licensing methods
in my final tally sheet I want an statement to help me do this

If part number in C3 = Y,X,Z and quantity in Cell C2 is > 400 turn Cell C2
RED, If part number in C3 = A,B,C and quantity in Cell C2 is >224 turn Cell
C2 Red

Can anyone help me with that syntax?

Thanks in advance
 
B

Bernard Liengme

I will assume that "If part number in C3 = Y,X,Z" means "If C3 is any one of
X, Y or Z"
You need to select the C2 cell and use Format | Conditional Formatting
You could use two conditions. The first would use the formula
=AND(OR(C3="Y",C3="X",C3="Z"),C2>400)
The second
=AND(OR(C3="A",C3="B",C3="C"),C2>224)
Since you want the same colour in either case you could combine the formulas
but I do not recommend it.
=OR(AND(OR(C3="Y",C3="X",C3="Z"),C2>400),
AND(OR(C3="A",C3="B",C3="C"),C2>224))
best wishes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top