Identifying duplicates

12Rev79

Board Regular
Joined
Mar 2, 2021
Messages
57
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Dear Expert,

I have the following in
column A Column B
15345 L1-FAPP-B1:P14
15346 L1-FAPP-B1:P15
15347 L1-FAPP-B1:P16
15348 L1-FAPP-B1:P17

since L1-FAPP-B1 is common I need this result in column C

column A Column B column C
15345 L1-FAPP-B1:P14 -
15346 L1-FAPP-B1:P15 Duplicated to Item # 15345
15347 L1-FAPP-B1:P16 Duplicated to Item # 15345
15348 L1-FAPP-B1:P17 Duplicated to Item # 15345

Please can you help me figure out the sytax.

Thank you expert in advance.

Regards,

12Rev79
 
This in C2 shall work in 365 version. In 2010 instead of textsplit find a position of colon in a text and use LEFT function.
Excel Formula:
=IFERROR("Duplicated to item # " & INDEX(A$1:A1,MATCH(INDEX(TEXTSPLIT(B2,":"),1,1)&"*",B$1:B1,0)),"-")
Book1
ABC
1
215345L1-FAPP-B1:P14-
315346L1-FAPP-B1:P15Duplicated to item # 15345
415347L1-FAPP-B1:P16Duplicated to item # 15345
515348L1-FAPP-B1:P17Duplicated to item # 15345
Sheet3
Cell Formulas
RangeFormula
C2:C5C2=IFERROR("Duplicated to item # " & INDEX(A$1:A1,MATCH(INDEX(TEXTSPLIT(B2,":"),1,1)&"*",B$1:B1,0)),"-")
 
Upvote 0
Solution
This in C2 shall work in 365 version. In 2010 instead of textsplit find a position of colon in a text and use LEFT function.
Excel Formula:
=IFERROR("Duplicated to item # " & INDEX(A$1:A1,MATCH(INDEX(TEXTSPLIT(B2,":"),1,1)&"*",B$1:B1,0)),"-")
Book1
ABC
1
215345L1-FAPP-B1:P14-
315346L1-FAPP-B1:P15Duplicated to item # 15345
415347L1-FAPP-B1:P16Duplicated to item # 15345
515348L1-FAPP-B1:P17Duplicated to item # 15345
Sheet3
Cell Formulas
RangeFormula
C2:C5C2=IFERROR("Duplicated to item # " & INDEX(A$1:A1,MATCH(INDEX(TEXTSPLIT(B2,":"),1,1)&"*",B$1:B1,0)),"-")
Thanks Kaper, it works well.....appreciated.
 
Upvote 0
Thanks Kaper, it works well.....appreciated.
The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.
 
Upvote 0

Forum statistics

Threads
1,226,796
Messages
6,193,048
Members
453,772
Latest member
aastupin

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