Recognizing duplicates on concatenate statements

joebell30

New Member
Joined
Feb 15, 2020
Messages
6
Office Version
  1. 2010
Platform
  1. Windows
Hello Experts,

I created an attached sample that I will reference. We create concatenate statements and vlookups to find values from one tab to another tab. The sample created is in the same tab but the result is the same. The problem arises when the original hard copy entries (columns A thru C) create the same concatenate statement (column D) because the values in A thru C are the same. The vlookup (in column L) only finds the first value (in columns M, N and O). The sample shows the same concatenate statement in rows 3 and 5 that are causing the problem.

My question ... can there be a formula that alerts the individual that the manual entries made create the same concatenate statements on column D? Sometimes we have hundreds of rows and visually we cannot always catch the duplicates. Something that appears somewhere on the spreadsheet to show the issue and where the problem may be. Even if an error message appears in the final vlookup results, in this sample M,N and O row 5 showing the results are not correct. I hope I explained that well enough for you to understand. Thank you.
 

Attachments

  • Sample pic.JPG
    Sample pic.JPG
    103.8 KB · Views: 42

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi & welcome to MrExcel
How about putting this in H2 & filling down
=IF(COUNTIF(D:D,D3)>1,"Oops","")

Or you could use conditional formatting to highlight dupes.
 
Upvote 0
Very cool, yet so simple. Thank you! Highlighting the duplicates would be great, but would that conditional formatting be part of the vlookup formula?
 
Upvote 0
No, just select col D & in Conditional Formatting > Highlight cells rule > Duplicate values > OK
 
Upvote 0
Yes, I get it now. You make things so simple, yet functional. Thanks much!
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,968
Messages
6,122,509
Members
449,089
Latest member
RandomExceller01

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