Conditonal Format Problem

D

Dave

I have a set of data:

A B
Car1 12
Car2 19
Car1 11
Car3 31
Car1 9
Car2 22

I need column B to flash up RED if Car1 is 10 or less, Car2 is 20 or
less and if Car3 is 30 or less. I have no idea where to even start on
the formulas.

If anyone can help it would be great.
 
G

Guest

Select column B. Use Format/Conditional Formatting. Change "Cell Value is" to
"Formula Is". Enter this formula (assumes B1 is the active cell):
=OR(AND(A1="Car1",B1<=10),AND(A1="Car2",B1<=20),AND(A1="Car3",B1<=30))
then click the Format button, Patterns tab, select Red.
(Untested).
Bob Umlas
Excel MVP
 
D

David Biddulph

Select column B, Format/ Conditional Formatting/ Formula is:
=OR(AND(A1="Car1",B1<=10),AND(A1="Car2",B1<=20),AND(A1="Car3",B1<=30))
Set your format to your preferences.
 
D

Dave

Works great, thanks both of you for your help

Select column B, Format/ Conditional Formatting/ Formula is:
=OR(AND(A1="Car1",B1<=10),AND(A1="Car2",B1<=20),AND(A1="Car3",B1<=30))
Set your format to your preferences.
 

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