<?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 tabulate output in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89063#M25385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my issue is with the volume of data, not the missing details - that's why it is so slow. &lt;/P&gt;&lt;P&gt;i am exploring building a crosstab with proc sql - seems to be the best option at the moment. &lt;/P&gt;&lt;P&gt;thanks for your advice nonetheless. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 19:13:27 GMT</pubDate>
    <dc:creator>ivs</dc:creator>
    <dc:date>2013-07-25T19:13:27Z</dc:date>
    <item>
      <title>proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89054#M25376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi! does anyone know how to output a dataset that looks exactly like the table that proc tabulate creates? Preferably without column headings all together.&lt;/P&gt;&lt;P&gt;many thanks in advance! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 00:00:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89054#M25376</guid>
      <dc:creator>ivs</dc:creator>
      <dc:date>2013-07-25T00:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89055#M25377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That depends on what you're proc tabulate looks like. For example, nested headings wouldn't be supported in a dataset. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to provide more info, specifically, what does your input look like and what you want your output to look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 00:37:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89055#M25377</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-25T00:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89056#M25378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may capture the table cell values with ODS OUTPUT. For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc tabulate data=myData;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;class myClassVar;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var myVar1 myVar2 myVar3;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table (myVar1 myVar2 myVar3), myClassVar*Mean;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods output Table=myTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 00:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89056#M25378</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-07-25T00:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89057#M25379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IVS&lt;/P&gt;&lt;P&gt;Why have you rejected the OUT= option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 10:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89057#M25379</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-07-25T10:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89058#M25380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a large data set which i need to summarize into a pivot table: rows by ID, columns by time periods, and pivot is sum of units. &lt;/P&gt;&lt;P&gt;out option in proc tabulate puts out a data table that is just like my original source data &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; I can not send this table as a report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if anyone knows how to create a pivot table that i can put into excel - that would be very helpful. many thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 17:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89058#M25380</guid>
      <dc:creator>ivs</dc:creator>
      <dc:date>2013-07-25T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89059#M25381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not output directly to excel using tagsets?&lt;/P&gt;&lt;P&gt;Then you can email that file directly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 17:43:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89059#M25381</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-25T17:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89060#M25382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that would be great! what's the code? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 17:45:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89060#M25382</guid>
      <dc:creator>ivs</dc:creator>
      <dc:date>2013-07-25T17:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89061#M25383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found the tagsets - its is miserably slow. i do not think this is going to work at all. &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 18:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89061#M25383</guid>
      <dc:creator>ivs</dc:creator>
      <dc:date>2013-07-25T18:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89062#M25384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well your report seems simple enough, you should be able to run a proc means on it, and then proc transpose to get the data you want fairly simply.&amp;nbsp; Then you can export that dataset to excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if the time to do that will be less than generating tagsets, though I wouldn't have called it miserably slow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all assumes your requirements as specified are correct, and no details are missing &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 18:59:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89062#M25384</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-25T18:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89063#M25385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my issue is with the volume of data, not the missing details - that's why it is so slow. &lt;/P&gt;&lt;P&gt;i am exploring building a crosstab with proc sql - seems to be the best option at the moment. &lt;/P&gt;&lt;P&gt;thanks for your advice nonetheless. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 19:13:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89063#M25385</guid>
      <dc:creator>ivs</dc:creator>
      <dc:date>2013-07-25T19:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89064#M25386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My concern with a a SQL solution is that it would require you to know the time periods in advance/hard code them?&lt;/P&gt;&lt;P&gt;But maybe I'm wrong &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;Good Luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 19:20:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89064#M25386</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-25T19:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89065#M25387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As pointed out in an earlier comment, it would be helpful to have a broad sample of the input data and what you expect the output to actually look like. What are the "time periods" (e.g. specific dates, day numbers (e.g. day1, day2), quarters, months, years)? Will the columns be restricted only to certain "time periods" (e.g. 2003 - 2013)? Is sparse data ok (e.g. January 1-5 exists, but not January 6-7), or do you need all "time periods" in a range?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2013 00:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89065#M25387</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2013-07-27T00:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89066#M25388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is what the data looks like: &lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Balance&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 152.00&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201202&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 148.00&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201203&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 160.00&lt;/P&gt;&lt;P&gt;.... so forth for id=1 until 201306...&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201202&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.50&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201202&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.00&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201203&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.55&lt;/P&gt;&lt;P&gt;... so forth for id=2 until 201306...&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35.00&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201202&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 39.00&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201203&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40.00&lt;/P&gt;&lt;P&gt;.... so forth for id=3 until 201306...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i need to see is this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201202&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201203&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201306&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 152.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 148.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 160.00&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.55&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 39.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i have about 200,000 ids for about 18 months worth of time. excel does not handle this kind of volume. proc tabulate runs fast and delivers results, but i am unable to output these results into a meaningful format (such as excel for example). tagsets option was running for a while and eventually stopped responding.&lt;/P&gt;&lt;P&gt;i solved this for time being with proc sql, but it is not very elegant. i'd still appreciate a solution with proc tabulate that outputs the results into an excel compatible format without all the column headings stacked up on top of each other as you see it in proc tabulate output. many thanks in advance if anyone has solution for this! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 17:07:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89066#M25388</guid>
      <dc:creator>ivs</dc:creator>
      <dc:date>2013-07-29T17:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89067#M25389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc transpose....except variable names can't be 201202 so you need another way to name them, in my solution I've added an M before using prefix, but put the label as the month name for printing out.&lt;/P&gt;&lt;P&gt;I think there's a typo in your example and proc tabulate points it out quickly as well &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Balance;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 152.00&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201202&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 148.00&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201203&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 160.00&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.50&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201202&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.00&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201203&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.55&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35.00&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201202&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 39.00&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201203&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40.00&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc transpose data=have out=want prefix=M;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by ID;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id month;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var balance;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idlabel month;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 17:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89067#M25389</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-29T17:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89068#M25390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by headings stacked on to one another? Is proc tabulate really the only solution you want?&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;ivs wrote:&lt;/P&gt;
