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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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