Column chart - adjustable width of every column?

sdkdgg

New Member
Joined
Oct 29, 2011
Messages
3
Hi guys,

I made a normal 100% stacked column based on the following data. Simply select all the cells in the following table, and click 100% stacked column in Excel 2010. Because the A/B/C/D columns they have different weight when it comes to importance. Therefore, I am thinking to make the four stacked columns to have different "column width". Let's say, A-1, B-1.5, C-4, D-3, so A column has the default width as assigned by Excel, B will have 1.5 times of the A's width, and so on for C and D column.

Has any one figured out how to change/customize width of a single column of a stacked column chart?

I am also planning to use VBA to make many 100% stacked column charts in a batch mode. So if anyone can give tips how to customize width of different columns by VBA, that would be great. Cheers.

Appreciate any tips! Thank you a lot.

ABCD
S10.10.20.40.1
S2.2.1.15.6
S3.3.5.25.1
S4.4.2.2.2

<tbody>
</tbody>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Thanks VoG,

I had the same problem and found a way to do it with the error bars but it was quite clumsy compared to the solution on the link you gave.

And sdkdgg, have you had any success with your code? Can you share it?

Best wishes,
Priit
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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