Vary Color based on value

J

Jennifer

Is there a way in a bar chart to have a bar be a specific color if less than,
lets say "5" ? Instead of manually changing each bar that is less than a
specific number.
 
S

ShaneDevenshire

Hi,

Create two additonal columns of formulas, suppose your original data is in
B2:B12, then in C2 enter the formula =IF(B2<=5,B2,0)
in cell D2 enter the formula =IF(B2>5,B2,0)
Copy these formulas down.
Plot these ranges instead of your original range. Format one series one
color the other another.


If this helps, please click the Yes button.
 
A

anita

I tried this for a scatter plot with 3 series, but I don't want the value 0
plotted. How can make sure that if the cell has a value of 0 it does not get
plotted? I'm using excel 2000.

thanks,
anita
 

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