color control in price-volume chart

macrofan

New Member
Joined
May 29, 2011
Messages
15
I have created a stock price-volume chart, in which the volume section is a bar chart. The color of the volume bar will be either green or red depending on the price change relative to the previous close price. I will appreciaate very much if anybody can show me how to control the color of each individual bar based on the corresponding price changes.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Yes you can do this.

Basically you create a dummy columns of chart data where you set your condition. One for Red and one for Green

For red column, If condition = Red then = data if not, then = NA()

likewise for green.

Chart the new dummy columns not the original data. In the chart, find the Green series and change its color. Then the same for the red series.

This link will help!

http://peltiertech.com/Excel/Charts/ConditionalChart1.html
 
Upvote 0
Yes you can do this.

Basically you create a dummy columns of chart data where you set your condition. One for Red and one for Green

For red column, If condition = Red then = data if not, then = NA()

likewise for green.

Chart the new dummy columns not the original data. In the chart, find the Green series and change its color. Then the same for the red series.

This link will help!

http://peltiertech.com/Excel/Charts/ConditionalChart1.html

Thank you so much for the tips and info! I will try it.
You have a great day!
 
Upvote 0

Forum statistics

Threads
1,224,594
Messages
6,179,792
Members
452,942
Latest member
VijayNewtoExcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top