Find Duplicate values with corresponding values.

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,841
Office Version
  1. 365
Platform
  1. Windows
Hi all,
I am looking for a formula. I have values in column A and corresponding values in column B, I want to find out if the duplicate exists with the two cells. For example, if I have.
62017000
8015064
52017000
8192746
62017000
8192746
52017000
8192747
62017000
8192747
32017000
8214224
32017000
8214224
62017000
8214225
32017000
8214226

<tbody>
</tbody>

The underlined (italic) values are duplicate.

Thanks
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Try something like this

Formula in C1 copied down
=IF(COUNTIFS(A:A,A1,B:B,B1)>1,"Duplicate","")

Hope this helps

M.
 
Upvote 0
Thank you Marcelo,
I was using,
=IF(SUMPRODUCT($A$6:A6=A6)*($B$6:B6=B6)>1,"Duplicate","okay")
That did not work.

Cheers.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,306
Members
449,079
Latest member
juggernaut24

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