Search for text within cell and return value from second column

orehovka

New Member
Joined
Jan 31, 2014
Messages
7
Hello all and thank you for having a look here!
I have two columns of text data: column A within file 1.xlsx contains text strings with variations. Column A in file 2.xlsx contains a a simplified range of the same with only one word in a cell. Column B in the same file contains the real name I want to get. Visually the data looks like this:

File 1:


File 2


I need a formula to check if the items from column A of file 2 appear in column A of file 1 - and if true, to get as result the name of the item on the same row in column B. name - e.g. only apple or peach. I'm not sure how to adjust the classic vlookup, as I need to search within a text string and not directly a cell.
All columns contain about 300 items.

Thank you in advance for your help.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,216,108
Messages
6,128,872
Members
449,475
Latest member
Parik11

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