<?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 Saving Frequency Tables in Excel in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54099#M14963</link>
    <description>Can frequency tables (displayed in the output window) be saved as excel files? I can't export these tables, and I can't copy-paste them on to an excel file as the format gets all garbled. &lt;BR /&gt;
&lt;BR /&gt;
Suggestions will be appreciated.</description>
    <pubDate>Mon, 13 Jul 2009 17:55:40 GMT</pubDate>
    <dc:creator>spg</dc:creator>
    <dc:date>2009-07-13T17:55:40Z</dc:date>
    <item>
      <title>Saving Frequency Tables in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54099#M14963</link>
      <description>Can frequency tables (displayed in the output window) be saved as excel files? I can't export these tables, and I can't copy-paste them on to an excel file as the format gets all garbled. &lt;BR /&gt;
&lt;BR /&gt;
Suggestions will be appreciated.</description>
      <pubDate>Mon, 13 Jul 2009 17:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54099#M14963</guid>
      <dc:creator>spg</dc:creator>
      <dc:date>2009-07-13T17:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Frequency Tables in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54100#M14964</link>
      <description>I'm interesting if there is a better way to do this, I create the results in HTLM (under tools, options, preferences) and then copy and paste into excel</description>
      <pubDate>Mon, 13 Jul 2009 18:25:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54100#M14964</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-07-13T18:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Frequency Tables in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54101#M14965</link>
      <description>You can use ODS to save procedure output in Excel format. Here's some documentation: &lt;A href="http://support.sas.com/rnd/base/ods/excel/index.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/excel/index.html&lt;/A&gt;.</description>
      <pubDate>Mon, 13 Jul 2009 18:35:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54101#M14965</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2009-07-13T18:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Frequency Tables in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54102#M14966</link>
      <description>Thanks! i have been reading the documentation, but have not been able to successfully export the tables.&lt;BR /&gt;
&lt;BR /&gt;
i use the html procedure as well, but it garbles the format.</description>
      <pubDate>Thu, 16 Jul 2009 15:51:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54102#M14966</guid>
      <dc:creator>spg</dc:creator>
      <dc:date>2009-07-16T15:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Frequency Tables in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54103#M14967</link>
      <description>If you describe the problem you're encountering and post some code to demonstrate the problem, somebody on this forum may be able to offer a suggestion.</description>
      <pubDate>Fri, 17 Jul 2009 14:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54103#M14967</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2009-07-17T14:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Frequency Tables in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54104#M14968</link>
      <description>A couple of things you might consider are outputting to a data set and then you can export that data set to Excel.  What you would do is this:&lt;BR /&gt;
&lt;BR /&gt;
proc freq data=lib.test ;&lt;BR /&gt;
table var1 / out=list.test1;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Your new data set would have three variables:  var1, count, and percent.  This is fine for a single variable frequency.  If you do a by- frequency, then you'd get a more complex data set.&lt;BR /&gt;
&lt;BR /&gt;
One thing that I've had good luck with in copy/pasting single frequency tables from the output window is using the Excel feature of Data / Text-to-Columns.  It takes a little playing around with to get it to break just right, but it's pretty forgiving.&lt;BR /&gt;
&lt;BR /&gt;
Good luck.</description>
      <pubDate>Tue, 21 Jul 2009 21:25:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54104#M14968</guid>
      <dc:creator>stateworker</dc:creator>
      <dc:date>2009-07-21T21:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Frequency Tables in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54105#M14969</link>
      <description>Thanks stateworker. Your tip was very useful! &lt;BR /&gt;
I have used the Text to Columns feature before....but I was having trouble doing the same for the frequency tables.</description>
      <pubDate>Thu, 23 Jul 2009 14:49:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Saving-Frequency-Tables-in-Excel/m-p/54105#M14969</guid>
      <dc:creator>spg</dc:creator>
      <dc:date>2009-07-23T14:49:39Z</dc:date>
    </item>
  </channel>
</rss>

