Detect and list duplicates

Briuum

New Member
Joined
Jul 12, 2023
Messages
5
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Good day to all,

I have a sheet as listed below. I am searching for a formula that finds duplicates and lists them in P13:P16. The values should be checked for duplicates between B3:K11 and M3:S10. If there would be more duplicates it only lists the top 4 duplicates alphabeticly.

1689138946060.png



I have found a formula that works in one colomn as listed below. But in cant get it to work on the above sheet.

1689138863324.png


A lot of thanks in advance for helping out.
 

Attachments

  • 1689138432171.png
    1689138432171.png
    26.8 KB · Views: 10

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Welcome to the MrExcel board!

I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

If you put this formula in P13 does it do what you want?
Excel Formula:
=LET(L,TOCOL(M3:S10),TAKE(SORT(FILTER(L,ISNUMBER(MATCH(L,TOCOL(B3:K11),0)),"")),4))
 
Upvote 0
Thank you for the quick reply. I will look into the XL2BB.

The formula you suggested contanies ... ,TAKE(

Is this correct. I can't find this formula in excel.
 
Upvote 0
My bad, I found the translation to dutch. Thanks you for the help.
 
Upvote 0
What would the formula be if i was looking for only unique(non dupelicates) names in these cells?
 
Upvote 0
What would the formula be if i was looking for only unique(non dupelicates) names in these cells?
That is not clear to me. Do you mean ..
  1. Items that are in M3:S10 that are not in B3:K11?
  2. Items that are in B3:K11 that are not in M3:S10?
  3. Items that are in B3:K11 or M3:S10 but only appear once in total?
  4. Something else?
Perhaps a small set of representative sample data and the expected results with an explanation in relation to that sample data might help clarify. Refer to me previous comment regarding sample data:
I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.
 
Upvote 0
I can't get XL2BB to work on excel online... Think I'm doing something wrong...

I would like to make a list of unique names in Q13:Q16. Comparing B3:K11 with M3:S10, --> Items that are in M3:S10 that are not in B3:K11
I can't find a way to make this work :s

Thank you all in advance for the help.
1689268651015.png
 
Upvote 0
I can't get XL2BB to work on excel online...
It doesn't work with Excel online but your profile says you have 365, 2021 and 2019? :confused:

Try
Excel Formula:
=LET(L,TOCOL(M3:S10),TAKE(SORT(FILTER(L,ISNA(MATCH(L,TOCOL(B3:K11),0))*(L<>""),"")),4))
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

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