+ Reply to Thread
Results 1 to 5 of 5

Using LARGE in XLOOKUP

  1. #1
    Registered User
    Join Date
    11-25-2022
    Location
    USA
    MS-Off Ver
    365
    Posts
    2

    Using LARGE in XLOOKUP

    Greetings,

    I want the function to return the largest number in the row by cross-referencing a selected variable (column). My thought was a simple xlookup, however, I continue to get value errors. The formula I thought would work was =XLOOKUP(Cell, column array, LARGE(table array,1)). I have tried different variations but still can?t seem to find one that works. Any help is much appreciated.

    Juan
    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,023

    Re: Using LARGE in XLOOKUP

    Try:
    =MAX(FILTER(C3:G7,B3:B7=J3))
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-25-2022
    Location
    USA
    MS-Off Ver
    365
    Posts
    2

    Re: Using LARGE in XLOOKUP

    Thank you! Your function works. Incase you care, I was also able to notice that =LARGE(XLOOKUP(J3,B3:B7,C3:G7),1) works as well.

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Re: Using LARGE in XLOOKUP

    Alternately, =MAX((C3:G7)*(B3:B7=J3)) or =LARGE((C3:G7)*(B3:B7=J3),1)

  5. #5
    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,023

    Re: Using LARGE in XLOOKUP

    There are many ways to this sort of thing!!

    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] XLOOKUP gives N/A
    By Hexdax in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-23-2022, 04:06 AM
  2. [SOLVED] if and xlookup
    By pickslides in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2022, 07:24 AM
  3. If this do this XLOOKUP otherwise do this XLOOKUP
    By MattKoleczko in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-21-2022, 08:14 AM
  4. Alternative to Xlookup loops for large dataset in a macro?
    By scampling in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2022, 10:21 AM
  5. [SOLVED] Xlookup in PQ
    By Excelski in forum Excel General
    Replies: 7
    Last Post: 09-09-2021, 07:15 AM
  6. Two-way Xlookup
    By Ballet4ever in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2021, 10:11 PM
  7. [SOLVED] Xlookup with VBA, need some help!
    By CSimm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-19-2021, 03:14 PM

Tags for this Thread

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