LOOKUP formula problem

dotsent

Board Regular
Joined
Feb 28, 2016
Messages
85
Office Version
  1. 365
Platform
  1. Windows
Sorry for the vague title. Trying to get this done in a nice way, but feels more difficult than it looks. I have two tables - Strings and Data. Starting off with data in grey columns and I need to extract verified data to green (already filled as a manual "to-be" example).

Values in table Data should be looked for in Strings table, and extracted to columns Match1 and Match2. I surely don't want to over-complicate formulas, but the less helper columns, the better. I could use additional helper column and run wildcard-XLOOKUP such as (please see pink folumn F):

Code:
=XLOOKUP("*"&E3&"*",Strings[String],Strings[String],"",2,1)

+ then add another XLOOKUP in column B to grab the E-column value through the pink helper column. However I'm not sure how to handle case such as row no 7, where there are more than 1 match to fetch.
Should also 2 helper columns be used?

Or is there a nicer, more tidy way to do this?
I'm running Office365, so newer Excel tools should be available.

Thanks a lot!


matches.jpg
 

Attachments

  • matches.jpg
    matches.jpg
    30.2 KB · Views: 5

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

Forum statistics

Threads
1,214,967
Messages
6,122,503
Members
449,090
Latest member
RandomExceller01

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