ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Vary bar colors by bar (https://www.excelbanter.com/charts-charting-excel/81292-vary-bar-colors-bar.html)

Tim

Vary bar colors by bar
 
I would like to vary the colors on a bar chart by bar.
The chart plots 7 points agains a standard.
The standard has the value of 100.
The points change based on information received weekly.
This will cause the bars to, sometimes, be above the standard and,
sometimes, below the standard.
How can I force the bars to change colors with every update so that when the
bar goes over the chart it will be green but when it falls below the chart it
will be red?

Tim

Andy Pope

Vary bar colors by bar
 
Hi,

Have a look at Jon's example of conditional charting.
http://peltiertech.com/Excel/Charts/...nalChart1.html

Cheers
Andy

Tim wrote:
I would like to vary the colors on a bar chart by bar.
The chart plots 7 points agains a standard.
The standard has the value of 100.
The points change based on information received weekly.
This will cause the bars to, sometimes, be above the standard and,
sometimes, below the standard.
How can I force the bars to change colors with every update so that when the
bar goes over the chart it will be green but when it falls below the chart it
will be red?

Tim


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info


All times are GMT +1. The time now is 06:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com