Lookup on specific text in a cell to return value in another cell

Mr Bulldops

New Member
Joined
Mar 7, 2019
Messages
1
Hi, I have an issue whereby I download data each month and the text in these cells changes slightly each time so it’s not possible to use a standard vlookup. What I would like to do is lookup specific text in one cell to return a value in another.

For example the following is in these cells: A1: 401 chicken QQR A2: chicken A3: Nugget. I would like to use cell A2 to see if the word chicken is anywhere in cell A1 (which it is) and if so return what is in cell A3 “Nugget” in cell B1. A standard vlookup won’t work as the text in cell A1 contains more than just the text chicken.

I guess it’s a vlookup but only for a specific bit of text rather than all of the text. Would really appreciate if anyone could help on this as it’s frying my brain.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Like this ?
=IF(ISNUMBER(SEARCH(A2,A1)),A3,"")

If the case should be respected use FIND instead of SEARCH
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,409
Members
448,959
Latest member
camelliaCase

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