<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Fuzzy Lookup? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464227#M29977</link>
    <description>&lt;P&gt;I am new to SAS EG and I am not familiar with the programming side, only the point and click interface.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one column&amp;nbsp;titled 'Name', and another column &lt;SPAN&gt;titled&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'Name and Address' (sample attached). I need to determine if the name is contained in the name and address column.&lt;/P&gt;&lt;P&gt;What would you suggest is the best way to perform this action? In the query builder I tried creating a computed column with the contains operator and a second attempt with the scan function (which I thought was closest to a fuzzy lookup) but those did not work for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts or guidance is much appreciated! Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 22 May 2018 22:19:14 GMT</pubDate>
    <dc:creator>RandyW</dc:creator>
    <dc:date>2018-05-22T22:19:14Z</dc:date>
    <item>
      <title>Fuzzy Lookup?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464227#M29977</link>
      <description>&lt;P&gt;I am new to SAS EG and I am not familiar with the programming side, only the point and click interface.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one column&amp;nbsp;titled 'Name', and another column &lt;SPAN&gt;titled&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'Name and Address' (sample attached). I need to determine if the name is contained in the name and address column.&lt;/P&gt;&lt;P&gt;What would you suggest is the best way to perform this action? In the query builder I tried creating a computed column with the contains operator and a second attempt with the scan function (which I thought was closest to a fuzzy lookup) but those did not work for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts or guidance is much appreciated! Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 22:19:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464227#M29977</guid>
      <dc:creator>RandyW</dc:creator>
      <dc:date>2018-05-22T22:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Fuzzy Lookup?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464229#M29978</link>
      <description>&lt;P&gt;This is not a fuzzy lookup, you're looking for FIND or INDEX to search for a particular string instead. This assumes that comparisons are along a single row. If you need to compare the name from row 2 with the address/name from Row 1 that's a different problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be a calculated/computed column with the query builder, under Advanced Calculations most likely. You can use the INDEX or FIND function within the computed column builder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/211507"&gt;@RandyW&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am new to SAS EG and I am not familiar with the programming side, only the point and click interface.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have one column&amp;nbsp;titled 'Name', and another column &lt;SPAN&gt;titled&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'Name and Address' (sample attached). I need to determine if the name is contained in the name and address column.&lt;/P&gt;
&lt;P&gt;What would you suggest is the best way to perform this action? In the query builder I tried creating a computed column with the contains operator and a second attempt with the scan function (which I thought was closest to a fuzzy lookup) but those did not work for me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts or guidance is much appreciated! Thanks in advance!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 22:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464229#M29978</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-05-22T22:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fuzzy Lookup?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464236#M29981</link>
      <description>&lt;P&gt;Another issue that may apply is the presence of trailing blanks.&amp;nbsp; It is possible that the first comparison locates the NAME, when the second one doesn't:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;location = index(name_plus_address, strip(name));&lt;/P&gt;
&lt;P&gt;location = index(name_plus_address, name);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The STRIP function removes leading and trailing blanks.&amp;nbsp; The second statement (omitting STRIP), might be searching for a longer string that includes the trailing blanks ... probably less than ideal.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 23:02:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464236#M29981</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-05-22T23:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fuzzy Lookup?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464246#M29985</link>
      <description>&lt;P&gt;If you have mixed case then use &lt;STRONG&gt;FIND(Name_address,Name,'i')&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 23:56:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464246#M29985</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-05-22T23:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fuzzy Lookup?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464253#M29986</link>
      <description>&lt;P&gt;Thanks to all! The following worked best for my needs but the other suggestions were good options too!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;location = index(name_plus_address, strip(name));&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 00:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fuzzy-Lookup/m-p/464253#M29986</guid>
      <dc:creator>RandyW</dc:creator>
      <dc:date>2018-05-23T00:29:55Z</dc:date>
    </item>
  </channel>
</rss>

