Help with graph

hadphild

New Member
Joined
Feb 25, 2016
Messages
2
Hi,

I have a issue with some creating a Scatter Graph. This is test data but I have over 300 entries I need to plot.

Can some help with the code I need to write to dynamically create the graphs.

Car Manufactor
Car Type
Car Reg
Hours
Distance Left
BMW
3
1
0
500
3
1
5
300
3
1
10
89
1
2
3
300
1
2
6
200
1
2
9
50
Ford
TT
3
2
432
TT
3
5
200
TT
4
6
200

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

hadphild

New Member
Joined
Feb 25, 2016
Messages
2
I want the Series name to be Car Reg X axis to be hours and Y to distance.

It should create a different graph for each car type.

I know there is a way of creating the VBA code but i am lost at the moment.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,464
Messages
5,596,288
Members
414,052
Latest member
Dual Showman

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
Top