Chart inputs and design

dado6612

Well-known Member
Joined
Dec 4, 2009
Messages
591
Hello all,
Have a table which looks like this:
in A1 is a value of 3000
in A2 is a value of 100
[TABLE="width: 206"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]X[/TD]
[TD]Y[/TD]
[TD]Side[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]55[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]55[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]115[/TD]
[TD]55[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]115[/TD]
[TD]55[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]205[/TD]
[TD]55[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]205[/TD]
[TD]55[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2233[/TD]
[TD]75[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]2233[/TD]
[TD]75[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2302[/TD]
[TD]45[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]2302[/TD]
[TD]45[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2950[/TD]
[TD]50[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]2950[/TD]
[TD]50[/TD]
[TD]Y[/TD]
[/TR]
</tbody>[/TABLE]

How to make 2 charts where:
in first left column are values for X axis, with A1 as highest value
in middle column are values for Y axis, with A2 as highest value
in first chart only show values of Y from right column
in second chart values of Z from right column

Table size may vary for each use, so a macro if possible will do, also sadly none of data can be sorted differently.

If nothing like this is possible with the current arrangement, I'm open to suggestions.

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
You may add 4 more columns for 2 charts
1. Yx with formula =IF(Side = "Y", X, NA())
2. Yy with formula =IF(Side = "Y", Y, NA())
3. Zx with formula =IF(Side = "Z", X, NA())
4. Zy with formula =IF(Side = "Z", Y, NA())

then create the first chart from Yx and Yy, create the second chart from Zx and Zy.
 
Upvote 0

Forum statistics

Threads
1,223,707
Messages
6,174,000
Members
452,542
Latest member
Bricklin

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