Data blending/fuzzy logic?

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,922
Office Version
  1. 365
Platform
  1. Windows
Hi,

Couldn't decide if this room or the General Excel and other programmes room was where to post; apologies if in wrong place.

Looking for general comments/experiences for following:

I have a table of data (~10k rows) which needs to be grouped by client name. Data entry has been entered by multiple persons so sheet has client names like:

ABC Limited
ABC Ltd
ABC Emea Ltd

Which needs to be aggregated into a single row.

I'm trying to determine a formula or set of steps to group names as similar as possible and then unfortunately it will be a manual sense check to find matches.

Initial thoughts

- #1 (helper columns)
Create table of words that can be replaced with nullstring (e.g. Limited, Ltd, Inc etc)
Remove spaces
List data alphabetically
A formula that calculates "how much" of the words match e.g. ABCEmea vs ABC (something like LEN and SUBSTITUTE or something)

Problem with this is ABC Ltd may be an entirely separate client to ABC Limited or ABC itself.

- #2
Use something like Alteryx, Vero Analytics or Tableau which supposedly finds links between data sets but unable to determine how suitable their services might be for this task.

Does anyone have experience of matching text in Excel or the above software providers to suggest best approaches for this?

Thank you in advance!
Jack
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Id be creating a company code which is unambiguous. You could then create a lookup table if you wanted consistent company names.
 
Upvote 0
Hi Steve,

That's part of the problem, the data set has names but no ID.

Some have their companies number, (manually, I think lifted from Companies House) so that too could have data input error, hence this post!

The provided client name, for all intents and purposes is the ID, hence problem with this data table...

Thanks,
Jack
 
Last edited:
Upvote 0
Who is entering this data? Yourselves? Id start entering codes rather than descriptions straight away. Id go so far as saying its a manual job to get this right for past data. There is the fuzzy lookup vba code that is around with a google but you still need to take a look to see if its right. Especially when you say ABC Ltd may be different to ABC Limited. Even a human would assume they were one and the same.
 
Upvote 0
It's past data I'm having to fix this for, not new entries. And typical, someone started a spreadsheet to store data, a new person took over and so on; data quality control wasn't even considered!

Figured it would have a large amount of manual work, but anything that could suggest matches would be a start.

As mentioned, there are >10k rows of data that needs grouping, new entries after this, will have specific requirements and is mapped out.

There is bound to be some mistakes with this approach, e.g. linking ABC Ltd with ABC *IF* they're not the same company but the number of errors should (I hope!) be significantly less than the number of successful matches compared leaving the data alone as currently is and the user guesses every time.

Will look for fuzzy matching code, but I think I'll be implementing approach #1 mentioned in original post unless anyone suggests improvements or alternatives.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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