<?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: Combine data between rows in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202174#M266888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, just proc sort, nodupkey, by id and number.&amp;nbsp; This will give you 1 row per unique id+number, with a ype (probably the first which appears in the dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 14:06:24 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-08-19T14:06:24Z</dc:date>
    <item>
      <title>Combine data between rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202169#M266883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking for a way to compare data between rows, and only show the distinct values, the idea is to create a repot that shows the all the possible contact numbers. I have the data from multiple sources and the same number is used as another contact number. The idea is to have all the unique contact numbers.&lt;/P&gt;&lt;P&gt;Is there a way to achieve this?, any help would&amp;nbsp; be appreciated&lt;/P&gt;&lt;P&gt;Example of the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#000000&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;}" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; font-family: arial,helvetica,sans-serif; background-color: #6690bc;"&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; font-family: arial,helvetica,sans-serif; background-color: #6690bc;"&gt;&lt;STRONG&gt;ph1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; font-family: arial,helvetica,sans-serif; background-color: #6690bc;"&gt;&lt;STRONG&gt;ph2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; font-family: arial,helvetica,sans-serif; background-color: #6690bc;"&gt;&lt;STRONG&gt;ph3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; font-family: arial,helvetica,sans-serif; background-color: #6690bc;"&gt;&lt;STRONG&gt;ph4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; font-family: arial,helvetica,sans-serif; background-color: #6690bc;"&gt;&lt;STRONG&gt;ph5&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;111&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;111&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;222&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;222&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;333&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;444&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;555&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;666&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;777&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;888&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;888&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #000000; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired Output&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ph1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ph2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ph3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ph4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ph5&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;111&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;222&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;444&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;333&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;666&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;888&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;777&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 12:41:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202169#M266883</guid>
      <dc:creator>afernandezj</dc:creator>
      <dc:date>2015-08-19T12:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data between rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202170#M266884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mmm, seems to be a lot of these questions at the moment.&amp;nbsp; You are struggling due to the nature of the thinking.&amp;nbsp; The data does not need to be transposed in this way, you will find life much easier in a normalised table.&amp;nbsp;&amp;nbsp; Consider this, the second datastep creates a normalised structure with the results going down the page.&amp;nbsp; This can then easily be nodupkey sorted to give the unique values.&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; retain id ph1-ph5;&lt;/P&gt;&lt;P&gt;&amp;nbsp; id=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ph1=111;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ph4=111;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ph1=.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ph4=.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ph3=222;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ph2=222;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;data want (keep=id res);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; array ph{5};&lt;/P&gt;&lt;P&gt;&amp;nbsp; do i=1 to 5;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ph{i} ne . then do; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; res=ph{i};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc sort data=want nodupkey;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; by id res;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 13:05:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202170#M266884</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-19T13:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data between rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202171#M266885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thank you for your response, I had that though and I was able to convert the data to use the same column for the phone number, and another column to display the type of phone number:&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;id&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;number&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;type&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;111&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ph1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;222&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ph2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;111&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ph5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;333&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ph3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;444&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ph4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem here is removing the duplicate numbers, and since every ID has at least 3 numbers, I have a lot of data. The result was would not fit on an excel spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to "clean" the data in this format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 13:26:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202171#M266885</guid>
      <dc:creator>afernandezj</dc:creator>
      <dc:date>2015-08-19T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data between rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202172#M266886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why does the type matter?&amp;nbsp; In your example in the first post you take 222 from ph3, why not from ph2?&amp;nbsp; Doesn't seem to make sense to me.&amp;nbsp; You basically just want to find a list of unique numbers per id, so drop type and nodupkey sort it, i.e. id=1 only has 2, 1 is 111, the other 222.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the second point, you don't really want to use Excel, I mean what reason would you have.&amp;nbsp; PDF for output, CSV or XML for transfer. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 13:42:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202172#M266886</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-19T13:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data between rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202173#M266887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm being asked to display the type of contact information, for example if it is the house number, a cell, fax, etc, etc.&lt;/P&gt;&lt;P&gt;If there is a duplicate number, I should take just one, it does not matter witch type I choose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 13:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202173#M266887</guid>
      <dc:creator>afernandezj</dc:creator>
      <dc:date>2015-08-19T13:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data between rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202174#M266888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, just proc sort, nodupkey, by id and number.&amp;nbsp; This will give you 1 row per unique id+number, with a ype (probably the first which appears in the dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 14:06:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202174#M266888</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-19T14:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data between rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202175#M266889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I'm generating the information, so I can try what you suggested. I will let you know of the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 14:16:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202175#M266889</guid>
      <dc:creator>afernandezj</dc:creator>
      <dc:date>2015-08-19T14:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data between rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202176#M266890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the proc sort nodupkey by id and number, i was able to get 1 row, per id and number, Thanks!&lt;/P&gt;&lt;P&gt;I'm still removing numbers the users type just to fill in the fields, then I will need to transpose the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 13:12:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Combine-data-between-rows/m-p/202176#M266890</guid>
      <dc:creator>afernandezj</dc:creator>
      <dc:date>2015-08-20T13:12:35Z</dc:date>
    </item>
  </channel>
</rss>

