Finding the number of duplicate points in the plane

francorbusetti

New Member
Joined
Dec 14, 2005
Messages
13
I have 2 columns representing points P in the x-y plane, e.g.

Pn xn yn
P1 2 3
P2 1 2
P3 9 6
P4 2 5
P5 1 2
P6 2 5

How can I find the number of duplicate points (e.g. 2 here)?
Needs to be via formula, not manually or code.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Possibly:


Book1
ABCDE
1Pnxnyn# of Duplicates
2P1232
3P212
4P396
5P425
6P512
7P625
Sheet8
Cell Formulas
RangeFormula
E2=SUMPRODUCT(IFERROR(EXP(LN(FREQUENCY(MATCH(B2:B7&"|"&C2:C7,B2:B7&"|"&C2:C7,0),ROW(B2:B7)-ROW(B2)+1)-1)),0))
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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