+ Reply to Thread
Results 1 to 3 of 3

Index Match: First "1" after x

  1. #1
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Index Match: First "1" after x

    I'm convinced there's a super easy solution to the following

    Basically, I'm trying to find the column location of the first "1" after the value stated in KP. (KR contains the correct results)

    i.e. The first "1" after 287. (193)

    The issue is that KP is variable, hence a conventional array doesn't work.

    Also, the formula is to be replicated thousands of times - & solutions such as this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    .. crashes Excel!
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Index Match: First "1" after x

    Not sure if it will be more effective/less computing time hungry (at least it's much shorter :-)) than IFERROR and AGGREGATE, but you may try array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Index Match: First "1" after x

    PS. In your profile you mentioned Excel 2016. If that is true you could use built in function:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Standard (not array) formula and only one, so shall be much quicker than both above solutions.

+ 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. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. IF(ISNA(INDEX,Match)"Yes", "No"
    By prince_xavier2001 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-22-2013, 11:36 AM
  4. Replies: 7
    Last Post: 04-11-2013, 12:46 AM
  5. Strings Variables in Range("A1").Formula = "=index/match" ?
    By nadnerb5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2012, 05:07 PM
  6. [SOLVED] Variable "sheet-name" and "range-name" wanted in INDEX/MATCH-function
    By Fiebuls in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2012, 04:09 PM
  7. Replies: 3
    Last Post: 02-16-2011, 02:55 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