<?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: find duration from a table of dates in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320226#M57077</link>
    <description>Jeff's answer is independent of row quantity. So no worry</description>
    <pubDate>Mon, 12 Oct 2020 04:20:47 GMT</pubDate>
    <dc:creator>ThuongLe</dc:creator>
    <dc:date>2020-10-12T04:20:47Z</dc:date>
    <item>
      <title>find duration from a table of dates</title>
      <link>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/319851#M57021</link>
      <description>&lt;P&gt;#i have this attached table where the dates are submitted at the end of 12 different production steps (here column 1 to column 12). each row represent a unique production object. so i have 27 prod objects, each going through 12 prod steps; and hence have 12 prod dates. #I need to find the following: the duration required for the prod object to go from step1 or some other step to last completed step. Depending on the object: the last completed date can be step 12 or anything between step 2 and step 12. same goes for the start date, it does not necessarily start from step 1, so it can start from any step like 8 or 10 and then end at step 12. THE END DATE IS ALWAYS LATER THAN THE START DATE. # i need to &lt;STRIKE&gt;write a function that would&lt;/STRIKE&gt; find the duration for all production objects/rows whether the first step is (1 to 12 ) and the last completed step is (1 to12) . please note the last completed date is not necessarily current/today date. it can be any date in the past/present/future. i am not sure how to script this &lt;STRIKE&gt;write this function&lt;/STRIKE&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:20:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/319851#M57021</guid>
      <dc:creator>tonkatsu2020</dc:creator>
      <dc:date>2023-06-10T23:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: find duration from a table of dates</title>
      <link>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/319890#M57024</link>
      <description>There is not an attached data table</description>
      <pubDate>Fri, 09 Oct 2020 22:57:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/319890#M57024</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-10-09T22:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: find duration from a table of dates</title>
      <link>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320187#M57067</link>
      <description>hello &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt; i have uploaded the data table</description>
      <pubDate>Sun, 11 Oct 2020 16:45:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320187#M57067</guid>
      <dc:creator>tonkatsu2020</dc:creator>
      <dc:date>2020-10-11T16:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: find duration from a table of dates</title>
      <link>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320191#M57068</link>
      <description>&lt;P&gt;Thanks, that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/statistical-functions.shtml#ww122671" target="_self"&gt;Minimum() and Maximum()&lt;/A&gt; functions will work for you here.&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="2020-10-11_12-56-41.274.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/27331i34271861DB6DDD37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2020-10-11_12-56-41.274.png" alt="2020-10-11_12-56-41.274.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NB: In the &lt;A href="https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/formula-editor.shtml#353794" target="_self"&gt;Formula Editor&lt;/A&gt; you can click on Column 1 and shift-click on column 12 and drag them into the argument for Minimum() and Maximum().&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FormulaEditorDrag.gif" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/27333i1852263D47B06477/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FormulaEditorDrag.gif" alt="FormulaEditorDrag.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 17:05:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320191#M57068</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2020-10-11T17:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: find duration from a table of dates</title>
      <link>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320204#M57075</link>
      <description>#Jeff, thank you for your solution. I should have also added that I have to implement this in a larger data table where the productions-steps/columns are not fixed; i.e. the data will be scattered across aprox &amp;lt;200 columns. Also the production-objects/rows will be increasing every day, so not limited to 27 rows here. It will be 100+ rows everyday.&lt;BR /&gt;#Hence in order to put these into a script: 1) how do i reference the column ranges where the column qty is not fixed. 2) how do i reference the specific columns that indicate the START and END dates?</description>
      <pubDate>Sun, 11 Oct 2020 23:47:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320204#M57075</guid>
      <dc:creator>tonkatsu2020</dc:creator>
      <dc:date>2020-10-11T23:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: find duration from a table of dates</title>
      <link>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320226#M57077</link>
      <description>Jeff's answer is independent of row quantity. So no worry</description>
      <pubDate>Mon, 12 Oct 2020 04:20:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/find-duration-from-a-table-of-dates/m-p/320226#M57077</guid>
      <dc:creator>ThuongLe</dc:creator>
      <dc:date>2020-10-12T04:20:47Z</dc:date>
    </item>
  </channel>
</rss>

