+ Reply to Thread
Results 1 to 3 of 3

Nesting XLOOKP Operations or use something else?

  1. #1
    Registered User
    Join Date
    08-05-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    9

    Nesting XLOOKP Operations or use something else?

    Using Excel 365.

    I have large tables for some chemical data that I need to do various look ups to return other corresponding data points. I've used XLOOKUP with great success so far but I've tried a nested XLOOKUP up for a slightly more complex situation. Please see below for images illustrating the assessed flow of how I think this operation should work to reach the desired end state (the last part of the image got cut for some reason, see the PDF for full final image). Ive attached the images in a PDF and the excel file for experimentation. Any insight or suggestions would be greatly appreciated. I'm not married to XLOOKUP either, it just seemed like a logical choice.

    01-06.png
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,832

    Re: Nesting XLOOKP Operations or use something else?

    In B18, try this:

    =LET(a,XLOOKUP(A9,E2:S2,E4:S22,,0),FILTER(a,SEQUENCE(COUNT(a))>=MATCH(A13,a,0)))

    In A18, try this:
    =FILTER(F4:F22,SEQUENCE(COUNT(F4:F22))>=MATCH(A13,XLOOKUP(A9,E2:S2,E4:S22,,0),0))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-05-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    9

    Re: Nesting XLOOKP Operations or use something else?

    Thank you Greg, your solution worked perfectly! And as an added bonus I've learned how to use those additional functions.

+ 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] Simple operations in VBA
    By LIL2606 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-30-2019, 02:51 PM
  2. Replies: 4
    Last Post: 02-26-2015, 06:10 AM
  3. [SOLVED] Operations with dates in VBA
    By Proditech Orion in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2014, 04:09 PM
  4. Matrix Operations in VBA
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-17-2005, 10:10 AM
  5. substring operations
    By jana in forum Excel General
    Replies: 1
    Last Post: 10-26-2005, 02:05 PM
  6. If operations again
    By MIKE0W in forum Excel General
    Replies: 3
    Last Post: 03-24-2005, 02:51 PM
  7. logic operations
    By MIKE0W in forum Excel General
    Replies: 2
    Last Post: 03-24-2005, 01:15 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