excel partial match in any of the lookup data

chaitanya1124

New Member
Joined
Jul 24, 2017
Messages
5
I have data in column A and B have lookup data. If the any of the lookup data is partially matching in the result column need to put lookup data.


I tried with VLOOKUP but no luck. Please help me.


Columns:


Code:
  A                                                    B(Lookup)            C(Result)
    FY|F|V|D|Safety|3M                         Toro                     3M
    FY|F|V|D|POP|ToroDays                    3M                      Toro
    FY|F|V|D|Lumber|GroundContact      honeywell            NA(Not available)
    FY|F|V|D|airfilters|honeywell            samsung              honeywell
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Your sample and expected results are hard to read, can you try again, and explain what you have and what you want?
 
Upvote 0
You can use Vlookup with wildcard, , just add "*" & Whatofind & "*" at lookup value for finding partial match string
P/s : could you post your file ?
 
Upvote 0
Maybe...


[Table="class: grid"][tr][td="bgcolor: #DCE6F1"][/td][td="bgcolor: #DCE6F1"]
A
[/td][td="bgcolor: #DCE6F1"]
B
[/td][td="bgcolor: #DCE6F1"]
C
[/td][/tr]
[tr][td="bgcolor: #DCE6F1"]
1
[/td][td]
Data​
[/td][td]
Keywords​
[/td][td]
Result​
[/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
2
[/td][td]
FY|F|V|D|Safety|3M​
[/td][td]
Toro​
[/td][td]
3M​
[/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
3
[/td][td]
FY|F|V|D|POP|ToroDays​
[/td][td]
3M​
[/td][td]
Toro​
[/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
4
[/td][td]
FY|F|V|D|Lumber|GroundContact​
[/td][td]
honeywell​
[/td][td]
NA​
[/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
5
[/td][td]
FY|F|V|D|airfilters|honeywell​
[/td][td]
samsung​
[/td][td]
honeywell​
[/td][/tr]
[/table]


Formula in C2 copied down
=LOOKUP(2,1/ISNUMBER(SEARCH(B$2:B$5,A2)),B$2:B$5)

M.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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