Scatter Plot X,Y Coordinate Number of Occurrences

spochedly

New Member
Joined
Aug 20, 2018
Messages
4
I am looking to build a scatter plot to illustrate how many times an X,Y coordinate appears. So, if I have 15 occurrences of 2,3 then I would like to see 15 points at 2,3 on my chart. If I have 3 occurrences of 2,1 XY corrdinate, I want to see 3 points right there.

I need this to be a scatter plot to best illustrate the distribution of data.

Please/thanks in advance!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
How will I know that there are 15 points at 2,3?

Maybe instead of stacking a lot of points on top of each other, where you can't see them, you might make a marker proportional to the number of times the X,Y coordinates appear. That would be a bubble chart.

So we need to count the occurrence of XY pairs. In my sample here, I have X in B3:B28 and Y in C3:C28. I have listed the possible combinations of X and Y in E3:F18. In G3 (filled down to G18) I have the formula

=COUNTIFS($B$3:$B$28,E3,$C$3:$C$28,F3)

So I have a count for each combination of X and Y.

And I made a bubble chart from this data.

lzyjyWs.png
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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