ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Vlookup using a partial text match (https://www.excelbanter.com/excel-worksheet-functions/198994-vlookup-using-partial-text-match.html)

JGROVE

Vlookup using a partial text match
 
I am trying to use Vlookup to find a specific set of caracters to return the
match to that set. The problem is I am trying to pull the set from a
description.

Example:
Lookup value:
ZZWTH XXX SSKLDF

Array has values in cells as follows
Col 1 COL 2
WTH Wheat Home Feilds Farms

I need Vlookup to scan the lookup value for the WTH (that is never int he
same place in the lookup value) and match that to col1 and return col2 not
sure if this is possible but it would be nice to figure this one out...



Teethless mama

Vlookup using a partial text match
 
=INDEX(B1:B200,MATCH(TRUE,ISNUMBER(SEARCH(A1:A200, C1)),))

ctrl+shift+enter, not jsut enter


"JGROVE" wrote:

I am trying to use Vlookup to find a specific set of caracters to return the
match to that set. The problem is I am trying to pull the set from a
description.

Example:
Lookup value:
ZZWTH XXX SSKLDF

Array has values in cells as follows
Col 1 COL 2
WTH Wheat Home Feilds Farms

I need Vlookup to scan the lookup value for the WTH (that is never int he
same place in the lookup value) and match that to col1 and return col2 not
sure if this is possible but it would be nice to figure this one out...




All times are GMT +1. The time now is 03:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com