<?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 How to combine two columns info and remove redundant info? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/801727#M97754</link>
    <description>&lt;P&gt;Hi I want to get some advice of combining columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I have column 1 and 2 and these two columns are actually containing the same info of interest. I want to combine them together and remove repeat info.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Original table:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column1 Column2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final table:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 13:01:27 GMT</pubDate>
    <dc:creator>Fruit325</dc:creator>
    <dc:date>2024-09-25T13:01:27Z</dc:date>
    <item>
      <title>How to combine two columns info and remove redundant info?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/801727#M97754</link>
      <description>&lt;P&gt;Hi I want to get some advice of combining columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I have column 1 and 2 and these two columns are actually containing the same info of interest. I want to combine them together and remove repeat info.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Original table:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column1 Column2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final table:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 13:01:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/801727#M97754</guid>
      <dc:creator>Fruit325</dc:creator>
      <dc:date>2024-09-25T13:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two columns info and remove redundant info?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/801742#M97755</link>
      <description>&lt;P&gt;If they are always same, you can create new column which is some summary statistic of those columns (min, max, mean, median,...)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1727269985178.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68564iA308E15F975E8ED1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1727269985178.png" alt="jthi_0-1727269985178.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1727269992892.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68565iDA083CE4BF9DF292/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1727269992892.png" alt="jthi_1-1727269992892.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then delete the formula from new column and rename it&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1727270017142.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68567i008BB221FAD4D638/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1727270017142.png" alt="jthi_3-1727270017142.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And then remove old columns if you want to&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1727270047527.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68568i432FE9F3A54A0D4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1727270047527.png" alt="jthi_4-1727270047527.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 13:14:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/801742#M97755</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-09-25T13:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two columns info and remove redundant info?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/802599#M97895</link>
      <description>&lt;P&gt;Oh that's a good idea and I have not thought abou it...&lt;/P&gt;&lt;P&gt;So.. what if the values are categorical...?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 11:59:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/802599#M97895</guid>
      <dc:creator>Fruit325</dc:creator>
      <dc:date>2024-09-29T11:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine two columns info and remove redundant info?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/802602#M97896</link>
      <description>&lt;P&gt;If they are numerical categorical you can still use that kind of approach. If they are characters, there are still many different options and which to use can depend a little bit on your data, below is one simple example&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1727621621036.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68692iAC25376BB3FC1D89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1727621621036.png" alt="jthi_0-1727621621036.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If(
	Is Missing(:Column 1), :Column 2,
	Is Missing(:Column 2), :Column 1,
	:Column 1
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 29 Sep 2024 14:54:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-combine-two-columns-info-and-remove-redundant-info/m-p/802602#M97896</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-09-29T14:54:09Z</dc:date>
    </item>
  </channel>
</rss>

