<?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: Merging two files based on the values of one columm in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Merging-two-files-based-on-the-values-of-one-columm/m-p/969488#M110478</link>
    <description>&lt;P&gt;Hi Pilar,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you have here is called 'pipe-delimited' text with the X and Y columns holding the data as "1&amp;nbsp;&lt;SPAN&gt;| 2&amp;nbsp;| 3" and so on. There is an option in JMP in Cols &amp;gt; Utilities &amp;gt; Text to Columns that can help. I'll give you a full guide of what I did below, I've also created a workflow with &lt;A href="https://www.jmp.com/en/software/workflow-builder" target="_self"&gt;workflow builder&lt;/A&gt; for you to follow along.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;First you want to import both the baseline and meta file, you can do this with File&amp;gt;Open or just drag/drop into a JMP window. Starting with the baseline:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_0-1788791270632.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115880i671BFC83BEE4D1E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_0-1788791270632.png" alt="Ben_BarrIngh_0-1788791270632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We want to remove the X and Y separators and create separate columns for each entry, that we will later 'stick together' with JMP. For both the X and Y columns we want to click the column, go to Cols&amp;gt;Utilities&amp;gt;Text to Columns. Once the window pops up, add the '|' as your delimiter, then hit okay. Do the same for your Y column.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_1-1788791329767.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115881iB048D84F646AA800/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_1-1788791329767.png" alt="Ben_BarrIngh_1-1788791329767.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_2-1788791349509.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115882i8FAAA0D9E762E756/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_2-1788791349509.png" alt="Ben_BarrIngh_2-1788791349509.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The data table will look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_4-1788791416070.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115884i7C0E5FA0A8CE9E95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_4-1788791416070.png" alt="Ben_BarrIngh_4-1788791416070.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't want to keep the original 'X' and 'Y' column, so we can delete them both.&lt;/P&gt;
