+ Reply to Thread
Results 1 to 4 of 4

Find the first time a threshold value is exceed in an unsorted range

  1. #1
    Registered User
    Join Date
    02-27-2012
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    2

    Find the first time a threshold value is exceed in an unsorted range

    Hi,

    I have an unsorted range of values in a column. From that range I want to determine the position (row) in which the a particular value is exceeded for the first time. The correct value in the attached example is 5 (corresponding to value 84.7). Any suggestions to cure my blind spot?ExcelForumQuestion.xlsx

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Find the first time a threshold value is exceed in an unsorted range

    welcome to the forum. try:
    =MATCH(TRUE,INDEX(TestRange>ThresholdValue,),0)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    02-27-2012
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Find the first time a threshold value is exceed in an unsorted range

    Thanks Benishiryo,

    That solution worked but I had to make one adjustment to the data. Initially I had some "~" as observations in the data set. That meant that in some circumstances your solution did not work correctly (I did not discover why). But, once the ~ was removed, the solution worked. Thanks for your prompt response.

    Cheers

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Find the first time a threshold value is exceed in an unsorted range

    you're welcome. if the tilda (~) is really there, try:
    =MATCH(1,INDEX((TestRange>ThresholdValue)*(ISNUMBER(TestRange)),),0)

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Find the address of an n't max value in an unsorted list
    By bormar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2012, 07:39 PM
  2. Assigning Threshold to time format
    By Locust in forum Excel General
    Replies: 4
    Last Post: 02-27-2011, 01:01 PM
  3. Calculating % of time that values fall over a threshold
    By greyscale in forum Excel General
    Replies: 2
    Last Post: 02-03-2011, 11:31 PM
  4. Calculating % of time that values fall within threshold
    By greyscale in forum Excel General
    Replies: 3
    Last Post: 11-26-2010, 03:56 AM
  5. Find first threshold violation
    By Nick Krill in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2006, 11:10 PM

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