Simple (?) charting question

Copernicus

New Member
Joined
Jun 12, 2009
Messages
26
Brain dead this morning!

I want to create a chart that is a series of horizontal bars. The axis label is years. Each bar changes color from Green to Yellow to Red in a specified year based on data in a table. I tried a table with years across the top and data values of 1, 2, 3 in rows, with data for each scenario in rows. I also tried transposing to columns. I cant find a bar chart format that works for either table.

Thanks!
 
Perhaps

So we got to the bit where we plotted the sum of numbers 1, 2 & 3. We also need to plot in cells before them the value of 2016. So the top row you plot values 2016, 6, 3 & 14. The chart type is a stacked bar chart and at first the data most likely won't start where you want. Right click the axis and select Format Axis | Minimum -> Fixed -> 2016 | Maximum -> Fixed -> 2038 | Major Units -> Fixed -> 1. You can tinker about with the size of the font and the angle etc to suit your needs. Then you can set the desired bar colour to your green, yellow & red format instead of the default colours I've used.

Let me know how you get on, I'm watching a decent film on television so will be around for a good while yet if you need further help ;)

Dave
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Im not sure how to plot the 2016 as a value. When I add the horizontal axis and the default values are entered, it is okay. When I change the min/max the bars disappear.

2u3ywdy.png
 
Upvote 0
Here I plotted the 2016 an additional range and set the min/max. The bars go crazy lol.

2lj5pup.png
 
Last edited:
Upvote 0
Success! though I dont know why. I switched columns in the data range menu, then switched them back, and voila!

Thanks for all your help, and enjoy the movie!
 
Upvote 0

Forum statistics

Threads
1,216,216
Messages
6,129,566
Members
449,517
Latest member
Lsmich

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