View Single Post
  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Select the entire row.

FormatConditional FormattingCondition 1Formula is:

=$C4="dog" format to blue pattern

AddCondition 2Formula is:

=$C4="cat" format to green

AddCondition 3...you get drift.

Note: only 3 conditions permitted. 4 if you count the default color.

If more needed, you can use worksheet event code.

Post back for example if desired.


Gord Dibben Excel MVP



On Tue, 8 Mar 2005 11:49:07 -0800, "sea0221"
wrote:

How do I format a cell with varibles to hightlight a row if a cell in that
specific row is a specific number or word?

Example:
If cell C4 is dog, then hightlight the row blue, if the cell C4 is cat, then
hightlight the row green, if cell C4 is bird, then hightlight the row yellow.

Hope this is clear.