<?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: Read in from Excel and transpose in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/442378#M110675</link>
    <description>&lt;P&gt;I figured it out. Sorry for the the lack of clarity in my question. Mod please feel free to delete this post if that's consistent with forum rules.&amp;nbsp;&lt;SPAN&gt;Thank you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Mar 2018 14:54:58 GMT</pubDate>
    <dc:creator>apolitical</dc:creator>
    <dc:date>2018-03-05T14:54:58Z</dc:date>
    <item>
      <title>Read in from Excel and transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/441602#M110497</link>
      <description>&lt;P&gt;I want to read in an Excel table like the following. The table extends to the right with more years and months under the year. The entire window is from August 2012 to September 2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;Year&lt;/TD&gt;&lt;TD&gt;2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;Month&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Net Sales Units&lt;/TD&gt;&lt;TD&gt;Net Sales $&lt;/TD&gt;&lt;TD&gt;Product Margin $&lt;/TD&gt;&lt;TD&gt;Net Sales Units&lt;/TD&gt;&lt;TD&gt;Net Sales $&lt;/TD&gt;&lt;TD&gt;Product Margin $&lt;/TD&gt;&lt;TD&gt;Net Sales Units&lt;/TD&gt;&lt;TD&gt;Net Sales $&lt;/TD&gt;&lt;TD&gt;Product Margin $&lt;/TD&gt;&lt;TD&gt;Net Sales Units&lt;/TD&gt;&lt;TD&gt;Net Sales $&lt;/TD&gt;&lt;TD&gt;Product Margin $&lt;/TD&gt;&lt;TD&gt;Net Sales Units&lt;/TD&gt;&lt;TD&gt;Net Sales $&lt;/TD&gt;&lt;TD&gt;Product Margin $&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to read it into SAS and transform the table into something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product&amp;nbsp; &amp;nbsp;Year_Month&amp;nbsp; &amp;nbsp;Net_Sales_Units&amp;nbsp; &amp;nbsp;Net_Sales$&amp;nbsp; &amp;nbsp;Product_Margin$&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can be done by reading the table into SAS and performing manual manipulations. But is there a quicker way to achieve that? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 16:05:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/441602#M110497</guid>
      <dc:creator>apolitical</dc:creator>
      <dc:date>2018-03-02T16:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Read in from Excel and transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/441604#M110498</link>
      <description>&lt;P&gt;Sorry the table got screwed up a bit. It should be 3 columns (Net Sales Units, Net Sales$, Product Margin$) under each month (8,9..12).&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 16:08:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/441604#M110498</guid>
      <dc:creator>apolitical</dc:creator>
      <dc:date>2018-03-02T16:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Read in from Excel and transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/441607#M110499</link>
      <description>&lt;P&gt;I think you need to provide better sample data in this case.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 16:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/441607#M110499</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-02T16:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Read in from Excel and transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/442378#M110675</link>
      <description>&lt;P&gt;I figured it out. Sorry for the the lack of clarity in my question. Mod please feel free to delete this post if that's consistent with forum rules.&amp;nbsp;&lt;SPAN&gt;Thank you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 14:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-from-Excel-and-transpose/m-p/442378#M110675</guid>
      <dc:creator>apolitical</dc:creator>
      <dc:date>2018-03-05T14:54:58Z</dc:date>
    </item>
  </channel>
</rss>

