How to trace dispersion chart with multiple series?

marlonsaveri

Board Regular
Joined
Jan 28, 2011
Messages
68
Hello, my question is this:

Suppose I have multiple rows; in the first column, the name of the series; in the second, a value X and, it the third, a value Y.

example:
Name____X_______Y
John____10_______20
John____11_______25
Alex_____09______14
John____12_______21
Alex_____11_______19
etc

I would like to draw graphics of dispersion and then draw trend lines. So, it should have one line for each name (John, Alex,...); on the x axis, the values X and, on the y axis, the values Y.


However, I am not able to do that; excel is not associating one John with other, but creating new series.


I need to do this using VBA (because the tables is made by VBA). Maybe, if I discover how to do it "manually", I might be able to do in VBA.


To make matters worse; actually It doesn't have a single value of Y, but a Ymax and Ymin. Hence, I need to do this kind of graphic, but using as parameter the two values ​​of Y.

Thanks very much
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,214,875
Messages
6,122,047
Members
449,064
Latest member
scottdog129

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