Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 385
Default Vary Color based on value

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.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,344
Default Vary Color based on value

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(B25,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.
--
Thanks,
Shane Devenshire


"Jennifer" wrote:

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.

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 71
Default Vary Color based on value

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

"ShaneDevenshire" wrote:

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(B25,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.
--
Thanks,
Shane Devenshire


"Jennifer" wrote:

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.

  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8,651
Default Vary Color based on value

Replace the zero in the formula by NA()
--
David Biddulph

"anita" wrote in message
...
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

"ShaneDevenshire" wrote:

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(B25,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.
--
Thanks,
Shane Devenshire


"Jennifer" wrote:

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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change tab color based on current color of a cell MarkT Excel Discussion (Misc queries) 0 May 22nd 08 05:46 PM
Can I vary the shade or intensity of the color patterns? lstaud Excel Discussion (Misc queries) 1 November 26th 07 07:47 PM
Can you change the color of one cell based on the color of another andoscott Excel Discussion (Misc queries) 4 May 4th 07 04:02 PM
How can I vary graph color by range value pcover Charts and Charting in Excel 3 June 6th 05 01:14 AM
How to vary color in an area chart between negative or positive d. Gulf Stream Charts and Charting in Excel 3 February 10th 05 05:12 PM


All times are GMT +1. The time now is 01:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"