&lt;P&gt;Now we want to create two columns from the data, one for the X, another for the Y. To do this go to Table &amp;gt; Stack, then select all of your X and Y columns. So JMP can recognise these are two distinct groups that are being stacked, click 'Multiple Series Stack', set the series to '2' and hit 'contiguous' (see below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_5-1788791535378.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115886iD774FEC6D9B09D0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_5-1788791535378.png" alt="Ben_BarrIngh_5-1788791535378.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The resulting table will have your X and Y table correctly stacked and lined up, you can delete the 'Label' and 'Label2' columns, rename the 'Data' columns to x and Y, and then it's done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_6-1788791623067.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115887iB0A494FF15A2D0E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_6-1788791623067.png" alt="Ben_BarrIngh_6-1788791623067.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As I mentioned, I created a workflow from this, and just added a step to pick the excel file, so this should work for all your files, guided that they follow the same format (I added a graphing step at the end just to show how you can also automating graphing).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;BR /&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
    <pubDate>Mon, 07 Sep 2026 14:35:13 GMT</pubDate>
    <dc:creator>Ben_BarrIngh</dc:creator>
    <dc:date>2026-09-07T14:35:13Z</dc:date>
    <item>
      <title>Merging two files based on the values of one columm</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-two-files-based-on-the-values-of-one-columm/m-p/969423#M110475</link>
      <description>&lt;P&gt;I have two .csv files which share one column header, which is WELL POSITION, and I would like to merge both files into one.&lt;/P&gt;
&lt;P&gt;Also, one of the files have two columns in which there are individual values separated by a vertical line (|). I would need to format that .csv file so that I have each of that values in a single row.&lt;/P&gt;
&lt;P&gt;I send attached the two files I mention.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2026 13:00:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-two-files-based-on-the-values-of-one-columm/m-p/969423#M110475</guid>
      <dc:creator>Pilarmmt</dc:creator>
      <dc:date>2026-09-07T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two files based on the values of one columm</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-two-files-based-on-the-values-of-one-columm/m-p/969488#M110478</link>
      <description>&lt;P&gt;Hi Pilar,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you have here is called 'pipe-delimited' text with the X and Y columns holding the data as "1&amp;nbsp;&lt;SPAN&gt;| 2&amp;nbsp;| 3" and so on. There is an option in JMP in Cols &amp;gt; Utilities &amp;gt; Text to Columns that can help. I'll give you a full guide of what I did below, I've also created a workflow with &lt;A href="https://www.jmp.com/en/software/workflow-builder" target="_self"&gt;workflow builder&lt;/A&gt; for you to follow along.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;First you want to import both the baseline and meta file, you can do this with File&amp;gt;Open or just drag/drop into a JMP window. Starting with the baseline:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_0-1788791270632.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115880i671BFC83BEE4D1E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_0-1788791270632.png" alt="Ben_BarrIngh_0-1788791270632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We want to remove the X and Y separators and create separate columns for each entry, that we will later 'stick together' with JMP. For both the X and Y columns we want to click the column, go to Cols&amp;gt;Utilities&amp;gt;Text to Columns. Once the window pops up, add the '|' as your delimiter, then hit okay. Do the same for your Y column.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_1-1788791329767.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115881iB048D84F646AA800/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_1-1788791329767.png" alt="Ben_BarrIngh_1-1788791329767.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_2-1788791349509.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115882i8FAAA0D9E762E756/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_2-1788791349509.png" alt="Ben_BarrIngh_2-1788791349509.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The data table will look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_4-1788791416070.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115884i7C0E5FA0A8CE9E95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_4-1788791416070.png" alt="Ben_BarrIngh_4-1788791416070.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't want to keep the original 'X' and 'Y' column, so we can delete them both.&lt;/P&gt;
&lt;P&gt;Now we want to create two columns from the data, one for the X, another for the Y. To do this go to Table &amp;gt; Stack, then select all of your X and Y columns. So JMP can recognise these are two distinct groups that are being stacked, click 'Multiple Series Stack', set the series to '2' and hit 'contiguous' (see below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_5-1788791535378.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115886iD774FEC6D9B09D0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_5-1788791535378.png" alt="Ben_BarrIngh_5-1788791535378.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The resulting table will have your X and Y table correctly stacked and lined up, you can delete the 'Label' and 'Label2' columns, rename the 'Data' columns to x and Y, and then it's done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_6-1788791623067.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115887iB0A494FF15A2D0E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_6-1788791623067.png" alt="Ben_BarrIngh_6-1788791623067.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As I mentioned, I created a workflow from this, and just added a step to pick the excel file, so this should work for all your files, guided that they follow the same format (I added a graphing step at the end just to show how you can also automating graphing).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;BR /&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2026 14:35:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-two-files-based-on-the-values-of-one-columm/m-p/969488#M110478</guid>
      <dc:creator>Ben_BarrIngh</dc:creator>
      <dc:date>2026-09-07T14:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two files based on the values of one columm</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-two-files-based-on-the-values-of-one-columm/m-p/969490#M110479</link>
      <description>&lt;P&gt;Hi Pilar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Realised I didn't add part two:&lt;/P&gt;
&lt;P&gt;Once you've got the 'Meta' and 'Baseline' files in, you can join them together by using the fact they both have columns describing the 'Well' - go to the Baseline table, and go Tables&amp;gt;Update. You can select to update it with the 'Meta' table, and just match the columns that show the wells together (see below)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_7-1788791810629.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/115888i76493C6A65B161D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_7-1788791810629.png" alt="Ben_BarrIngh_7-1788791810629.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will stick the metadata from one table, to the other table via the identification of 'Well'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2026 14:37:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-two-files-based-on-the-values-of-one-columm/m-p/969490#M110479</guid>
      <dc:creator>Ben_BarrIngh</dc:creator>
      <dc:date>2026-09-07T14:37:23Z</dc:date>
    </item>
  </channel>
</rss>

