<?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 Column formula to select column value matching other column values. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Column-formula-to-select-column-value-matching-other-column/m-p/283147#M54778</link>
    <description>&lt;P&gt;I have a table similar to the one below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spoikayil_0-1596144866261.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25876iB99E4CFC58820838/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spoikayil_0-1596144866261.png" alt="spoikayil_0-1596144866261.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to find the time since the 'START' step for each row. So, for each row I need to find the 'STARTTIME' value that match the 'BATCH' value and&amp;nbsp; the Step as 'START' and then find the difference of that row's start time from the first start step - time stamp for that batch.&lt;/P&gt;&lt;P&gt;Hoping to make it clearer;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spoikayil_0-1596145730681.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25877i09302E55B2F41898/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spoikayil_0-1596145730681.png" alt="spoikayil_0-1596145730681.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I write a column formula to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aware of using the Row() function to select previous row or nth row etc. but here I need to find a row number based on a condition. Is that even possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:17:07 GMT</pubDate>
    <dc:creator>spoikayil</dc:creator>
    <dc:date>2023-06-10T23:17:07Z</dc:date>
    <item>
      <title>Column formula to select column value matching other column values.</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-select-column-value-matching-other-column/m-p/283147#M54778</link>
      <description>&lt;P&gt;I have a table similar to the one below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spoikayil_0-1596144866261.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25876iB99E4CFC58820838/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spoikayil_0-1596144866261.png" alt="spoikayil_0-1596144866261.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to find the time since the 'START' step for each row. So, for each row I need to find the 'STARTTIME' value that match the 'BATCH' value and&amp;nbsp; the Step as 'START' and then find the difference of that row's start time from the first start step - time stamp for that batch.&lt;/P&gt;&lt;P&gt;Hoping to make it clearer;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spoikayil_0-1596145730681.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25877i09302E55B2F41898/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spoikayil_0-1596145730681.png" alt="spoikayil_0-1596145730681.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I write a column formula to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aware of using the Row() function to select previous row or nth row etc. but here I need to find a row number based on a condition. Is that even possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:17:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-select-column-value-matching-other-column/m-p/283147#M54778</guid>
      <dc:creator>spoikayil</dc:creator>
      <dc:date>2023-06-10T23:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Column formula to select column value matching other column values.</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-select-column-value-matching-other-column/m-p/283157#M54781</link>
      <description>&lt;P&gt;I think this is easier than you think.&amp;nbsp; See if this formula works&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:starttime - col minimum(:Starttime,:Batch);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Jul 2020 22:13:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-select-column-value-matching-other-column/m-p/283157#M54781</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-07-30T22:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Column formula to select column value matching other column values.</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-select-column-value-matching-other-column/m-p/283176#M54786</link>
      <description>&lt;P&gt;You were right! Thanks very much! I didnt know the column minimum function had a group by option.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 00:57:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-select-column-value-matching-other-column/m-p/283176#M54786</guid>
      <dc:creator>spoikayil</dc:creator>
      <dc:date>2020-07-31T00:57:57Z</dc:date>
    </item>
  </channel>
</rss>

