<?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: Annualize Totals for Current Year in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368918#M275527</link>
    <description>&lt;P&gt;This isn't just a technical question, you have to provide the methodology and you need historic to forecast out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can look at the procedures in SAS/ETS (time series) data on how you might forecast your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 19:56:36 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-06-20T19:56:36Z</dc:date>
    <item>
      <title>Annualize Totals for Current Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368842#M275524</link>
      <description>&lt;P&gt;Hello All!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking to annualize my totals that I have through 05/31/2017 and looking to annualize for total current year based on the numbers through the end of May.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&amp;nbsp;$12,500 in total sales through 05/31/2017 and looking to annualize/project for full year of 2017 based on those current results.&amp;nbsp; Will also be performing the same calculating once June is complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've been able to do this in Excel and wondering if this is at all possible in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help and/or coding examples will be greatly appreciated. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:47:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368842#M275524</guid>
      <dc:creator>PhatRam33</dc:creator>
      <dc:date>2017-06-20T17:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Annualize Totals for Current Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368854#M275525</link>
      <description>&lt;P&gt;Please provide some sample data in the form of a datastep &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 18:10:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368854#M275525</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-06-20T18:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Annualize Totals for Current Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368886#M275526</link>
      <description>&lt;P&gt;Here is an example of what the data looks like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; work.temp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;date9.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;date &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;mmddyy10.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;type $&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;sales &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;8.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;cards&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;05/31/2017 APPLES 12500&lt;/P&gt;
&lt;P&gt;05/31/2017 ORANGES 8000&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 19:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368886#M275526</guid>
      <dc:creator>PhatRam33</dc:creator>
      <dc:date>2017-06-20T19:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Annualize Totals for Current Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368918#M275527</link>
      <description>&lt;P&gt;This isn't just a technical question, you have to provide the methodology and you need historic to forecast out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can look at the procedures in SAS/ETS (time series) data on how you might forecast your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 19:56:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/368918#M275527</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-20T19:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Annualize Totals for Current Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/369168#M275528</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41922"&gt;@PhatRam33&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello All!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking to annualize my totals that I have through 05/31/2017 and looking to annualize for total current year based on the numbers through the end of May.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&amp;nbsp;$12,500 in total sales through 05/31/2017 and looking to annualize/project for full year of 2017 based on those current results.&amp;nbsp; Will also be performing the same calculating once June is complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've been able to do this in Excel and wondering if this is at all possible in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help and/or coding examples will be greatly appreciated. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Describe the process you used in Excel.&lt;/P&gt;
&lt;P&gt;If it is anything like assuming the sales will be the same for each month of the year and extrapolate that total to the end of the year then:&lt;/P&gt;
&lt;PRE&gt;data work.temp;
   format date date9.;
   input
      date mmddyy10.
      type $
      sales 8.
   ;
   EstAnnualSale = (sales/month(date))*12;
cards;
05/31/2017 APPLES 12500
05/31/2017 ORANGES 8000
;
run;
&lt;/PRE&gt;
&lt;P&gt;The sales/(month(date)) determines average monthly sales to date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 14:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Annualize-Totals-for-Current-Year/m-p/369168#M275528</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-21T14:33:27Z</dc:date>
    </item>
  </channel>
</rss>

