+ Reply to Thread
Results 1 to 9 of 9

Finding trough points in a data series

Hybrid View

  1. #1
    Registered User
    Join Date
    05-27-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    5

    Finding trough points in a data series

    Hi everyone.

    I am trying to find two most significant trough values in a data series.
    For finding the first one I used MIN(C6:C406), but finding second one proves to be more difficult.
    I want to specify, I am don't to find the second minimum point.
    If anyone has any suggestions it would be verry helpful.

    I attached here a sample of my data.
    In the graph you can see that there are several trough( Minimum "peak").
    I can find only the most negative one.
    data series.xlsx

    Thank you
    Last edited by Sie; 05-27-2012 at 02:21 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Finding trough points in a data series

    try...

    =SMALL($C6:$C406,1)
    =SMALL($C6:$C406,2)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Finding trough points in a data series

    Your data is very quiet. In D8 and copy down,

    =IF(C8=MIN(C6:C10), C8, "")
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    05-27-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Finding trough points in a data series

    Awesome, it works. I have been trying to solve this problem for a week already.
    So, for finding the two trough points I used "shg" suggestion

    =IF(C8=MIN(C6:C10), C8, "")
    and then "FDibbins" suggestions
    =SMALL($D6:$D406,1) 
    =SMALL($D6:$D406,2)

    Thank you and best of luck!!!
    Last edited by Sie; 05-27-2012 at 02:45 PM.

  5. #5
    Registered User
    Join Date
    05-27-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Finding trough points in a data series

    Quote Originally Posted by shg View Post
    Your data is very quiet. In D8 and copy down,

    =IF(C8=MIN(C6:C10), C8, "")
    shg, Is there a way to combine your formula and FDibbins formula in one, so I will get my answer in one or two cell without the need to create extra columns?

  6. #6
    Registered User
    Join Date
    05-27-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Finding trough points in a data series

    I tried
    =SMALL($C6:$C406,2)
    but this is giving me the second minimum point which is right next to . What I am searching is the value of second minimum trough ( negative peak) for which I think that I need to use a more complex formula.

    Thank you for your fast replay.
    Last edited by Sie; 05-27-2012 at 02:44 PM.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Finding trough points in a data series

    glad to help

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Finding trough points in a data series

    I wouldn't; I'd plot it as a second data series to show the detected minima.

    Noisier data would require a fancier approach, and you'd value the visual reinforcement.

  9. #9
    Registered User
    Join Date
    05-27-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Finding trough points in a data series

    Quote Originally Posted by shg View Post
    I wouldn't; I'd plot it as a second data series to show the detected minima.

    Noisier data would require a fancier approach, and you'd value the visual reinforcement.
    Yes that's true it would be a nice application. But the document I posted here is a simplified version of the full document, the full document includes over 20 columns one next to another. I need for each column the two minimum peaks value and their frequency.

    This situation will require me to add 20 extra columns to the document.
    Last edited by Sie; 05-27-2012 at 04:36 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1