<?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 Re: How do I compare multiple values in one column to multiple values in another column in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459380#M29596</link>
    <description>&lt;P&gt;Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
    <pubDate>Wed, 02 May 2018 15:46:50 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-05-02T15:46:50Z</dc:date>
    <item>
      <title>How do I compare multiple values in one column to multiple values in another column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459314#M29590</link>
      <description>&lt;P&gt;I am fairly new to SAS and I am not a programmer. I have a report in which column A and Column B identify multiple organizations in which certain users have different responsibilities. In most cases, the organization name should be the same in both columns, however, we have discovered that this is not always the case. I would like to know if there is a way preferably&amp;nbsp;in SAS VA or if not, in SAS EG that I run a query or report that will identify each row in which the value of Column A is not the same as the value in Column B.&lt;/P&gt;&lt;P&gt;Hoping you can help. Currently using SAS EG 7.1&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 13:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459314#M29590</guid>
      <dc:creator>snelll</dc:creator>
      <dc:date>2018-05-02T13:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I compare multiple values in one column to multiple values in another column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459345#M29593</link>
      <description>&lt;P&gt;You can do it in Data Planner in SAS VA or EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either way you're looking for ColA not equal to ColB which would be a filter in VA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In EG, open a dataset, choose a filter and add the condition. However, if those are character fields, you may want to standardize them a bit first, because McDonalds is not the same as Mcdonalds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 14:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459345#M29593</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-05-02T14:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I compare multiple values in one column to multiple values in another column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459353#M29595</link>
      <description>&lt;P&gt;thanks for you very quick reply Reeza. We're going to give it a try and I'll let you know if it does the trick for us.&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 15:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459353#M29595</guid>
      <dc:creator>snelll</dc:creator>
      <dc:date>2018-05-02T15:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I compare multiple values in one column to multiple values in another column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459380#M29596</link>
      <description>&lt;P&gt;Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 15:46:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/459380#M29596</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-05-02T15:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I compare multiple values in one column to multiple values in another column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/460666#M29695</link>
      <description>&lt;P&gt;Thanks everyone for you help. I was amazed at how quickly I got a response and will definitely reach out again when I need help. It turns out we were using the filter correctly but the data&amp;nbsp;in two columns we were comparing were so slightly different (SSC|SPC&amp;nbsp; vs SSC-SPC) that we didn't notice this was why we were not getting the results we expected.&lt;/P&gt;&lt;P&gt;Your feedback made us look more closely as to why your advice confirmed our first approach but we were not getting the results. We used the filter in SAS EG as recommended by Reeza&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 11:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-compare-multiple-values-in-one-column-to-multiple/m-p/460666#M29695</guid>
      <dc:creator>snelll</dc:creator>
      <dc:date>2018-05-08T11:39:13Z</dc:date>
    </item>
  </channel>
</rss>

