<?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: Proc Means/Summary/Tabulate/???? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108918#M5765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaks.. that's it.. just a single line of code and its done.. and i was breaking my head last 3 hours trying so many variations... Thanks a lot Ballard.. Now just one more small query in addition to it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have one more column for LN &amp;amp; ST which mentions amount and i want to sum them for each name....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 20:59:05 GMT</pubDate>
    <dc:creator>aj34321</dc:creator>
    <dc:date>2013-02-13T20:59:05Z</dc:date>
    <item>
      <title>Proc Means/Summary/Tabulate/????</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108916#M5763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm pretty new to SAS and i'm having a confusion with one of my query. I have a data structure as mentioned below and need summarised output and i'm simply confused with which proc function this can be done and how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below this table&lt;/P&gt;&lt;P&gt;Name - Prod&lt;/P&gt;&lt;P&gt;A1 - CC&lt;/P&gt;&lt;P&gt;A2 - CC &lt;/P&gt;&lt;P&gt;A3 - LN&lt;/P&gt;&lt;P&gt;A1 - CC&lt;/P&gt;&lt;P&gt;A3-ST&lt;/P&gt;&lt;P&gt;A1-CC&lt;/P&gt;&lt;P&gt;A2-LN&lt;/P&gt;&lt;P&gt;A3-CC&lt;/P&gt;&lt;P&gt;A1-LN&lt;/P&gt;&lt;P&gt;A1-CC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My output should be &lt;/P&gt;&lt;P&gt;Name&amp;nbsp;&amp;nbsp; CC&amp;nbsp;&amp;nbsp;&amp;nbsp; LN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ST&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;A2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;A3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls anyone can help me with code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; a lot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 20:28:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108916#M5763</guid>
      <dc:creator>aj34321</dc:creator>
      <dc:date>2013-02-13T20:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means/Summary/Tabulate/????</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108917#M5764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either Proc freq or tabulate would do. The syntax for freq is probably simpler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=yourdatasetname;&lt;/P&gt;&lt;P&gt;tables name*prod/ norow nocol nocum nopercent;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 20:47:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108917#M5764</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-02-13T20:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means/Summary/Tabulate/????</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108918#M5765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaks.. that's it.. just a single line of code and its done.. and i was breaking my head last 3 hours trying so many variations... Thanks a lot Ballard.. Now just one more small query in addition to it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have one more column for LN &amp;amp; ST which mentions amount and i want to sum them for each name....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 20:59:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108918#M5765</guid>
      <dc:creator>aj34321</dc:creator>
      <dc:date>2013-02-13T20:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means/Summary/Tabulate/????</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108919#M5766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you want to include a WEIGHT statement:&lt;BR /&gt;proc freq ....;&lt;/P&gt;&lt;P&gt;WEIGHT amount;&lt;BR /&gt;tables ....;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 21:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means-Summary-Tabulate/m-p/108919#M5766</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-02-13T21:42:17Z</dc:date>
    </item>
  </channel>
</rss>

