<?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 freq into excel - layout and design in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-into-excel-layout-and-design/m-p/693127#M211305</link>
    <description>&lt;P&gt;It would be fairly simple to do the formatting in Excel rather than in SAS. This type of formatting can be done in SAS but it takes more effort, and I would do it in PROC REPORT rather than PROC FREQ.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is something that has to be automated, then I guess you would want to do it in SAS. Here are some examples:&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf&lt;/A&gt;&amp;nbsp;but there are a gazillion (well, actually a gazillion minus 7 &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;) papers out there on the internet on how to get this type of formatting from PROC REPORT.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 12:26:39 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-10-21T12:26:39Z</dc:date>
    <item>
      <title>Proc freq into excel - layout and design</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-into-excel-layout-and-design/m-p/693114#M211300</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to style my proc freq plot just as this.&lt;/P&gt;&lt;P&gt;is that possible&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Udklip.PNG"&gt;&lt;img src="https://communities.sas.com/skins/images/70F8802BAA6255D55FBEC62A8226FB10/responsive_peak/images/image_not_found.png" alt="Udklip.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 11:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-into-excel-layout-and-design/m-p/693114#M211300</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2020-10-21T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq into excel - layout and design</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-into-excel-layout-and-design/m-p/693127#M211305</link>
      <description>&lt;P&gt;It would be fairly simple to do the formatting in Excel rather than in SAS. This type of formatting can be done in SAS but it takes more effort, and I would do it in PROC REPORT rather than PROC FREQ.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is something that has to be automated, then I guess you would want to do it in SAS. Here are some examples:&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf&lt;/A&gt;&amp;nbsp;but there are a gazillion (well, actually a gazillion minus 7 &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;) papers out there on the internet on how to get this type of formatting from PROC REPORT.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:26:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-into-excel-layout-and-design/m-p/693127#M211305</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-21T12:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq into excel - layout and design</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-into-excel-layout-and-design/m-p/693213#M211339</link>
      <description>&lt;P&gt;Depends on how exact you want to get. You can get exactly that but it requires some work to get it formatted exactly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have a couple of options:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use a style that's close enough and call that a day&lt;/LI&gt;
&lt;LI&gt;Develop your entire own style template - if you're a company and will be doing a lot of regular reporting this can definitely be worth the time investment.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Use PROC REPORT and customize the output to match what's shown below. Here's a rough idea, you'll need to customize your&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.cars(obs=10) style(header)=[background=cx2b8cbe foreground=black] ;
column origin make model type mpg_city mpg_highway;
   compute type;
      count+1;
      if not(mod(count,2))  then do;
         call define(_row_, "style", "style=[background=lightgrey]");
      end;
   endcomp;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/kb/23/647.html" target="_blank"&gt;https://support.sas.com/kb/23/647.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(modified)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/353472"&gt;@mmea&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I want to style my proc freq plot just as this.&lt;/P&gt;
&lt;P&gt;is that possible&lt;/P&gt;
&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Udklip.PNG"&gt;&lt;img src="https://communities.sas.com/skins/images/70F8802BAA6255D55FBEC62A8226FB10/responsive_peak/images/image_not_found.png" alt="Udklip.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 15:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-into-excel-layout-and-design/m-p/693213#M211339</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-21T15:02:51Z</dc:date>
    </item>
  </channel>
</rss>

