+ Reply to Thread
Results 1 to 4 of 4

Scan a series of rows in sequence and identify cell where value falls below previous max?

  1. #1
    Registered User
    Join Date
    03-25-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    61

    Scan a series of rows in sequence and identify cell where value falls below previous max?

    Howdy Excel Geniuses!

    I'm trying to figure out how to go through a series of rows of data (a 1-dimensional array), and spot when the next row tested is more than X amount below whatever the previous maximum value was.

    The tricky part is, my data are not smooth - there's noise! So that is why I'm not just looking for the simple MAX in the entire array, and also why I need to see a drop of X amount below the max-so-far in order to flag it.

    And my final challenge is that I have to have a column of these formulas, one for each new row: each formula will look through the next 500 rows... and I have tens of thousands of rows. I understand that I should therefore avoid array formulas because they are slow??

    I've been banging my head against the desk on this for hours, trying IF and MAX and COUNTIF and MATCH formulas, and I can't get anything to work.

    Any ideas?
    Last edited by hadamhiram; 03-26-2013 at 06:45 PM.

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Scan a series of rows in sequence and identify cell where value falls below previous m

    Is this what you mean?
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    03-25-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: Scan a series of rows in sequence and identify cell where value falls below previous m

    This is fantastic - and so simple! I can't believe I couldn't figure it out... I think I can make the rest of the steps from here.

    Thanks so much!


    EDIT: Argh! Close, but not quite! The solution does its work using the entire column, rather the just doing its work in its own cell - and that means it can't be populated downward for each new row!

    So, since I already marked this "Solved", I'm going to repost the question...
    Last edited by hadamhiram; 03-26-2013 at 10:27 PM.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Scan a series of rows in sequence and identify cell where value falls below previous m


    ----------

+ 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