<?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 tabulate issue in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-issue/m-p/211513#M13967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; If I understand what you want, it cannot be done with TAGSETS.MSOFFICE2K_X. If you want an EXCEL formula in your output report, then that is not possible with TAGSETS.MSOFFICE2K_X. Remember that even when you use a file extension of .XLS, you are NOT creating a true, binary XLS file. You are creating a basic HTML file that Excel knows how to open and render. If you look at the internal page for MSOFFICE2K_X &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/msoffice2k/index.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/msoffice2k/index.html"&gt;Base SAS: The MSOffice2K_x Tagset Adds Options to the MSOffice2K Tagset&lt;/A&gt; you will see there is no way to specify a formula in the cells. And certainly, there is no way to insert an extra "row" in TABULATE output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The TAGSETS.EXCELXP destination does allow you to insert EXCEL formulas into your (XML - Spreadsheet Markup Language 2003) output report. See the example here: &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html"&gt;Base SAS: Demo: ExcelXP Tagset and Microsoft Excel&lt;/A&gt; BUT, again, TABULATE will NOT insert extra rows. I did not see any example of your DESIRED output in the zip files. I only saw code and data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 15:45:58 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-03-27T15:45:58Z</dc:date>
    <item>
      <title>proc tabulate issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-issue/m-p/211511#M13965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Cynthia/ All Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took the help in same report earlier also and that was the excellent solution you shared to me . Again there is one change using proc tabulate in same report. I have to put the header A, B C , D , E with formula , F with formula in a separate row. To better understanding&amp;nbsp; I am sharing the data set with SAS code as well desired excel output sheet to compare with generate excel report. Also I sent you print screens of source report ( which i created previous ) and target report ( changes according to this ). This is request please do needful help even I am trying to resolve it but i am not getting a perfect solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value abc&amp;nbsp; 1='Eligible Couples'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2='Estd. Live Births'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3='children aged less than 10 years of age'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4='children aged less than 16 years of age'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5='children of 3 year of age'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6='children of 5 years of age'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7='children of 9 years of age'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8='children upto 1 year of age'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9='pregnant women'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10=' '&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS tagsets.MSOFFICE2k_x FILE="C:\amit\code\RCH Indicatorwise\All_India.xls"&lt;/P&gt;&lt;P&gt;STYLE=NORMAL headtext="&amp;lt;style&amp;gt; h1 {margin:0}&amp;lt;/style&amp;gt;" ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*x md "C:\amit\code\RCH Indicatorwise\H. RCH Reports - State Wise\&amp;amp;Financial_Year\MonthUpTo&amp;amp;Month_Name";*/&lt;/P&gt;&lt;P&gt;/**/&lt;/P&gt;&lt;P&gt;/*ODS Msoffice2k_x FILE="C:\amit\code\RCH Indicatorwise\H. RCH Reports - State Wise\&amp;amp;Financial_Year\MonthUpTo&amp;amp;Month_Name\All_India.xls" */&lt;/P&gt;&lt;P&gt;/*STYLE=NORMAL headtext="&amp;lt;style&amp;gt; h1 {margin:0}&amp;lt;/style&amp;gt;";*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Title*/&lt;/P&gt;&lt;P&gt;TITLE1 j=c font='verdana' color=black&amp;nbsp; height=4 BOLD justify=left underlin=0 " Performance on RCH Indicators: India ";&lt;/P&gt;&lt;P&gt;Title2 j=l font='Verdana' color=black&amp;nbsp; height=3 bold underlin=0 "India";&lt;/P&gt;&lt;P&gt;TITLE3 j=l font=Verdana color=black&amp;nbsp; height=2 bold underlin=0 "For the period: April 2013 to June 2013";&lt;/P&gt;&lt;P&gt;/*TITLE3 j=l font=Verdana color=black&amp;nbsp; height=2 bold underlin=0 "For the period: April &amp;amp;YEAR1 to &amp;amp;Month_Name &amp;amp;YEAR5";*/&lt;/P&gt;&lt;P&gt;TITLE4 j=l font=Verdana color=black&amp;nbsp; height=2 bold underlin=0 "As on 20Jul 2012, 11:00 AM";&lt;/P&gt;&lt;P&gt;/*TITLE4 j=l font=Verdana color=black&amp;nbsp; height=2 bold underlin=0 "As on &amp;amp;dt";*/&lt;/P&gt;&lt;P&gt;/*TITLE6 j=l font=Verdana color=black&amp;nbsp; height=2 bold underlin=0 "As on &amp;amp;date,&amp;amp;time1";*/&lt;/P&gt;&lt;P&gt;TITLE5 j=r font=Verdana color=black italic height=2 bold underlin=0 "Refreshed on weekly basis";&lt;/P&gt;&lt;P&gt;FOOTNOTE1 font=verdana&amp;nbsp; height=1 bold j=left "Note:";&lt;/P&gt;&lt;P&gt;FOOTNOTE2 font=verdana&amp;nbsp; height=1 j=left "Provisional Figures";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data Work.APPEND_TABLE3;&lt;/P&gt;&lt;P&gt;set Work.APPEND_TABLE3;&lt;/P&gt;&lt;P&gt;/*Need="Need Assessed";*/&lt;/P&gt;&lt;P&gt;Need=" ";&lt;/P&gt;&lt;P&gt;Achievement="Achievement during April to &amp;amp;Month_Name ";&lt;/P&gt;&lt;P&gt;India="India";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC TABULATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA=Work.APPEND_TABLE3 STYLE={bordercolor=#000000 FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=MEDIUM FONT_STYLE=ROMAN};&lt;/P&gt;&lt;P&gt;VAR NeedAssessed code&amp;nbsp; CurrFinYearAchivement PreFinYearAchivement PercentageChange PercentagechangeNeedAssessed PerFill / STYLE={bordercolor= #000000 FONT_SIZE=.01 background=#fbf6d9 color=vigb} ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS ReportTypeDecs_V / STYLE=[bordercolor=#000000 FONT_SIZE=.01 background= #fbf6d9 color=vigb] ORDER=UNFORMATTED MISSING;&lt;/P&gt;&lt;P&gt;CLASS ReportType_v / STYLE=[bordercolor= #000000 FONT_SIZE=.01 background= #fbf6d9 color=vigb] ORDER=UNFORMATTED MISSING;&lt;/P&gt;&lt;P&gt;CLASS Achievement/ STYLE=[bordercolor= #000000 FONT_SIZE=.01 background= #fbf6d9 color=vigb] ORDER=UNFORMATTED MISSING;&lt;/P&gt;&lt;P&gt;CLASS NEED/ STYLE=[bordercolor= #000000 FONT_SIZE=.01 background= #fbf6d9 color=vigb] ORDER=UNFORMATTED MISSING;&lt;/P&gt;&lt;P&gt;class India/ STYLE=[bordercolor= #000000 FONT_SIZE=.01 background= #fbf6d9 color=vigb] order=unformatted missing;&lt;/P&gt;&lt;P&gt;CLASS SNO /STYLE=[bordercolor=#000000 FONT_SIZE=.01 color=vigb] ORDER=UNFORMATTED MISSING;&lt;/P&gt;&lt;P&gt;CLASS Item_code / STYLE=[bordercolor= #000000 FONT_SIZE=.01 background=#fbf6d9 color=vigb] ORDER=UNFORMATTED MISSING;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;classlev SNO /&amp;nbsp; STYLE={bordercolor=#000000 FONT_SIZE=.01 color=vigb FONT_FACE='Calibri'};&lt;/P&gt;&lt;P&gt;classlev ReportTypeDecs_V /&amp;nbsp; STYLE={bordercolor=#000000 FONT_SIZE=.01 color=vigb FONT_FACE='Calibri'};&lt;/P&gt;&lt;P&gt;classlev ReportType_v /&amp;nbsp; STYLE={bordercolor=#000000 FONT_SIZE=.01 color=vigb FONT_FACE='Calibri'};&lt;/P&gt;&lt;P&gt;classlev&amp;nbsp; Achievement / style=[background= #fbf6d9 FONT_SIZE=.01 bordercolor=#000000 color=vigb FONT_FACE='Calibri'];&lt;/P&gt;&lt;P&gt;classlev&amp;nbsp; Need / style=[background= #fbf6d9 FONT_SIZE=.01 bordercolor=#000000 color=vigb FONT_FACE='Calibri'];&lt;/P&gt;&lt;P&gt;classlev&amp;nbsp; India / style=[background= #fbf6d9 FONT_SIZE=.01 bordercolor=#000000 color=vigb FONT_FACE='Calibri'];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE&lt;/P&gt;&lt;P&gt;/* ROW Statement */&lt;/P&gt;&lt;P&gt;ReportType_v={LABEL='Indicator Group' STYLE(CLASSLEV)={bordercolor=#000000 background= #fbf6d9 color=vigb FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=MEDIUM FONT_STYLE=ROMAN cellwidth=116 vjust=top}}*&lt;/P&gt;&lt;P&gt;SNO ={LABEL='S.No. ' STYLE(CLASSLEV)={bordercolor=#000000 color=vigb FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=MEDIUM FONT_STYLE=ROMAN cellwidth=60}}*&lt;/P&gt;&lt;P&gt;Item_code={LABEL='Item Code (As per HMIS formats)' STYLE(CLASSLEV)={bordercolor=#000000 background= #fbf6d9 color=vigb FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=MEDIUM FONT_STYLE=ROMAN cellwidth=240 vjust=top}}*&lt;/P&gt;&lt;P&gt;ReportTypeDecs_V ={LABEL='Item ' STYLE(CLASSLEV)={bordercolor=#000000 color=vigb background= #fbf6d9 FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=MEDIUM FONT_STYLE=ROMAN cellwidth=240}}&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;/* COLUMN Statement */&lt;/P&gt;&lt;P&gt;Sum ={LABEL="Need Assessed (&amp;amp;YEAR1-&amp;amp;YEAR2)" STYLE={FONT_FACE='Calibri' bordercolor=#000000 color=vigb FONT_SIZE=.01 FONT_WEIGHT=BOLD FONT_STYLE=ROMAN&lt;/P&gt;&lt;P&gt;background=#fbf6d9 cellwidth=162 cellheight=10 vjust=C}}*&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;NeedAssessed ={LABEL="Nos.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (A)&amp;nbsp;&amp;nbsp;&amp;nbsp; " STYLE={FONT_FACE='Calibri' bordercolor=#000000 color=vigb FONT_SIZE=.01 FONT_WEIGHT=BOLD FONT_STYLE=ROMAN&lt;/P&gt;&lt;P&gt;background=#fbf6d9 cellwidth=100 cellheight=40 Vjust=center }} code ={LABEL="Units&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (B)" STYLE={FONT_FACE='Calibri' bordercolor=#000000 color=vigb FONT_SIZE=.01 FONT_WEIGHT=BOLD FONT_STYLE=ROMAN&lt;/P&gt;&lt;P&gt;background=#fbf6d9 cellwidth=62 cellheight=40 vjust=center}}&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Achievement={LABEL=" " STYLE={bordercolor=#000000 color=vigb background= #fbf6d9 FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=BOLD&lt;/P&gt;&lt;P&gt;FONT_STYLE=ROMAN cellwidth=390 cellheight=1 vjust=top }}*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;India={LABEL=" " STYLE={bordercolor=#000000 color=vigb background= #fbf6d9 FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=BOLD&lt;/P&gt;&lt;P&gt;FONT_STYLE=ROMAN JUST=CENTER vjust=top cellwidth=390 cellheight=1}}*&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;CurrFinYearAchivement ={LABEL="&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;amp;YEAR1-&amp;amp;YEAR2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (C)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " STYLE={bordercolor=#000000 color=vigb background= #fbf6d9 FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=BOLD FONT_STYLE=ROMAN&lt;/P&gt;&lt;P&gt;cellwidth=91&amp;nbsp;&amp;nbsp;&amp;nbsp; Vjust=center}}* Sum ={LABEL=''}*f=TonsNum.* {STYLE={FONT_FACE='Calibri' FONT_SIZE=.01&lt;/P&gt;&lt;P&gt;FONT_STYLE=ROMAN FONT_WEIGHT=MEDIUM JUST=right bordercolor=#000000}}&lt;/P&gt;&lt;P&gt;PreFinYearAchivement ={LABEL="&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;amp;YEAR3-&amp;amp;YEAR4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (D)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " STYLE={bordercolor=#000000 background= #fbf6d9 color=vigb FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=BOLD FONT_STYLE=ROMAN&lt;/P&gt;&lt;P&gt;cellwidth=91&amp;nbsp; Vjust=center just=center}}* Sum ={LABEL=''}*f=TonsNum.* {STYLE={FONT_FACE='Calibri' FONT_SIZE=.01&lt;/P&gt;&lt;P&gt;FONT_STYLE=ROMAN FONT_WEIGHT=MEDIUM bordercolor=#000000}}&lt;/P&gt;&lt;P&gt;PercentageChange&amp;nbsp; ={LABEL='% Change&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (E =((C-D)/D)*100)' STYLE={bordercolor=#000000 background= #fbf6d9 color=vigb FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=BOLD FONT_STYLE=ROMAN&lt;/P&gt;&lt;P&gt;cellwidth=91 Vjust=center}}* Sum ={LABEL=''}*f=12.1* {STYLE={HTMLSTYLE="VND.MS-EXCEL.NUMBERFORMAT:#0.0"&lt;/P&gt;&lt;P&gt;FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=MEDIUM FONT_STYLE=ROMAN JUST=right bordercolor=#000000}}) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PercentagechangeNeedAssessed&amp;nbsp; ={LABEL="% Achievement of need assessed&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;amp;YEAR1-&amp;amp;YEAR2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;(F =(C/A)*100)" STYLE={bordercolor=#000000 background= #fbf6d9 color=vigb FONT_FACE='Calibri' FONT_SIZE=.01 FONT_WEIGHT=BOLD&lt;/P&gt;&lt;P&gt;FONT_STYLE=ROMAN cellwidth=134 cellheight= 50 vjust= C}}* Sum ={LABEL=''}*f=12.1*&lt;/P&gt;&lt;P&gt;{STYLE={HTMLSTYLE="VND.MS-EXCEL.NUMBERFORMAT:#0.0" FONT_FACE='Calibri' FONT_SIZE=.01&lt;/P&gt;&lt;P&gt;FONT_WEIGHT=MEDIUM FONT_STYLE=ROMAN JUST=right bordercolor=#000000}}&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ BOX={LABEL="Indicators" STYLE={bordercolor=#000000 background= #fbf6d9 color=vigb FONT_FACE='Calibri' FONT_SIZE= .4&lt;/P&gt;&lt;P&gt;FONT_WEIGHT=BOLD FONT_STYLE=ROMAN VJUST=center cellpadding=0}} style&lt;/P&gt;&lt;P&gt;=[bordercolor=black BorderWidth=1 ]&amp;nbsp; MISSTEXT=' ' ;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TITLE; FOOTNOTE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;quit;&lt;/P&gt;&lt;P&gt;ODS _ALL_ CLOSE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;+918010732125&lt;/P&gt;&lt;P&gt;India&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 02:51:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-issue/m-p/211511#M13965</guid>
      <dc:creator>ameey</dc:creator>
      <dc:date>2015-03-27T02:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-issue/m-p/211512#M13966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To clarify: You are asking to have an excel formula with references to some cells, that may not be in the table created by proc tabulate?&lt;/P&gt;&lt;P&gt;And you want the cell to resolve to a value when viewed in Excel?&lt;/P&gt;&lt;P&gt;And this MUST go into a cell that contains text from a variable label or name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an aside, for clarity and focus on your manipulation question style appearance elements only hide what the code is doing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 15:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-issue/m-p/211512#M13966</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-03-27T15:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-issue/m-p/211513#M13967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; If I understand what you want, it cannot be done with TAGSETS.MSOFFICE2K_X. If you want an EXCEL formula in your output report, then that is not possible with TAGSETS.MSOFFICE2K_X. Remember that even when you use a file extension of .XLS, you are NOT creating a true, binary XLS file. You are creating a basic HTML file that Excel knows how to open and render. If you look at the internal page for MSOFFICE2K_X &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/msoffice2k/index.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/msoffice2k/index.html"&gt;Base SAS: The MSOffice2K_x Tagset Adds Options to the MSOffice2K Tagset&lt;/A&gt; you will see there is no way to specify a formula in the cells. And certainly, there is no way to insert an extra "row" in TABULATE output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The TAGSETS.EXCELXP destination does allow you to insert EXCEL formulas into your (XML - Spreadsheet Markup Language 2003) output report. See the example here: &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html"&gt;Base SAS: Demo: ExcelXP Tagset and Microsoft Excel&lt;/A&gt; BUT, again, TABULATE will NOT insert extra rows. I did not see any example of your DESIRED output in the zip files. I only saw code and data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 15:45:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-issue/m-p/211513#M13967</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-03-27T15:45:58Z</dc:date>
    </item>
  </channel>
</rss>

