<?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: Excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/337980#M18062</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS excel file= "~/YOURS.xlsx" ;&lt;BR /&gt;proc report data=DB.TABLE nowd ;&lt;BR /&gt;column name VALUE;&lt;BR /&gt;define CITY/ "" display style={cellwidth=3.0in};&lt;BR /&gt;define POPULATION/ "" display style={cellwidth=3.0in};&lt;/P&gt;&lt;P&gt;compute CITY;&lt;BR /&gt;if age LESS 50000 then&lt;BR /&gt;call define(_row_,"Style","Style={background=BLUE}");&lt;BR /&gt;end&lt;BR /&gt;comp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2017 19:58:05 GMT</pubDate>
    <dc:creator>BoelterBI</dc:creator>
    <dc:date>2017-03-03T19:58:05Z</dc:date>
    <item>
      <title>Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/243969#M15080</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the ODS to create an excel report with alternating colors for rows.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm now trying to get a row to change color based on a returned value within the row.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if job_rc = 4 then yellow/orange.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions to point me in the right direction of adding this functionality?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jonathan&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2016 01:51:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/243969#M15080</guid>
      <dc:creator>jdmarshg</dc:creator>
      <dc:date>2016-01-16T01:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/243970#M15081</link>
      <description>&lt;P&gt;How are you creating your report. What ODS destination are you using?&lt;/P&gt;
&lt;P&gt;Please post your code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The quick answer is proc report with a compute column - search for papers on the topic.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2016 02:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/243970#M15081</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-16T02:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/244128#M15090</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods excel file= "/folders/myfolders/report.xlsx" ;
proc report data=sashelp.class nowd ; 
 column name age;
 define name/ "" display style={cellwidth=2.5in};
 define age/ "" display style={cellwidth=2.5in};
 

  compute age;
  if age le 14 then 
  call define(_row_,"Style","Style={background=yellow}"); 
 endcomp;

run; 

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Jan 2016 02:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/244128#M15090</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-18T02:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/244130#M15091</link>
      <description>Hello yes I was able to find documentation on the topic to get the issue resolved.</description>
      <pubDate>Mon, 18 Jan 2016 02:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/244130#M15091</guid>
      <dc:creator>jdmarshg</dc:creator>
      <dc:date>2016-01-18T02:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/337980#M18062</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS excel file= "~/YOURS.xlsx" ;&lt;BR /&gt;proc report data=DB.TABLE nowd ;&lt;BR /&gt;column name VALUE;&lt;BR /&gt;define CITY/ "" display style={cellwidth=3.0in};&lt;BR /&gt;define POPULATION/ "" display style={cellwidth=3.0in};&lt;/P&gt;&lt;P&gt;compute CITY;&lt;BR /&gt;if age LESS 50000 then&lt;BR /&gt;call define(_row_,"Style","Style={background=BLUE}");&lt;BR /&gt;end&lt;BR /&gt;comp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 19:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel/m-p/337980#M18062</guid>
      <dc:creator>BoelterBI</dc:creator>
      <dc:date>2017-03-03T19:58:05Z</dc:date>
    </item>
  </channel>
</rss>

