Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I want to compare/match data from two 1,000+ row spreadsheets where the
values are similar but not exactly alike. For example, on one spreadsheet I have a name like John P. Smith Associates, and on the other spreadsheet I have John Smith Assoc. I would like to find and return a match using a partial value, such as "Smith Assoc" ...sort of using a wildcard containig the value. I've tried using vlookup for exact and approx matches but it did not work out for me. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
What kind of result are you looking for?
=COUNTIF(Sheet2!A1:A1000,"*Smith Assoc*") Or, using a cell reference: A1 = Smith Assoc =COUNTIF(Sheet2!A1:A1000,"*"&A1&"*") -- Biff Microsoft Excel MVP "gear350z" wrote in message ... I want to compare/match data from two 1,000+ row spreadsheets where the values are similar but not exactly alike. For example, on one spreadsheet I have a name like John P. Smith Associates, and on the other spreadsheet I have John Smith Assoc. I would like to find and return a match using a partial value, such as "Smith Assoc" ...sort of using a wildcard containig the value. I've tried using vlookup for exact and approx matches but it did not work out for me. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Or some others....
Note this is an exact reference, use FALSE. This will return the value (text) in the first cell it finds with "smith": =VLOOKUP("*smith*",A1:A100,1,FALSE) Try MATCH instead if you are looking for a reference. This will return the row number of that cell: =MATCH("*smith*",A1:A100,0) |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=VLOOKUP("*Smith Assoc*",A:B,2,0)
"gear350z" wrote: I want to compare/match data from two 1,000+ row spreadsheets where the values are similar but not exactly alike. For example, on one spreadsheet I have a name like John P. Smith Associates, and on the other spreadsheet I have John Smith Assoc. I would like to find and return a match using a partial value, such as "Smith Assoc" ...sort of using a wildcard containig the value. I've tried using vlookup for exact and approx matches but it did not work out for me. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup Approximate Match Question | Excel Worksheet Functions | |||
Match Values in Rows with Partial Values in Columns | Excel Worksheet Functions | |||
DSUM Partial Match | Excel Worksheet Functions | |||
Excel: HLOOKUP Text "approximate" match over 2 sheets problem? | Excel Discussion (Misc queries) | |||
Vlookup approximate match question. | Excel Worksheet Functions |