+ Reply to Thread
Results 1 to 9 of 9

XLOOKUP availability?

  1. #1
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    XLOOKUP availability?

    Looks like the XLOOKUP function will only be available to Office 365 subscribers. Say it ain't so.

    Pete

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,072

    Re: XLOOKUP availability?

    Fraid it is so, although it maybe available in the next stand alone version

  3. #3
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: XLOOKUP availability?

    yups.. not in standalone EXcel 2019 or lower so have to wait for Excel 2022 (if a next standalone is ever released)

    it is not even available for all 365 users I think, only for "Insiders"
    at least that is what is said in the helptext
    https://support.office.com/en-us/art...9-88eae8bf5929

  4. #4
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: XLOOKUP availability?

    Given there's going to be a FILTER function a la Google Sheets, what's the appeal of XLOOKUP?

    FWIW, Excel Online already has FILTER, and it can be used as =INDEX(FILTER(BigRange,ISNUMBER(SEARCH(some_pattern,INDEX(BigRange,0,k)))),n) to return the entire nth row of BigRange in which some_pattern matches the column k value in BigRange. To the extent XLOOKUP also replaces HLOOKUP, it's handier than FILTER, but for VLOOKUP functionality, INDEX(FILTER(...),...) does things even XLOOKUP can't.

  5. #5
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: XLOOKUP availability?

    hringrv:

    The attraction is that XLOOKUP can return data to the left of your lookup value column without a mile long effort, can seek from the bottom or top of a range, can look for the smallest value that it exceeds, or the largest.

    Replaces HLOOKUP and how I currently use INDEX/MATCH. One stop shopping.

    It'd work for me.

    Pete

  6. #6
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: XLOOKUP availability?

    Quote Originally Posted by PeteABC123 View Post
    The attraction is that XLOOKUP can return data to the left of your lookup value column without a mile long effort, can seek from the bottom or top of a range, can look for the smallest value that it exceeds, or the largest.

    Replaces HLOOKUP and how I currently use INDEX/MATCH. One stop shopping. . . .
    Understood about returning data to left of lookup column, but so can FILTER, e.g., =INDEX(FILTER(A3:A1002,Z3:Z1002="something"),n) to return the nth match. FILTER also handles multiple criteria. OK, XLOOKUP's 2nd argument is handled as an array, so it could be (a=b)*(c=d) [AND] or SIGN((a=b)+(c=d)) [OR], but that implies calculating both (a=b) and (c=d). Dunno whether FILTER uses binary shortcuts. That is, for FILTER(x,a=b,c=d), if a given row in (a=b) is FALSE, does it still evaluate or bypass the corresponding row of (c=d)?

    Yes, XLOOKUP has 4 different match modes, and maybe it's good that Exact and wildcards are separate modes. OTOH, -1 and 1 may be problematic if coupled with the wrong binary search mode. ADDED: seems to me that binary search modes should make match modes -1 and 1 unnecessary. Alternatively, match modes -1 and 1 could make specifying search mode unnecessary. Hard to see a compelling reason for match modes -1 or 1 when lookup_array isn't sorted, and I see that as a potentially EXTREMELY fruitful source of errors for text matching when there are stray trailing spaces. Indeed, 2 more match modes would have been handy: Exact and Wildcard also automatically RTrimming both lookup_value and lookup_array. Then again maybe also options to search for numeric lookup_value in text representations of numbers in lookup_array or vice versa.

    XLOOKUP also replaces HLOOKUP, which FILTER doesn't, so XLOOKUP superior there.

    All that said. I use HLOOKUP maybe 1/100 as frequently as VLOOKUP, and I usually have more need for finding 2nd and subsequent matches for which INDEX(FILTER(...),n) would be much more useful. That said, it's a pity INDEX doesn't take negative 2nd and subsequent arguments to index bottom to top, right to left.

    Anyway, Excel Online already provides FILTER but not XLOOKUP, though I don't know whether or not that's because I'm an Office 365 subscriber.
    Last edited by hrlngrv; 01-13-2020 at 09:30 PM. Reason: elaboration

  7. #7
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: XLOOKUP availability?

    Quote Originally Posted by PeteABC123 View Post
    . . . XLOOKUP can return data to the left of your lookup value column without a mile long effort, . . .
    XLOOKUP(x,y,z,"",0) == LET(f,FILTER(z,y=x),IF(ISERROR(f),"",f))

    XLOOKUP(x,y,z,"",0,-1) == LET(f,FILTER(z,y=x),IF(ISERROR(f),"",INDEX(f,ROWS(f),0)))

    Yes, FILTER is longer in these situations. Now say you want the 2nd from the last item in z.

    LET(f,FILTER(z,y=x),IF(ISERROR(f),"",IF(ROWS(f)>1,INDEX(f,ROWS(f)-1,0))))

    Kindly show the more compact equivalent using XLOOKUP.

    XLOOKUP is better for some things, but for it's likely most frequent uses, it'd be inferior to FILTER.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,072

    Re: XLOOKUP availability?

    Why are you using iserror when filter has it's own inbuilt error handling?

  9. #9
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: XLOOKUP availability?

    Because I hadn't paid enough attention to its documentation or argument hints. Thanks for pointing that out. Makes it simpler.

    FILTER(z,y=x,"")

    LET(f,FILTER(z,y=x,{""}),INDEX(f,ROWS(f),0))

    LET(f,FILTER(z,y=x,{""}),IF(ROWS(f)>1,INDEX(f,ROWS(f)-1,0),""))

+ 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: 14
    Last Post: 09-28-2019, 10:32 PM
  2. availability sheet
    By dougers1 in forum Excel General
    Replies: 4
    Last Post: 09-05-2016, 05:01 PM
  3. Inventory availability
    By thyzt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2016, 11:44 PM
  4. Availability formula
    By thyzt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-19-2016, 02:50 PM
  5. Availability analysis
    By PipGIS in forum Excel General
    Replies: 8
    Last Post: 06-02-2011, 05:20 AM
  6. availability equation
    By frank26003 in forum Excel General
    Replies: 5
    Last Post: 05-05-2010, 11:04 AM
  7. [SOLVED] VBA Availability?
    By Paul Fenton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2006, 09:50 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