+ Reply to Thread
Results 1 to 6 of 6

Infinite Continuous Lookup until Criteria Match

  1. #1
    Registered User
    Join Date
    06-11-2020
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Microsoft 365
    Posts
    7

    Infinite Continuous Lookup until Criteria Match

    As per sample excel attached. From original data to have output as intended, what's the best formula ?

    I'm currently using a lot of helper column with INDAX MATCH formula, but it's infinite until match is found.

    So the problem will be if the situation grow more than existing helper column, will need to manually add in columns and the formula calculation will becomes more hectic.

    Looking for a simplified solution which not need to add any column manually.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: Infinite Continuous Lookup until Criteria Match

    One way:

    =IFERROR(HSTACK(FILTER(A2:B8,C2:C8=""),FILTER(D2:E8,F2:F8="")),"")

    ensure all results are deleted in result range first...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Infinite Continuous Lookup until Criteria Match

    I don't see any formula in your Excel example

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: Infinite Continuous Lookup until Criteria Match

    or (all in one) in N1:

    =LET(a,HSTACK(FILTER(A2:B100,C2:C100="")&"",FILTER(D2:E100,F2:F100="")&""),VSTACK({"Current Ranking","Agent","Current Sponsor Rank","Current Sponsor"},FILTER(a,INDEX(a,,1)<>"")))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-11-2020
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Microsoft 365
    Posts
    7

    Re: Infinite Continuous Lookup until Criteria Match

    Dear Glenn.

    Thanks a lot for the magic formula. Appreciate it very very much.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: Infinite Continuous Lookup until Criteria Match

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. [SOLVED] IF Date Criteria AND Team Match Lookup here if not lookup there
    By deanhall99 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2021, 07:12 AM
  2. [SOLVED] Index Lookup 2 Criteria with Few Strings Can be Match with Any Criteria
    By uckycool in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-23-2021, 05:54 AM
  3. Replies: 11
    Last Post: 07-14-2020, 09:31 AM
  4. [SOLVED] Lookup value with 2 exact match criteria and ignoring other 2 criteria
    By iasinschi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-01-2018, 12:50 PM
  5. [SOLVED] Inputbox with multiple criteria is going into infinite loop
    By lordterrin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-05-2013, 01:57 PM
  6. lookup or match two criteria
    By diogenes505 in forum Excel General
    Replies: 1
    Last Post: 02-07-2012, 08:55 AM
  7. lookup value if it match a criteria.
    By coolhit in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-31-2009, 06:27 AM

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