<?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: break a single column into multiple based on empty row or specific character in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/break-a-single-column-into-multiple-based-on-empty-row-or/m-p/421033#M66977</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;One way to achieve this is creating an indicator column with the formula below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Row() == 1,
	1,
	If( Is Missing( Lag( :Column 1, 1 ) ),
		Lag( :SPLIT, 1 ) + 1,
		Lag( :SPLIT, 1 )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And then split your original column (Split Table) using the new indicator column as Split By variable (see attached)&lt;/P&gt;
&lt;P&gt;I hope it helps.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Sep 2021 06:15:05 GMT</pubDate>
    <dc:creator>Thierry_S</dc:creator>
    <dc:date>2021-09-25T06:15:05Z</dc:date>
    <item>
      <title>break a single column into multiple based on empty row or specific character</title>
      <link>https://community.jmp.com/t5/Discussions/break-a-single-column-into-multiple-based-on-empty-row-or/m-p/421013#M66976</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can someone provide advice?&lt;/P&gt;&lt;P&gt;I have a column with structure below:&lt;BR /&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a&lt;/P&gt;&lt;P&gt;b&lt;/P&gt;&lt;P&gt;c&lt;/P&gt;&lt;P&gt;d&lt;/P&gt;&lt;P&gt;e&lt;/P&gt;&lt;P&gt;f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;xx&lt;/P&gt;&lt;P&gt;yy&lt;/P&gt;&lt;P&gt;zz&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is it possible to divide to multiple columns based on empty row (or a repeated same character)&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 a xx&lt;/P&gt;&lt;P&gt;2 b yy&lt;/P&gt;&lt;P&gt;3 c zz&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;d&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;e&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;f&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:37:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/break-a-single-column-into-multiple-based-on-empty-row-or/m-p/421013#M66976</guid>
      <dc:creator>dadawasozo</dc:creator>
      <dc:date>2023-06-10T23:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: break a single column into multiple based on empty row or specific character</title>
      <link>https://community.jmp.com/t5/Discussions/break-a-single-column-into-multiple-based-on-empty-row-or/m-p/421033#M66977</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;One way to achieve this is creating an indicator column with the formula below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Row() == 1,
	1,
	If( Is Missing( Lag( :Column 1, 1 ) ),
		Lag( :SPLIT, 1 ) + 1,
		Lag( :SPLIT, 1 )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And then split your original column (Split Table) using the new indicator column as Split By variable (see attached)&lt;/P&gt;
&lt;P&gt;I hope it helps.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Sep 2021 06:15:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/break-a-single-column-into-multiple-based-on-empty-row-or/m-p/421033#M66977</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-09-25T06:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: break a single column into multiple based on empty row or specific character</title>
      <link>https://community.jmp.com/t5/Discussions/break-a-single-column-into-multiple-based-on-empty-row-or/m-p/421062#M66980</link>
      <description>&lt;P&gt;Hi TS, This is helpful. Thanks for your reply.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Sep 2021 15:08:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/break-a-single-column-into-multiple-based-on-empty-row-or/m-p/421062#M66980</guid>
      <dc:creator>dadawasozo</dc:creator>
      <dc:date>2021-09-25T15:08:18Z</dc:date>
    </item>
  </channel>
</rss>

