Comparing Data without a unique identifier

Realty Goddess

New Member
Joined
May 29, 2009
Messages
5
I appreciate your assistance!

I am tasked with comparing 2 worksheets. One is downloaded from our Access database into an Excel spreadsheet. The other is from a State database. Both have similar information, but there is no unique identifier.

I am hoping that there is a way to compare a column that contains the Vendor name.

In spreadsheet 1, the Vendor may be listed as Huff, George
In Spreadsheet 2, the Vendor may be listed as Huff Estate.

I am working with thousands of records, so this is not an easy task to do manually. These spreadsheets do have some similar columns, such as County (there could be hundreds of records with the same county), but the only data close to being unique is the Vendor column.

I tried using the Excel Analyzer Add-in, but that didn't help. I am not an IT or programmer - my job is working with Realty Grants.

In Access, I use the following criteria to enable users to query a particular unit name without having to know the exact name: Like "*" & [Enter Part of Unit Name] & "*" Is there anything similar I can create in Excel to look for just a piece of the Vendor's name to match the other spreadsheet?

We can purchase software, if you have any recommendations.

Any suggestions?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
It may be worth it to manually maintain a separate table that compares the vendor names of each. You are asking to be able to query with part of a name... I'm having trouble understanding why the built-in Find tool wouldn't work for that.
 
Upvote 0
If we used the find tool, we would be manually comparing 1 record at a time. One of our state spreadsheets has 11,000 records. I am hoping there is a program out there, or that Excel can be forced to compare records using VBA, so that the program would do the comparison for us.
 
Upvote 0
Hi Realty Goddess,

FuzzyVLookup can be a bit daunting at first sight, but reading your post, it looks like you just need something like '=Vlookup("*" & lookup_string & "*", ...)

but post some sample data, and we can go from there.
 
Upvote 0
You are truly a lifesaver! My boss is in a dreamworld, thinking I understand this stuff, LOL

Here is an example:

My records

State Grant Vendor
MN FW-3-L-1 Hoff Estate
MN FW-3-L-2 Garrity, P

State records

MN FW-3-L 1 Jed Hoff
MN FW-3-L Garrity & Peters

I am assuming that perhaps there is someway to use the vendor name to lookup. There may be 10-30 different records in one grant, so that is not a good lookup.

I tried the Lookup feature on tools, and it will find matches, one record at a time. However, I have thousands to work on, so that isn't alot of help.

Your assitance is most appreciated!!
 
Upvote 0
Hi,

First cut :
Excel Workbook
ABCDEFGHI
1My Records*****State**
2*********
3StateGrantVendorLookup Row**StateGrantVendor
4MNFW-3-L-1Hoff Estate6**MNFW-3-L-2Jed Hoff
5MNFW-3-L-2Garrity, P7**MNFW-3-L-1Garrity & Peters
6******MNFW-3-L-1Jed Hoff
7******MNFW-3-L-2Garrity & Peters
Sheet1



I have used the Grant column as a group identifier, so the code will return the best matching row for that group ONLY.

Inote that I have used algorithm 2, which matches on pairs, then triplets then quads etc as this seems the most appropriate on this occasion.

As this function is VERY CPU hungry, I've returned a row number rather than a value. This can then be used as part of an INDEX or OFFSET formula to return the field(s) required.
 
Upvote 0
Thanks for the response, Alan. Since I still don't "get it," I sent a request to MrExcel for an estimate to set up an application for me. I just don't have the time to devote to trying to work this out. :(
 
Upvote 0

Forum statistics

Threads
1,216,087
Messages
6,128,740
Members
449,466
Latest member
Peter Juhnke

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