Matching contents from one cell into another and displaying the contents back

hahmed87

New Member
Joined
Aug 9, 2017
Messages
6
Hi All,



I have a little bit of a tricky situation. I have two worksheets. Sheet1 contains a file name with claim numbers like below:



File Name

<tbody>
</tbody>
Date Created

<tbody>
</tbody>
AAAA File name with additional characters.doc

<tbody>
</tbody>
20170809

<tbody>
</tbody>
BBBB File name with additional characters.doc

<tbody>
</tbody>
20170809

<tbody>
</tbody>
CCCC File name with additional characters.pdf

<tbody>
</tbody>
20170809

<tbody>
</tbody>
DDDD File name with additional characters.doc

<tbody>
</tbody>
20170809

<tbody>
</tbody>
AAAA & EEEE File name with additional characters.pdf

<tbody>
</tbody>
20170809

<tbody>
</tbody>
More Characters here BBBB & CCCC File name with additional characters.doc

<tbody>
</tbody>
20170809

<tbody>
</tbody>

<tbody>
</tbody>


Sheet2 contains claim numbers as below:



Claim

<tbody>
</tbody>
Data
AAAA

<tbody>
</tbody>
Data
BBBB

<tbody>
</tbody>
Data
CCCC

<tbody>
</tbody>
Data
DDDD

<tbody>
</tbody>
Data

<tbody>
</tbody>


I would like to know if there are any formulas out there in which I can look for the Claim number is Sheet2 in Sheet1 and it gives me back all the file names that contain that claim number. For example, Claim AAAA from Sheet2 is in 2 file names in Sheet1, so I would like it to return to me
"AAAA File name with additional characters.doc" and
"AAAA & EEEE File name with additional characters.pdf"

<tbody>
</tbody>

<tbody>
</tbody>


Please let me know if any additional information is needed.



Thanks!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,216,072
Messages
6,128,631
Members
449,460
Latest member
jgharbawi

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