Conditional Formatting with 4 or more conditions

P

Philipp Ehrenstein

I have different conditions in a cell.
If the cell value is either "awarded", "launched" or "high" the cell should
have green pattern.
If the cell value is "medium" the pattern should be yellow.
And for "low" it should be "red.
 
D

Dave F

This is really three conditions:

Condition 1: Cell value = "medium" then yellow
Condition 2: Cell value = "low" then red
Condition 3: Cell value = not medium or not low, then green.

Dave
 
J

JE McGimpsey

One way:

CF1: Cell Value Is equal to "low"
Format1: <patterns>/<red>

CF2: Cell Value Is equal to "medium"
Format2: <patterns>/<yellow>

CF3: Formula Is =FIND("%"&LOWER(A1)&"%","%awarded%launched%high%")
Format3: <patterns>/<green>
 
J

JE McGimpsey

However, there's an implicit 4th condition: blank or other than the
listed items.

You may be exactly right, depending on the user's situation (there's not
enough info in the OP to tell): If "awarded","launched","high","medium"
and "low" are the only allowed values in the cell, then your statement
is perfectly correct.

OTOH, if the user can enter anything else, the green color from your
list will imply incorrect information.
 
D

Dave F

Fair point.

I assumed that the four values given were the ONLY possible values to be
entered in the cells to which the conditional formatting was to be applied.

Dave
 
D

driller

assuming your current cell format pattern is gray

as per order of your preference

format >Conditional formatting

1. formula is : [type] =OR($C$11="AWARDED",$C$11="HIGH",$C$11="LAUNCHED")
choose format > pattern>green>click add
2. cell value is :[type] MEDIUM
choose format > pattern>yellow>click add
2. cell value is :[type] LOW
choose format > pattern>red

happy holiday
 

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