Format bar chart colour according text

andrefraga

New Member
Joined
Feb 18, 2016
Messages
17
I have the following set of data:

[TABLE="width: 297"]
<tbody>[TR]
[TD]NAME[/TD]
[TD]TYPE[/TD]
[TD]VALUE[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]GA[/TD]
[TD="align: right"]-0,8[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]GI[/TD]
[TD="align: right"]0,5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]PO[/TD]
[TD="align: right"]0,5[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]GI[/TD]
[TD="align: right"]-0,8[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]PO[/TD]
[TD="align: right"]-0,41[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I'll create a bar chart with the data in collumns NAME and VALUE. It's a simple bar chart.
But I would like to colour the bars of my chart according to the TYPE collum, for example, GA = Red, GI = Blue and PO = Green.
Could anyone help me?
Thanks!
 
Last edited:

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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