Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I'm running Excel 2003. I'm trying to compare two lists that don't match
exactly. I've been using Vlookup, but if the cell content of my search is not the same as the array I'm comparing it to, it does not find it. For example: I'm searching for "Mary Smith". The array contains "Smith, Mary". VLookup won't find the record because it doesn't match exactly what I'm searching for. Because I'm comparing thousands of records against an extremely large database, it's not feasable for me to just do a search. Any insight? Thanks, -- Tina |
#2
![]() |
|||
|
|||
![]()
Why don't you try parsing "Mary Smith" into "Mary" and "Smith" in adjacent
columns and then concatenate them again A1 = Mary Smith B1 = Mary C1 = Smith D1 = C1 & ", " & B1 When you are done, try the lookup again. "Tina" wrote: I'm running Excel 2003. I'm trying to compare two lists that don't match exactly. I've been using Vlookup, but if the cell content of my search is not the same as the array I'm comparing it to, it does not find it. For example: I'm searching for "Mary Smith". The array contains "Smith, Mary". VLookup won't find the record because it doesn't match exactly what I'm searching for. Because I'm comparing thousands of records against an extremely large database, it's not feasable for me to just do a search. Any insight? Thanks, -- Tina |
#3
![]() |
|||
|
|||
![]()
Barb,
Thanks for the quick reply. Unfortunately, the database I'm searching against doesn't always have a comma separating the names. Sometimes there's a space, sometimes the names are inverted. There are also company names listed with "Corp.", "Corp", "Corporation", etc. . I guess what I'm really looking for is for the search to bring back any instance of "Mary" or "Smith", regardless of how it's listed in the database record. Not sure if that's possible though. -- Tina "Barb R." wrote: Why don't you try parsing "Mary Smith" into "Mary" and "Smith" in adjacent columns and then concatenate them again A1 = Mary Smith B1 = Mary C1 = Smith D1 = C1 & ", " & B1 When you are done, try the lookup again. "Tina" wrote: I'm running Excel 2003. I'm trying to compare two lists that don't match exactly. I've been using Vlookup, but if the cell content of my search is not the same as the array I'm comparing it to, it does not find it. For example: I'm searching for "Mary Smith". The array contains "Smith, Mary". VLookup won't find the record because it doesn't match exactly what I'm searching for. Because I'm comparing thousands of records against an extremely large database, it's not feasable for me to just do a search. Any insight? Thanks, -- Tina |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need to print lists including a barcode in Excel. | Excel Discussion (Misc queries) | |||
Stop Excel Rounding Dates | Excel Discussion (Misc queries) | |||
In Excel, lists should be sorted. | Excel Worksheet Functions | |||
How do I customize the X-axis in excel to match my dataset? | Charts and Charting in Excel | |||
Aligning Two Lists in Excel | Excel Discussion (Misc queries) |