+ Reply to Thread
Results 1 to 9 of 9

Ifna(xlookup)

  1. #1
    Registered User
    Join Date
    07-12-2024
    Location
    Kansas, USA
    MS-Off Ver
    2404
    Posts
    3

    Ifna(xlookup)

    i have a table entitled "Weed Info" which contains data that I want to lookup through Lookup and XLookup functions. If the information to look up is not in the table (column A), i want the result to be a blank cell. I have created the function below to look up this data, but instead of a blank cell i get a zero (0) returned. Could someone let me know what I am doing wrong? I have also tried using IFERROR but get the same results.

    =IF($C$5="","",IF(IFNA(XLOOKUP($C$5,'Weed Info'!A:A,'Weed Info'!B:B),FALSE),(XLOOKUP($C$5,'Weed Info'!A:A,'Weed Info'!B:B)),""))

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    2,008

    Re: Ifna(xlookup)

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,171

    Re: Ifna(xlookup)

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Ifna(xlookup)

    XLOOKUP isn't structured like that. Try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,171

    Re: Ifna(xlookup)

    If blank cell required then from TMS reply:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-12-2024
    Location
    Kansas, USA
    MS-Off Ver
    2404
    Posts
    3

    Re: Ifna(xlookup)

    Let me know if this helps
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-12-2024
    Location
    Kansas, USA
    MS-Off Ver
    2404
    Posts
    3

    Re: Ifna(xlookup)

    I guess I was over thinking it, thanks John

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,171

    Re: Ifna(xlookup)

    Thanks are really due to TMS.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: Ifna(xlookup)

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon (Next to Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. IFNA replacement
    By Andry79 in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 11-17-2021, 03:24 PM
  2. [SOLVED] IFNA not working.
    By marwanco in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-21-2021, 02:49 PM
  3. [SOLVED] Question on IFNA
    By Oni_zeta in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-02-2021, 05:56 PM
  4. Ifna/iferror
    By student2110 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-18-2020, 05:35 AM
  5. IFNA Formula
    By prudential in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-03-2018, 01:39 PM
  6. [SOLVED] Using IFNA in an IF Formula
    By Rocksteady in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-05-2017, 12:04 PM
  7. How to mix an IFNA with a IFVLOOKUP
    By Weaselwithagun in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-14-2016, 07:38 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