<?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: Help required with proc report!! in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Help-required-with-proc-report/m-p/580829#M13609</link>
    <description>&lt;P&gt;If you want specific values in cells you're going to need to change your approach.&lt;/P&gt;
&lt;P&gt;If you look you will see that the entire row for line 21 has columns A through E MERGED. You can check the property in Excel if you doubt that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So LINE is not what you want to use.&lt;/P&gt;
&lt;P&gt;Since you have no other column or define statements it hard to tell what your real use case may be but you likely want two columns computed in your compute after&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 14:46:21 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-08-13T14:46:21Z</dc:date>
    <item>
      <title>Help required with proc report!!</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-required-with-proc-report/m-p/580716#M13599</link>
      <description>&lt;P&gt;data class;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;SELECT&lt;BR /&gt;DISTINCT COUNT(*) + 1 INTO :CNT1&lt;BR /&gt;FROM class;&lt;BR /&gt;Quit;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;BR /&gt;ods Excel file="/&amp;amp;path/class.xlsx"&lt;BR /&gt;STYLE= sasdocprinter&lt;BR /&gt;options(sheet_name='class'&lt;BR /&gt;Orientation= "landscape"&lt;BR /&gt;Absolute_Column_Width="20"&lt;BR /&gt;Frozen_headers= 'yes'&lt;BR /&gt;embedded_titles='yes'&lt;BR /&gt;embedded_footnotes='yes'&lt;BR /&gt;);&lt;BR /&gt;proc report data=class;&lt;BR /&gt;compute after _page_/ style={just=left};&lt;BR /&gt;line @1 "T &amp;amp;CNT1";&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On executing the above code I get the excel sheet as shown in the attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you check the last row i.e. row number 21, I get the "T&amp;nbsp; &amp;nbsp; 20" in the same cell that extends up to column E. But I want the "T" to be in cell "A21" and "20" in cell "B21".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Requesting your help to achieve the above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Pranita&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 06:07:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-required-with-proc-report/m-p/580716#M13599</guid>
      <dc:creator>natrajpranita</dc:creator>
      <dc:date>2019-08-13T06:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help required with proc report!!</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-required-with-proc-report/m-p/580829#M13609</link>
      <description>&lt;P&gt;If you want specific values in cells you're going to need to change your approach.&lt;/P&gt;
&lt;P&gt;If you look you will see that the entire row for line 21 has columns A through E MERGED. You can check the property in Excel if you doubt that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So LINE is not what you want to use.&lt;/P&gt;
&lt;P&gt;Since you have no other column or define statements it hard to tell what your real use case may be but you likely want two columns computed in your compute after&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 14:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-required-with-proc-report/m-p/580829#M13609</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-13T14:46:21Z</dc:date>
    </item>
  </channel>
</rss>

