Creating bar chart with gradient color based on second column value

mkdc

New Member
Joined
Jul 1, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hi,

So say I have a pivot table with the following columns:

Division Name, Count of Projects, Dollar Amount

I need to create a bar chart where the bar length is the count of projects and the color of the bar is the continuous gradient color for the dollar amount of all the projects.

It's easy to do this in other BI tools, but I searched online and can't find an easy way to do it in Excel. If I highlight all three columns in the pivot table and create a chart it creates a bar chart with the dollar amount on the X axis. I'm having two issues:

1) I can't get the count of projects on the X axis.
2) I can't remove Dollar Amount from the legend and add it as a color on the bars.

Can anyone please help? Please see attached image.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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