+ Reply to Thread
Results 1 to 6 of 6

LOOKUP with Criteria returning multiple values with TEXT JOIN

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,108

    LOOKUP with Criteria returning multiple values with TEXT JOIN

    Excel Gurus,

    Given that I have a dynamic array result output that I'd like to do a lookup of (cell I3:I7) against a table, I can do it with XLOOKUP. However, I have another condition that IF the XLOOKUP return an error, I'd like to then do a LOOKUP based on the cells to the left of it (cell Ex:Hx).

    The problem here is that, my cells of the error are not dynamic array, it was a manual user input (cell Ex:Hx).

    I have a PARTIAL INDIVIDUAL working formula, but do not know:
    1. Making my TEXTJOIN with UNIQUE and FILTER formula to return #N/A for PO id that's not found
    2. Combining both XLOOKUP and TEXTJOIN with UNIQUE and FILTER formula into 1 and have it spill dynamically based on the data size.

    MY current formula:

    Please Login or Register  to view this content.
    Lookup with Criteria Dynamic Array.png
    Attached Files Attached Files
    Last edited by dluhut; 08-17-2022 at 04:45 PM.

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: LOOKUP with Criteria returning multiple values with TEXT JOIN

    Perhaps in J3:

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,108

    Re: LOOKUP with Criteria returning multiple values with TEXT JOIN

    This only returns the result of the TEXTJOIN with #N/A if there's no match.

    But it's not dynamically spill down the rows

  4. #4
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: LOOKUP with Criteria returning multiple values with TEXT JOIN

    Hmmm. OK. Hopefully you have MAKEARRAY then:

    Please Login or Register  to view this content.
    WBD

  5. #5
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,108

    Re: LOOKUP with Criteria returning multiple values with TEXT JOIN

    Thankfully enough, I do have MAKEARRAY.

    I don't understand the MAKEARRAY function. As well, in your LAMBDA function, you have 2 parameters, r and c. What I don't see anywhere where the c is being used for in this case.

    Anyway...problem solved and reps up.

  6. #6
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: LOOKUP with Criteria returning multiple values with TEXT JOIN

    It's only a one column array so c is always 1 and is ignored. Glad it's working for you.

    WBD

+ 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. Two-way Lookup returning multiple text values (Spilled array formula)
    By DWX57 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-18-2022, 12:17 PM
  2. Text Join Multiple Criteria
    By T.Turner in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-11-2020, 07:13 AM
  3. Replies: 2
    Last Post: 11-30-2019, 11:19 AM
  4. Lookup Values from table using multiple text/numeric criteria
    By mark_luke in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-12-2019, 01:20 AM
  5. [SOLVED] Requesting help returning text values from criteria based on multiple columns
    By dzarrabi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-15-2013, 08:16 AM
  6. Lookup on 1 criteria but returning multiple results
    By swingding in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-08-2013, 05:18 AM
  7. Replies: 3
    Last Post: 10-10-2005, 01:05 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