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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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,214,915
Messages
6,122,212
Members
449,074
Latest member
cancansova

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