+ Reply to Thread
Results 1 to 5 of 5

IF(AND XLOOKUP Statement Help

  1. #1
    Registered User
    Join Date
    11-05-2024
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 365
    Posts
    3

    IF(AND XLOOKUP Statement Help

    As in attached spreadsheet, I need to look up values in Column B + Column E in Sheet1, that will return the corresponding value of Column O into Sheet 2, Column F.

    I've gotten as far as looking up the values in Column B and returning Column O into Sheet2, but that doesn't help me.

    Will the IF(AND statement work in the respect, and if not, what will?

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: IF(AND XLOOKUP Statement Help

    HOW ABOUT
    =INDEX(Sheet1!$O$4:$O$100,MATCH(A3&B3,Sheet1!$B$4:$B$100&Sheet1!$E$4:$E$100,0))
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    11-05-2024
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 365
    Posts
    3

    Re: IF(AND XLOOKUP Statement Help

    Thank you very much.

    That works, but I need to be able to return a blank cell if there is an error or a zero. That's why I had the IFERROR in the example.

  4. #4
    Registered User
    Join Date
    11-05-2024
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 365
    Posts
    3

    Re: IF(AND XLOOKUP Statement Help

    Quote Originally Posted by etaf View Post
    HOW ABOUT
    =INDEX(Sheet1!$O$4:$O$100,MATCH(A3&B3,Sheet1!$B$4:$B$100&Sheet1!$E$4:$E$100,0))
    Got it. Thank you very much.

    Figured out the IFERROR as well.

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: IF(AND XLOOKUP Statement Help

    you are welcome

+ 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] MAP + XLOOKUP below a value, if not above
    By guillaume0314 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2023, 01:04 AM
  2. Xlookup help?
    By KArl419 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-18-2023, 09:22 AM
  3. [SOLVED] How to Use XLOOKUP In VBA
    By PosseJohn in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-30-2022, 01:50 PM
  4. [SOLVED] XLOOKUP gives N/A
    By Hexdax in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-23-2022, 04:06 AM
  5. Trying to Combine an IF Statement with an IFERROR and XLOOKUP's
    By NothingNew-x in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-09-2022, 04:38 PM
  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

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