How to make a legend out of a column in a scatter chart?

RickArnold

New Member
Joined
Mar 11, 2015
Messages
2
I have some data that I would like to plot on a scatter chart. Below is a basic example of the data I am using. I would like to have the Group as the legend, Days from Start as my X-axis, and Distance as my Y-axis. I know that I can add each group separately and select the appropriate zones as my input from the Select Data Source, but I have several thousand rows of data. Does anyone know how I can do this more easily? I am hoping not to create a VBA script.

Group
Days from Start
Distance
A
A
1
1
A
2
2
A
3
3
B
B
1.1
2.5
B
2.3
5
B
2.9
6.5
C
.9
2.6
C
1.6
4.5
C
2.5
2.3

<tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,216,030
Messages
6,128,407
Members
449,448
Latest member
Andrew Slatter

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