<?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: Using In Column Data to Calculate a New Column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573408#M78241</link>
    <description>&lt;P&gt;Here is the formula I used to get the below results&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( :From == 0, hold = :RL );
hold - :RL;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1669347373777.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47611i0D120DE110A4EB0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1669347373777.png" alt="txnelson_0-1669347373777.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2022 03:39:08 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-11-25T03:39:08Z</dc:date>
    <item>
      <title>Using In Column Data to Calculate a New Column</title>
      <link>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573322#M78231</link>
      <description>&lt;P&gt;I am trying to use the data in columns to calculate in a new column.&lt;/P&gt;&lt;P&gt;The columns with data will be ID, From(Depth),and RL&lt;/P&gt;&lt;P&gt;The problem is I want to calculate a "depth" below a specific point (RL).&lt;/P&gt;&lt;P&gt;How I see the formula is if ID=ID and From = 0 then use the RL at From=0 and subtract the RL at the next From and repeat till the a new ID&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:57:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573322#M78231</guid>
      <dc:creator>Jacovz</dc:creator>
      <dc:date>2023-06-10T23:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using In Column Data to Calculate a New Column</title>
      <link>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573373#M78234</link>
      <description>&lt;P&gt;The description of the data table attached to your entry is different from what is in the attached data table.&amp;nbsp; The attached data table contains&lt;/P&gt;
&lt;P&gt;ID&lt;/P&gt;
&lt;P&gt;mFrom&lt;/P&gt;
&lt;P&gt;mTo&lt;/P&gt;
&lt;P&gt;RL_MGA20&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1669342378797.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47606iD2D63FD87B7109BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1669342378797.png" alt="txnelson_0-1669342378797.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What you describe is that your data table has&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;SPAN&gt;The columns with data will be ID, From(Depth),and RL&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;I do not understand what you are asking for&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 02:18:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573373#M78234</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-11-25T02:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using In Column Data to Calculate a New Column</title>
      <link>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573377#M78237</link>
      <description>&lt;P&gt;&amp;nbsp;Hi Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;What I am trying to achieve is to create a depth from a common plane / point which is the collar of a drill hole.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If ID=ID (from the same hole) and From = 0 then RL(value where From = 0) - RL .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have update the file to better reflect the question, also i added a column Expected_outcome to show what i am trying to achieve.&lt;/P&gt;&lt;P&gt;ID is the drill hole name&lt;/P&gt;&lt;P&gt;From is the depth from the collar at surface&lt;/P&gt;&lt;P&gt;RL is the height of the point with respect to sea level.&lt;/P&gt;&lt;P&gt;Depth_From_0 would be the depth below the surface where From=0 and the corresponding RL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 03:01:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573377#M78237</guid>
      <dc:creator>Jacovz</dc:creator>
      <dc:date>2022-11-25T03:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using In Column Data to Calculate a New Column</title>
      <link>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573408#M78241</link>
      <description>&lt;P&gt;Here is the formula I used to get the below results&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( :From == 0, hold = :RL );
hold - :RL;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1669347373777.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47611i0D120DE110A4EB0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1669347373777.png" alt="txnelson_0-1669347373777.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 03:39:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573408#M78241</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-11-25T03:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using In Column Data to Calculate a New Column</title>
      <link>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573409#M78242</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;Thank you for the solution.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 03:44:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-In-Column-Data-to-Calculate-a-New-Column/m-p/573409#M78242</guid>
      <dc:creator>Jacovz</dc:creator>
      <dc:date>2022-11-25T03:44:45Z</dc:date>
    </item>
  </channel>
</rss>