&lt;P&gt;i'd still appreciate a solution with proc tabulate that outputs the results into an excel compatible format without all the column headings stacked up on top of each other as you see it in proc tabulate output. many thanks in advance if anyone has solution for this! &lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 17:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89068#M25390</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-29T17:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89069#M25391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution provided by Reeza should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would add that you can use PROC EXPORT to transfer the output from the transpose procedure into Excel, but I assume you already know that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of Excel are you using? Excel 2003 has a limitation of 65,536 rows x 256 columns. If you are using Excel 2007 or later, then handling output of this size shouldn't be a problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 18:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89069#M25391</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2013-07-29T18:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89070#M25392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reeza, thanks for pointing me to proc transpose. it is working but the code is this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc transpose data=have out=want let;&lt;/P&gt;&lt;P&gt;by ID;&lt;/P&gt;&lt;P&gt;id Month;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to use option 'let' to allow for duplicate months. &lt;/P&gt;&lt;P&gt;thanks again, this is going to work for me nicely. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 18:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89070#M25392</guid>
      <dc:creator>ivs</dc:creator>
      <dc:date>2013-07-29T18:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89071#M25393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;once you learn tabulate you'll find it easy to understand how to collapse the headings, rather than have them stacked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;option nocenter ;&lt;/P&gt;&lt;P&gt;proc tabulate missing noseps format= 7.2 formchar='|----|+|---' ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class id month ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var balance ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; table id=' ', month=' '*sum=' '*balance=' '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / rts= 10 box='id';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;My listing looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAS System&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;----------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;|id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |201201 |201202 |201203 |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;|--------+-------+-------+-------|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;|1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 152.00| 148.00| 160.00|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;|2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 4.50|&amp;nbsp;&amp;nbsp; 5.00|&amp;nbsp;&amp;nbsp; 4.55|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;|3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; 35.00|&amp;nbsp; 39.00|&amp;nbsp; 40.00|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;----------------------------------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 22:40:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89071#M25393</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-07-29T22:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89072#M25394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how do you know which month to stack things under then? e.g id 1 201202 has one entry so does it go under the first or second of id2 two 201202 entries?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's weird to see duplicate columns...but as long as it makes sense to you then ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 23:12:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89072#M25394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-29T23:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89073#M25395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the code i posted. each id has eighteen months associated with it. each month is therefore repeated as many times as there are ids. that's what option LET allows to deal with. by the way the code works for non-numerical fields as well. you just need to specify with VAR statement - in my example of data above if you had to transpose something like a character flag instead of balances. &lt;/P&gt;&lt;P&gt;thanks again for reminding me of proc transpose - i totally spaced out that it will work since i am not performing any calculation with the data, but simply rearranging it into a two-dimensional table. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 23:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tabulate-output/m-p/89073#M25395</guid>
      <dc:creator>ivs</dc:creator>
      <dc:date>2013-07-29T23:28:27Z</dc:date>
    </item>
  </channel>
</rss>

