<?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: how to provide conditional formatting in cell in proc report in sas in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/how-to-provide-conditional-formatting-in-cell-in-proc-report-in/m-p/567868#M11582</link>
    <description>&lt;P&gt;Thanks for the answer clear explanation Sir.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2019 10:31:37 GMT</pubDate>
    <dc:creator>sivastat08</dc:creator>
    <dc:date>2019-06-21T10:31:37Z</dc:date>
    <item>
      <title>how to provide conditional formatting in cell in proc report in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-provide-conditional-formatting-in-cell-in-proc-report-in/m-p/567573#M11536</link>
      <description>&lt;P&gt;how to provide conditional formatting in cell in proc report in sas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL INOBS=100;&lt;BR /&gt;CREATE TABLE WORK.QUERY_FOR_CARS AS&lt;BR /&gt;SELECT t1.Make,&lt;BR /&gt;t1.Model,&lt;BR /&gt;t1.Type,&lt;BR /&gt;t1.Origin,&lt;BR /&gt;t1.DriveTrain,&lt;BR /&gt;t1.MSRP,&lt;BR /&gt;t1.Invoice,&lt;BR /&gt;t1.EngineSize,&lt;BR /&gt;t1.Cylinders,&lt;BR /&gt;t1.Horsepower,&lt;BR /&gt;t1.MPG_City,&lt;BR /&gt;t1.MPG_Highway,&lt;BR /&gt;t1.Weight,&lt;BR /&gt;t1.Wheelbase,&lt;BR /&gt;t1.Length&lt;BR /&gt;FROM SASHELP.CARS t1;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data=work.query_for_cars;&lt;BR /&gt;title HEIGHT=.25in 'Second Level Audit Findings by Client and Auditor' bold;&lt;BR /&gt;column Cylinders DriveTrain EngineSize Horsepower Invoice ;&lt;BR /&gt;define Cylinders/center;&lt;BR /&gt;define DriveTrain/center;&lt;BR /&gt;define EngineSize/center;&lt;BR /&gt;compute EngineSize;&lt;BR /&gt;if EngineSize &amp;lt; 3 then&lt;BR /&gt;call define(_col_,"style","style={background=red}");&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this report shows red highlighter for column.i need EngineSize &amp;lt; 3 should be red color&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 10:59:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-provide-conditional-formatting-in-cell-in-proc-report-in/m-p/567573#M11536</guid>
      <dc:creator>sivastat08</dc:creator>
      <dc:date>2019-06-20T10:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to provide conditional formatting in cell in proc report in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-provide-conditional-formatting-in-cell-in-proc-report-in/m-p/567654#M11555</link>
      <description>&lt;P&gt;Sometimes you have to be careful with the DEFINE. Numeric variables will default to SUM analysis and that does not appear to be how you are using Enginesize.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc report data=work.query_for_cars;
title HEIGHT=.25in 'Second Level Audit Findings by Client and Auditor' bold;
column Cylinders DriveTrain EngineSize Horsepower Invoice ;
define Cylinders/center;
define DriveTrain/center;
define EngineSize/center &lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;display&lt;/FONT&gt;&lt;/STRONG&gt;;
compute EngineSize;
   if EngineSize &amp;lt; 3 then
   call define(_col_,"style","style={background=red}");
endcomp;
run;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Jun 2019 15:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-provide-conditional-formatting-in-cell-in-proc-report-in/m-p/567654#M11555</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-20T15:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to provide conditional formatting in cell in proc report in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-provide-conditional-formatting-in-cell-in-proc-report-in/m-p/567868#M11582</link>
      <description>&lt;P&gt;Thanks for the answer clear explanation Sir.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 10:31:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-provide-conditional-formatting-in-cell-in-proc-report-in/m-p/567868#M11582</guid>
      <dc:creator>sivastat08</dc:creator>
      <dc:date>2019-06-21T10:31:37Z</dc:date>
    </item>
  </channel>
</rss>

