<?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: To add data to separate columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448526#M701141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u post sample data for text...Name1.....text....Name2 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2012 14:00:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-24T14:00:46Z</dc:date>
    <item>
      <title>To add data to separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448525#M701140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ask you for help. I am loading this table from .xls:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 387px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl22" height="17" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none;" width="323"&gt;Text&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl22" height="17" style="border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none; border-top: medium none;"&gt;…text...Name1….text….Name2….text…..Name3….&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl22" height="17" style="border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none; border-top: medium none;"&gt;…text...Name1….text….Name2….text…..Name3….&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl22" height="17" style="border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none; border-top: medium none;"&gt;…text...Name1….text….Name2….text…..Name3….&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl22" height="17" style="border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none; border-top: medium none;"&gt;…text...Name1….text….Name2….text…..Name3….&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl22" height="17" style="border-top: medium none;"&gt;…&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none; border-top: medium none;"&gt;…&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know, how I can determine &amp;amp; divide Name1/Name2/Name3 from string Text and add to separate columns. The expected result should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="790"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="323"&gt;Text&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="126"&gt;NewColumn1&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="133"&gt;NewColumn2&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="144"&gt;NewColumn3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="17" style="border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;…text...Name1….text….Name2….text…..Name3….&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name1&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name2&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="17" style="border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;…text...Name1….text….Name2….text…..Name3….&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name1&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name2&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="17" style="border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;…text...Name1….text….Name2….text…..Name3….&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name1&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name2&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="17" style="border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;…text...Name1….text….Name2….text…..Name3….&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name1&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name2&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;Name3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-top: medium none;"&gt;…&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;…&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;…&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;…&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;…&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance, James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 13:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448525#M701140</guid>
      <dc:creator />
      <dc:date>2012-10-24T13:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: To add data to separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448526#M701141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u post sample data for text...Name1.....text....Name2 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 14:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448526#M701141</guid>
      <dc:creator />
      <dc:date>2012-10-24T14:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: To add data to separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448527#M701142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, here it is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt;***text text text text &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt;26-Aug-2011&lt;/SPAN&gt; &lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt;08:57&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt; (GMT+2:00) added by &lt;STRONG&gt;Name1&lt;/STRONG&gt; text text text***text text text text &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt;27-Aug-2012&lt;/SPAN&gt; &lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt;01:45&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt; (GMT+2:00) added by &lt;STRONG&gt;Name2&lt;/STRONG&gt; text text text&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt;***text text text text 12&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt;-Aug-2011&lt;/SPAN&gt; &lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt;03:12&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 10pt;"&gt; (GMT+2:00) added by &lt;STRONG&gt;Name3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you, James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 14:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448527#M701142</guid>
      <dc:creator />
      <dc:date>2012-10-24T14:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: To add data to separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448528#M701143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as per your text, you can try for &lt;/P&gt;&lt;P&gt;Name1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;subfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;subfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Text&lt;/SPAN&gt;, 'added by', 2)), ' ', 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Name2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;subfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Text, ' added by ', 3), ' ', 1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Name 3 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Text, ' added by ', 4) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;You can try accoring your string, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;hope this helps&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 14:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448528#M701143</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2012-10-24T14:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: To add data to separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448529#M701144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi renjithpl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for answer, this is probably the right way. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, i have not noticed, that there should be a lot of names in the string and they are composed from first name and last name [John Doe], so this solution is not the "best fit" for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the original loaded data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14-Dec-2011 10:41 (GMT+1:00) added by John Doe 1 (PID-004933):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT TEXT TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14-Dec-2011 09:49 (GMT+1:00) added by John Doe 2 (PID-003104):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT TEXT TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12-Dec-2011 15:03 (GMT+1:00) added by John Doe 3 (PID-003405):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT TEXT TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;02-Dec-2011 08:46 (GMT+1:00) added by John Doe 4 (PID-003164):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT TEXT TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and more…&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 15:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448529#M701144</guid>
      <dc:creator />
      <dc:date>2012-10-24T15:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: To add data to separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448530#M701145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the textbetween function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trim(textbetween(Text,'added by','(PID')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 16:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448530#M701145</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-24T16:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: To add data to separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448531#M701146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried function &lt;EM&gt;textbetween, &lt;/EM&gt;it works perfectly, but unfortunately only for first name in the string..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 06:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448531#M701146</guid>
      <dc:creator />
      <dc:date>2012-10-25T06:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: To add data to separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448532#M701147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, I thought you had more lines of text, not one long string. If you have a fixed number of names you can add an index to textbetween as second parameter to get the n-th match. Otherwise I'd first use subfield to create seperate records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 08:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-data-to-separate-columns/m-p/448532#M701147</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-25T08:41:39Z</dc:date>
    </item>
  </channel>
</rss>

