If Vlookup array table contains NOT wildcard

thedeadzeds

Active Member
Joined
Aug 16, 2011
Messages
442
Office Version
  1. 365
Platform
  1. Windows
Hi Guys, I'm trying to do a lookup up but rather than do a wildcard lookup I want to turn it around.

For example, I have a table lets say rows A1 to A5 which contains certain words. If any of these words or a version of these words are found in a cell I want to pull this through. So, Table one below is my lookup table and table 2 is the raw data table. I would like the result to show as per the result column 2 in the raw data table? So a formula in column 2 (lookup found)

Lookup Table
Car
Rent
Finance
Motor
Water

<colgroup><col></colgroup><tbody>
</tbody>



RAW DATA
DataLookup found?
Rental RedYesas it contains rent
CJ FinanceYesas it contains finance
MotoringYesas it contains Motor
Blue WateringYesas it contains Water

<colgroup><col><col><col></colgroup><tbody>
</tbody>


<colgroup><col><col><col><col><col></colgroup><tbody></tbody>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi,

Try this:

=VLOOKUP("*"&A3&"*";$A$15:$A$19;1;FALSE)

assuming your RAW DATA is from A15 to A19.
 
Upvote 0
Sorry, think i may have not explained this correctly, my current lookup is:

=VLOOKUP(M6, 'Fleet Supression'!A2:A15, 1, FALSE)

but essentially what i want is if M6 contains any of the words or a simular word in 'Fleet Supression'!A2:A15' then false

hope this makes sense
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,013
Members
448,935
Latest member
ijat

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