LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cdhmotes
 
Posts: n/a
Default Partial String Match Using VLOOKUP


I have a large dataset in which I need to find a list of partial string
matches, and then return a value associated with each unique partial
string match.

Example
======

The dataset:

indallastexas
musicfan
bluechair
twentyminutesago

The lookup table:
LookupValue MasterValue
------------ ------------
dallas city
music noun
blue color
minutes time

Desired result:
indallastexas city
musicfan noun
bluechair color
twentyminutesago time

So for all occurences of the word "dallas", I need to return the value
"city" in that row. My dataset is quite large, and I need to repeat
this periodically so simply finding/replacing is not an option. I also
cannot parse the dataset in a way that will put all of my exact lookup
values into a column. There are no character patterns in the data that
vlookup can use, in other words everything is a string and the lookup
values in the strings do not have consistent placement patterns in the
cells.

This seems like a vlookup with a partial match vs. exact match. Any
ideas?


--
cdhmotes
------------------------------------------------------------------------
cdhmotes's Profile: http://www.excelforum.com/member.php...o&userid=29899
View this thread: http://www.excelforum.com/showthread...hreadid=496066

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to match a text string to a data table, any suggestions? OCONUS Excel Worksheet Functions 3 December 2nd 05 06:39 PM
How to use AdvancedFilter wildcard to match end of string? bereid Excel Discussion (Misc queries) 2 November 29th 05 02:09 AM
Tricky ... Pullout related rows that match a single word using Vlookup YJL Excel Discussion (Misc queries) 18 November 14th 05 08:22 AM
is there a way to search with vlookup to match more than 1 column puppy Excel Discussion (Misc queries) 7 June 30th 05 07:41 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


All times are GMT +1. The time now is 08:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"