How to find set of duplicates from a column?

Status
Not open for further replies.

shekhor

New Member
Joined
May 15, 2015
Messages
7
Hello Experts,

I am working with 4 columns where I am in need of a formula where it will check if the director or directors of one company is exactly exist with the same name along with the same number of directors with the company just next to the first one. Let me explain it with a few example. Please check the below table where for the both company "KINLOCH TEXTILES LIMITED" and "KINTEX MFG LIMITED" have one director each and its the same person as they consist the same name. But still I dont want it as "KINTEX MFG LIMITED" is just not right after the company "KINLOCH TEXTILES LIMITED". After "KINLOCH TEXTILES LIMITED" there are 3 more companies ( "KINS DEVELOPMENTS LIMITED", "KINS HOLDINGS LIMITED", "KINSMAN REEDS LIMITED") before "KINTEX MFG LIMITED".

But if you check the both companies "KINS DEVELOPMENTS LIMITED", "KINS HOLDINGS LIMITED" they consist the same number of directors and also all the directors are the same. More that that the company "KINS HOLDINGS LIMITED" is just after the company "KINS DEVELOPMENTS LIMITED". And this is what I am looking for.

So what I need is a separate column where it will say just beside those company as its duplicate directors. As I am looking for real time result it will be helpful if someone create formulas for it. But if anyone can't create formulas rather creating macros which will work real time by auto running along with the spreadsheet itself than it will also work. But the formula will save my huge time. So it will be great if you guys can help me out solving it with some formulas. Thank you in advance.

ABCD
RegCompanyDirectorAddress
KING TOOL INTERNATIONAL LIMITEDDEREK JOHN O'NEILLBICTON, SLEEPERS HILL, WINCHESTER, HANTS, SO22 4NB
KING TOOL INTERNATIONAL LIMITEDIAN KEITH PARGETER19, LOWER SWANWICK ROAD, SOUTHAMPTON, SWANWICK, SO31 7HG
KING TOOL INTERNATIONAL LIMITEDMARINA LOUISE THOMAS120, GARLAND ROAD, POOLE, DORSET, BH15 2LD
KINIKI LIMITEDJOHN WILLIAM WALKER20, PARK DRIVE, STOKE ON TRENT, TRENTHAM, ST4 8AB
SC032574 KINLOCHBERVIE FISHSELLING COMPANY LIMITEDIAN CLARK WOOD42, RUBISLAW DEN SOUTH, ABERDEEN, AB15 4BB
SC032574 KINLOCHBERVIE FISHSELLING COMPANY LIMITEDGRAHAM GOOD218, QUEENS ROAD, ABERDEEN, AB15 8DJ
SC032574 KINLOCHBERVIE FISHSELLING COMPANY LIMITEDWILLIAM MCKENZIE10, MARKET TERRACE, FRASERBURGH, STRICHEN, ABERDEENSHIRE, AB43 6TS
KINLOCH TEXTILES LIMITEDTHE LAWN 16, CHAPEL HILL HOPTON, MIRFIELD, WEST YORKSHIRE, WF14 8EW
KINS DEVELOPMENTS LIMITED75, MINSTER ROAD, GODALMING, BUSBRIDGE, SURREY, GU7 1SR
KINS DEVELOPMENTS LIMITEDDIOCESAN CHURCH HOUSE, NORTH HINKSEY LANE, OXFORD, BOTLEY, OX2 0NB
KINS DEVELOPMENTS LIMITEDWOODCOTE GROVE, ASHLEY ROAD, EPSOM, SURREY, KT18 5BW
KINS HOLDINGS LIMITED75, MINSTER ROAD, GODALMING, BUSBRIDGE, SURREY, GU7 1SR
KINS HOLDINGS LIMITEDDIOCESAN CHURCH HOUSE, NORTH HINKSEY LANE, OXFORD, BOTLEY, OX2 0NB
KINS HOLDINGS LIMITEDWOODCOTE GROVE, ASHLEY ROAD, EPSOM, SURREY, KT18 5BW
KINSMAN REEDS LIMITEDHENRY KENNEDY FAURE WALKERSANDON BURY, BUNTINGFORD, SANDON, HERTS, SG9 0QY
KINSMAN REEDS LIMITEDPAUL ANTHONY HUNTER58, CHURCH STREET, WEYBRIDGE, SURREY, KT13 8DP
KINTEX MFG LIMITEDTHE LAWN 16, CHAPEL HILL HOPTON, MIRFIELD, WEST YORKSHIRE, WF14 8EW
KINVEL DEVELOPMENTS LIMITEDBALWANT SINGH RAI84, BLACKWATCH ROAD, COVENTRY, CV6 3GW
KINVEL DEVELOPMENTS LIMITEDMONAHAR SINGH RAICOLINTON HOUSE, LEICESTER ROAD, BEDWORTH, WARWICKSHIRE, CV12 8AB
KINVEL DEVELOPMENTS LIMITEDMOHAN SINGH64, KENILWORTH ROAD, COVENTRY, CV4 7AH
KINVEL DEVELOPMENTS LIMITEDKULDIP AOJULAOLDBURY GRANGE, OLDBURY ROAD, NUNEATON, WARWICKSHIRE, CV10 0TJ
KIRBY'S OF HACKNEY LIMITEDMICHAEL ROBERT GOLDBERGER26, ASHLEY LANE, LONDON NW4, HENDON, NW4 1HG
KIRBY'S OF HACKNEY LIMITEDDAVID ALAN PEARLMAN31, LOWER BROOK STREET, IPSWICH, IP4 1AQ

<tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]01118702[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]01118702[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]01118702[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]02739873[/TD]

[TD="align: center"]6[/TD]

[TD="align: center"]7[/TD]

[TD="align: center"]8[/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]01370299[/TD]

[TD="bgcolor: #FFFF00"]JAMES PHILIP SUTCLIFFE WALKER[/TD]

[TD="align: center"]10[/TD]
[TD="align: right"]00688414[/TD]

[TD="bgcolor: #FFFF00"]RICHARD WEBSTER[/TD]

[TD="align: center"]11[/TD]
[TD="align: right"]00688414[/TD]

[TD="bgcolor: #FFFF00"]HEATH STEWART DREWETT[/TD]

[TD="align: center"]12[/TD]
[TD="align: right"]00688414[/TD]

[TD="bgcolor: #FFFF00"]ALAN JAMES CULLENS[/TD]

[TD="align: center"]13[/TD]
[TD="align: right"]00688415[/TD]

[TD="bgcolor: #FFFF00"]RICHARD WEBSTER[/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]00688415[/TD]

[TD="bgcolor: #FFFF00"]HEATH STEWART DREWETT[/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]00688415[/TD]

[TD="bgcolor: #FFFF00"]ALAN JAMES CULLENS[/TD]

[TD="align: center"]16[/TD]
[TD="align: right"]02240075[/TD]

[TD="align: center"]17[/TD]
[TD="align: right"]02240075[/TD]

[TD="align: center"]18[/TD]
[TD="align: right"]00536498[/TD]

[TD="bgcolor: #FFFF00"]JAMES PHILIP SUTCLIFFE WALKER[/TD]

[TD="align: center"]19[/TD]
[TD="align: right"]01558087[/TD]

[TD="align: center"]20[/TD]
[TD="align: right"]01558087[/TD]

[TD="align: center"]21[/TD]
[TD="align: right"]01558087[/TD]

[TD="align: center"]22[/TD]
[TD="align: right"]01558087[/TD]

[TD="align: center"]23[/TD]
[TD="align: right"]00564454[/TD]

[TD="align: center"]24[/TD]
[TD="align: right"]00564454[/TD]

</tbody>
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Status
Not open for further replies.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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