Forum Discussion

Fiona525's avatar
Fiona525
Copper Contributor
Dec 02, 2021

Finding duplicate values in 2 different columns ignoring duplicate values in the same column

Hello,

 

finding duplicate values is no problem but when comparing column A and column B and column B has multiple duplicate values of it's own it will count these as well as duplicates. How do I only compare column A and column B on duplicate values and ignoring duplicate values which are only found in the same column(B)?

 

So in the example we're looking for A,B,D,H and K in column B but the duplicates of per example value C in column B must be ignored.

 

Using the duplicate function will also highlight the duplicate values in column B which are not in column A.

 

Thanks

13 Replies

    • Fiona525's avatar
      Fiona525
      Copper Contributor

      OliverScheurich

       

      Thanks for your reaction, this could work: ideally I'm looking for a formula that deletes the complete rows of the values that are not containing duplicate values (see attachment)

      • OliverScheurich's avatar
        OliverScheurich
        Gold Contributor

        Fiona525 

        With the suggested formula you can sort columns B and C by column C. The result is as shown in attached file. Then you can delete rows with result false in column C. After this the remaining data is the same as shown in columns F and G.

Resources