Formula to find identical rows and display string elsewhere

MossyPants

New Member
Joined
May 21, 2022
Messages
23
Office Version
  1. 365
Platform
  1. Windows
I am looking for a way to find identical rows across three columns.
My worksheet looks similar to this:
1654929210475.png

I would like to find matching rows (A&B&C), and if there is a duplicate, I would like the word "Duplicate" to appear in that row in column D.
I hesitate to put any conditional formatting in columns A-C because they will be frequently copied&pasted into and out of, and I don't want to worry about messing up the formatting.
I'd like a formula for column D that would essentially remain invisible except to display the word "Duplicate" if necessary.
Ideal output:
1654929396739.png


I feel like COUNTIF might be what I need, but I can't quite figure out how to use it to do what I want.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
You are likely to get much faster help if you give sample data and expected results in a form that helpers can copy yo test with. (XL2BB)

Try this in D2, copied down.
Excel Formula:
=IF(COUNTIFS(A$2:A2,A2,B$2:B2,B2,C$2:C2,C2)>1,"Duplicate","")
 
Upvote 0
Solution
You're welcome. Thanks for the follow-up. :)

(Don't forget XL2BB next time ;))
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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