Lookup a string of text in one sheet and return adjacent value from another sheet

DianaD

New Member
Joined
Jul 4, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have one sheet with a string of text that I want to lookup on another sheet and return the adjacent value, similar to VLOOKUP but looking for a string within the cell.

Looking for C3 from sheet #1 within column B of sheet #2 and then return the adjacent value from column A on sheet #2.

1720107011211.png
1720107044396.png


I hope this makes sense.

regards,
DianaD
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Please try

=xlookup("*"&A3&"*"&B3&"*",sheet2!B:B, sheet2!A:A,"not found",2)

(assuming the entries start from row3- cells A3 and B3---where 1/2 and 150# are and the other sheet is "sheet2")

* and the 2 at the end of xlookup make it a wild card search
 
Upvote 0
Solution

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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