Question about scatter plot chart

alderran

New Member
Joined
Dec 12, 2009
Messages
1
I need to create a scatter plot chart. The x axis will be years in rank and the y axis base salary. There should be a plot for each person, but here is the wrinkle I would also like to include gender. What I am imagining is a point for each person with males being a triangle and females being a circle. Is this possible? I would like this chart to show that differences in salaries by gender can be explained by time in rank. I guess it could be a line chart, but I haven't been able to get either to do what I need.

Any help would be appreciated
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi, welcome to the board.

This is certainly possible, but you may need to re-arrange the way your source data is laid out.

Here's some made up data that I used, in the range A1:D4.

Male Salary</SPAN>
Male rank</SPAN>
Female Salary</SPAN>
Female rank</SPAN>
20000</SPAN>
3</SPAN>
20500</SPAN>
2</SPAN>
21000</SPAN>
5</SPAN>
19000</SPAN>
4</SPAN>
23000</SPAN>
9</SPAN>
25000</SPAN>
12</SPAN>

<TBODY>
</TBODY>

First, add a chart data series that takes B2:B4 for its X values, and A2:A4 for its Y values.

Then, add a second chart data series that takes D2:D4 for its X values, and C2:C4 for its Y values.

In principle, you could go on adding multiple series if you like.

I appreciate your source data may not be laid out as above.
I'm guessing you may have a single list of people, with males mixed up with females.
But in that case, you can create columns to split out the males and females, as long as you have a column that indicates who is which, and then use those newly created columns as your chart data.

Edit to add - by the way, I'm not sure this will actually show that differences in salary are explained by differences in rank. Whether or not that is the case will depend on your data, and may also depend on your own ability to persuade your audience that that is the case :biggrin:
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

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