How do I format a cell based on conditions in five different cells

D

dallasfinance

I want the change the color in a cell that sums five different cells, but the
color (five different colors) will be based on the conditions in each of the
five cells. I have tried conditional formatting/new rule/using formulas to
create format. However, I can't seem to get an if statement to work in the
formula?
 
S

Sheeloo

Suppose you want to format A1 based on B1 (and/or C1) then use a formula like
=B1=15
or
=B1>10
or
=AND (B1>10,B1<21)
or
=AND (B1>10,C1>20)

You get the idea.

Upto Excel 2003 you can have at most three set of conditions... You can have
3 conditions plus one when none of those three are true.
You can have three more based on cell formatting but those have limitations.
 

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