Partial text match with wildcards using a reference table

shaggy101

New Member
Joined
Oct 20, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi there,
I'm trying to have column A here look at the row in column B and do a partial text match based with column D to return the value column E. The database that column B comes from has asterisks as true characters in some names. If columns B and D were flipped, I know how to do a partial text match with xlookup, but I'm stuck in this case when the partial match comes in the lookup array. Any advice much appreciated!
Copy of Sheet.xlsx
ABCDE
1ClinicTeamIndex
2HB PRI CARE MAI 1 *HBPC*HB PRI CARE MAIMaine HBPC
3HB PRI CARE MAI 2 *HBPC*MAI *GERIMaine Geri
4MAI *GERI* 02MAI *H*Maine HPACT
5MAI *H* 01MAI *SCI/DMaine SCI
6MAI *H* 02MAI COEMaine PCC
7MAI *SCI/D* 01MAI GMS PACT VIRTUALVirtual PACT
8MAI COE 02 *WH*MAI MT BAKERMaine PCC
9MAI GMS PACT VIRTUAL 1 *WH*MAI OLYMPICSMaine PCC
10MAI MT BAKER 01MAI RAINIERMaine PCC
11MAI OLYMPICS 02 *WH*MAI WCMaine WHC
12MAI OLYMPICS 02 *WH*TUC *GERITUC Geri
13MAI RAINIER 03 *WH*TUC *H*TUC HPACT
14MAI RAINIER 03 *WH*TUC GOLDTUC PCC
15MAI RAINIER 03 *WH*TUC ORANGETUC PCC
16MAI RAINIER 04TUC REDTUC PCC
17MAI WC ALKI 06 *WH*TUC SILVERTUC PCC
18MAI WC ALKI 09 *WH*TUC WCTUC WHC
19MAI WC ALKI 10 *WH*TUC YELLOWTUC PCC
20MAI WC CHINOOK 04 *WH*
21MAI WC CHINOOK 06 *WH*
22TUC *GERI* 07 BLUE
23TUC *GERI* 08 BLUE
24TUC *H* 01 *WH*
25TUC GOLD 03
26TUC GOLD 04
27TUC ORANGE 01 *WH*
28TUC RED 04 *WH*
29TUC RED 05
30TUC SILVER 07 *WH*
31TUC SILVER 08
Sheet1
 
Thanks for the clarification.

Is there any way that we can modify to cover multiple rows and columns in LOOKUP formula?
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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