<?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 (Urgent!) How to transpose cells like this in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515777#M3000</link>
    <description>&lt;P&gt;How can I change the dataset&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;x1 y1 5&lt;/P&gt;&lt;P&gt;x2 y1 2&lt;/P&gt;&lt;P&gt;x1 y2 4&lt;/P&gt;&lt;P&gt;x2 y2 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;into this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; y1 y2&lt;/P&gt;&lt;P&gt;x1&amp;nbsp; 5&amp;nbsp; &amp;nbsp;4&lt;/P&gt;&lt;P&gt;x2&amp;nbsp; 2&amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be graceful if someone can help me out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Nov 2018 12:10:44 GMT</pubDate>
    <dc:creator>Jonathanzz</dc:creator>
    <dc:date>2018-11-25T12:10:44Z</dc:date>
    <item>
      <title>(Urgent!) How to transpose cells like this</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515777#M3000</link>
      <description>&lt;P&gt;How can I change the dataset&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;x1 y1 5&lt;/P&gt;&lt;P&gt;x2 y1 2&lt;/P&gt;&lt;P&gt;x1 y2 4&lt;/P&gt;&lt;P&gt;x2 y2 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;into this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; y1 y2&lt;/P&gt;&lt;P&gt;x1&amp;nbsp; 5&amp;nbsp; &amp;nbsp;4&lt;/P&gt;&lt;P&gt;x2&amp;nbsp; 2&amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be graceful if someone can help me out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 12:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515777#M3000</guid>
      <dc:creator>Jonathanzz</dc:creator>
      <dc:date>2018-11-25T12:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: (Urgent!) How to transpose cells like this</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515778#M3001</link>
      <description>Actually, my data has over 1000 x and y variables. Can I do it with array?</description>
      <pubDate>Sun, 25 Nov 2018 12:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515778#M3001</guid>
      <dc:creator>Jonathanzz</dc:creator>
      <dc:date>2018-11-25T12:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: (Urgent!) How to transpose cells like this</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515779#M3002</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=have;
    by x;
run;
proc transpose data=have out=want;
    by x;
    id y;
    var column3;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since you didn't provide variable names, I chose my own variable names. I hope you can figure out which name corresponds to which variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the future, please provide variable names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the future, please provide (a portion of) your data as a SAS data step, as explained here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 12:25:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515779#M3002</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-11-25T12:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: (Urgent!) How to transpose cells like this</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515780#M3003</link>
      <description>Thanks a lot! You are my hero!</description>
      <pubDate>Sun, 25 Nov 2018 12:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Urgent-How-to-transpose-cells-like-this/m-p/515780#M3003</guid>
      <dc:creator>Jonathanzz</dc:creator>
      <dc:date>2018-11-25T12:29:31Z</dc:date>
    </item>
  </channel>
</rss>

