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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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,224,943
Messages
6,181,919
Members
453,071
Latest member
Gizmo2024

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