How to create a stock column chart with error bars?? (Both gender together)

Status
Not open for further replies.

Orongo

Board Regular
Joined
Nov 6, 2011
Messages
83
Hi

I have a series of data and want to create a chart looking like this
http://www.google.co.uk/imgres?um=1...dsp=24&ved=1t:429,r:17,s:0,i:136&tx=111&ty=62


where it shows min/max on the error bars, quartile 1/3 on the box and median as a scatter plot. My data is a simple table

[TABLE="width: 640"]
<tbody>[TR]
[TD]Group[/TD]
[TD]Amount F[/TD]
[TD]Amount M[/TD]
[TD]Median F[/TD]
[TD]Median M[/TD]
[TD]Median F+M[/TD]
[TD]Min F[/TD]
[TD]Max M[/TD]
[TD]Min M[/TD]
[TD]Max M[/TD]
[/TR]
[TR]
[TD]Alpha[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]37500[/TD]
[TD="align: right"]27500[/TD]
[TD="align: right"]65000[/TD]
[TD="align: right"]20000[/TD]
[TD="align: right"]55000[/TD]
[TD="align: right"]25000[/TD]
[TD="align: right"]30000[/TD]
[/TR]
[TR]
[TD]Beta[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]37500[/TD]
[TD="align: right"]20000[/TD]
[TD="align: right"]57500[/TD]
[TD="align: right"]30000[/TD]
[TD="align: right"]45000[/TD]
[TD="align: right"]20000[/TD]
[TD="align: right"]20000[/TD]
[/TR]
[TR]
[TD]Gamma[/TD]
[TD="align: right"]2[/TD]
[TD]0
[/TD]
[TD="align: right"]85000
[/TD]
[TD]0[/TD]
[TD="align: right"]85000[/TD]
[TD="align: right"]70000[/TD]
[TD="align: right"]100000[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Delta[/TD]
[TD="align: right"]2[/TD]
[TD]0[/TD]
[TD="align: right"]55000[/TD]
[TD]0[/TD]
[TD="align: right"]55000[/TD]
[TD="align: right"]50000[/TD]
[TD="align: right"]60000[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]


Here F = Female, M=Male and the chart should show all calculation for both gender together (I have another thread up where the gender are separated with the Title (How to create a stock column chart with error bars?? (Both gender separated))

Please help me with a (pseudo) code, I have never used VBA for creating chart, and this is my first
 
Last edited:

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Status
Not open for further replies.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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