<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblogcasts.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Atul Thakor  : Fuzzy Matching</title><link>http://sqlblogcasts.com/blogs/atulthakor/archive/tags/Fuzzy+Matching/default.aspx</link><description>Tags: Fuzzy Matching</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Introducing the Excel Fuzzy Matching Lookup Add-In</title><link>http://sqlblogcasts.com/blogs/atulthakor/archive/2011/05/03/introducing-the-excel-fuzzy-matching-lookup-add-in.aspx</link><pubDate>Tue, 03 May 2011 21:10:00 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:15582</guid><dc:creator>AtulThakor</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/atulthakor/rsscomments.aspx?PostID=15582</wfw:commentRss><comments>http://sqlblogcasts.com/blogs/atulthakor/archive/2011/05/03/introducing-the-excel-fuzzy-matching-lookup-add-in.aspx#comments</comments><description>&lt;p&gt;My job involves a fair amount of fuzzy matching, when working on the analysis for a project I’ll often use excel as it does everything I need but its also great as you can send spreadsheets to the business knowing they’ll be comfortable using it and fairly self sufficient.&lt;/p&gt;  &lt;p&gt;This fuzzy matching Add-In from Microsoft Research really caught my eye, as it meant I could take sample records e.g.: Name1 and Name2 and run a rough estimation for how accurate the matching should be.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The setup&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Firstly you need to have Excel 2010 installed, the add-in can be downloaded from &lt;a href="http://www.microsoft.com/bi/en-us/Community/BILabs/Pages/FuzzyLookupAddInforExcel.aspx"&gt;here&lt;/a&gt;, unzip and click the usual next buttons.&lt;/p&gt;  &lt;p&gt;Here is a simple example to get you started:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Create a new spreadsheet and paste the following in A1      &lt;table cellspacing="0" cellpadding="2"&gt;         &lt;tr&gt;           &lt;td valign="top"&gt;&lt;strong&gt;New Customer&lt;/strong&gt;&lt;/td&gt;            &lt;td valign="top"&gt;&lt;strong&gt;Existing Customer&lt;/strong&gt;&lt;/td&gt;         &lt;/tr&gt;          &lt;tr&gt;           &lt;td valign="top"&gt;Jimmy Paige&lt;/td&gt;            &lt;td valign="top"&gt;Jimmy Page&lt;/td&gt;         &lt;/tr&gt;          &lt;tr&gt;           &lt;td valign="top"&gt;Ladee Gaga&lt;/td&gt;            &lt;td valign="top"&gt;Lady Gaga&lt;/td&gt;         &lt;/tr&gt;          &lt;tr&gt;           &lt;td valign="top"&gt;Jimmi Hendriks&lt;/td&gt;            &lt;td valign="top"&gt;Jimmy Hendricks&lt;/td&gt;         &lt;/tr&gt;       &lt;/table&gt;   &lt;/li&gt;    &lt;li&gt;Fuzzy lookup needs tables to compare values so…&lt;/li&gt;    &lt;li&gt;Highlight all the rows(not entire column) in column A and hit Control&amp;#160; + L this creates a table within excel for that column, ensure you tick the “My table has headers”&lt;/li&gt;    &lt;li&gt;Highlight the rows(not entire column) in column B and hit Control + L and tick the headers column, you now have the 2 tables which you are ready to compare. &lt;/li&gt;    &lt;li&gt;Your screen should look like this &lt;a href="http://sqlblogcasts.com/blogs/atulthakor/image_62BC9A07.png"&gt;&lt;br /&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblogcasts.com/blogs/atulthakor/image_thumb_7B4C3757.png" width="244" height="106" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Now click the fuzzy lookup link in the toolbar and then click the fuzzy logic button, a menu should appear on the right&lt;a href="http://sqlblogcasts.com/blogs/atulthakor/image_4CF2B1AA.png"&gt;&lt;br /&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblogcasts.com/blogs/atulthakor/image_thumb_4C1A4BC0.png" width="700" height="596" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;At the top the 2 tables which are to be compared are chosen, left column and right column are pre-selected, in the match columns the columns to be compared have already been selected, if not click the compare button which will add them to the match columns list.&lt;/li&gt;    &lt;li&gt;You can then select the type of comparison, the default is text, other options are Zip code, Phone Number or Social Security, you can define your own by clicking configure (I’ve yet to do this)&lt;/li&gt;    &lt;li&gt;Hit ‘Go’ and you should see the following:&lt;a href="http://sqlblogcasts.com/blogs/atulthakor/image_60336849.png"&gt;&lt;br /&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblogcasts.com/blogs/atulthakor/image_thumb_239B69AC.png" width="666" height="467" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;As you can see we have 2 matches with similarity ratings, &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;Issues&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I’ve found the add-in to be pretty unstable ranging from running forever to not running at all, to run a new comparison I usually restart excel!&lt;/p&gt;  &lt;p&gt;Don&amp;#39;t let this put you off!&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=15582" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/atulthakor/archive/tags/Fuzzy+Matching/default.aspx">Fuzzy Matching</category><category domain="http://sqlblogcasts.com/blogs/atulthakor/archive/tags/Excel/default.aspx">Excel</category></item></channel></rss>