<?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: Combining several variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Combining-several-variables/m-p/302350#M64139</link>
    <description>&lt;P&gt;It would be helpful to see some example data and desired output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be that something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc means data=yourdata sum;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class lastname;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var sales;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;does some of what you want.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2016 14:35:49 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-10-04T14:35:49Z</dc:date>
    <item>
      <title>Combining several variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combining-several-variables/m-p/302196#M64072</link>
      <description>&lt;P&gt;So I have merged together 2 data sets by the same last name. I now have several observation with the same last name. I want to combine all those variables(all with the same information in the other variables, just not in sales. I want to sum up all of the sales variables for each last name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea of how to do this??&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 23:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combining-several-variables/m-p/302196#M64072</guid>
      <dc:creator>bryn</dc:creator>
      <dc:date>2016-10-03T23:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Combining several variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combining-several-variables/m-p/302350#M64139</link>
      <description>&lt;P&gt;It would be helpful to see some example data and desired output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be that something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc means data=yourdata sum;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class lastname;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var sales;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;does some of what you want.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 14:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combining-several-variables/m-p/302350#M64139</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-10-04T14:35:49Z</dc:date>
    </item>
  </channel>
</rss>

