+ Reply to Thread
Results 1 to 7 of 7

Formula to return a custom value of "Asset Needs added to DB" if the #N/A error is return

  1. #1
    Registered User
    Join Date
    11-06-2018
    Location
    Florida
    MS-Off Ver
    Office 365
    Posts
    12

    Formula to return a custom value of "Asset Needs added to DB" if the #N/A error is return

    I've tried several different variations of this formula and cannot seem to work it out. I've tried it with IFNA,ISNA, IFERROR. I'm sure it's something simple that i"m just overlooking. Anyone that can assist with this, your help would be more than appreciated. I'm trying to make the formula return a custom value of "Asset Needs added to DB" if the #N/A error is returned.

    =IF(VLOOKUP(Data!D2,'PBU Central Master'!A:C,3,FALSE)=Data!C2,"With Same ID", "With Different ID"),IFNA("","Asset Needs added to DB")
    Last edited by AliGW; 10-25-2019 at 11:44 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,697

    Re: IF Statement/Vlookup/ISNA

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-06-2018
    Location
    Florida
    MS-Off Ver
    Office 365
    Posts
    12

    Re: IF Statement/Vlookup/ISNA

    Does the name better align with the rules? It's still a question about an IF Vlookup formula.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,697

    Re: IF(Vlookup Formula with default response if N/A

    No - it's not telling us what you are trying to do. Change it to this, please: "Formula to return a custom value of "Asset Needs added to DB" if the #N/A error is returned".

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,697

    Re: IF(Vlookup Formula with default response if N/A

    When you have changed the title, you might wish to try this:

    =IFNA(IF(VLOOKUP(Data!D2,'PBU Central Master'!A:C,3,FALSE)=Data!C2,"With Same ID", "With Different ID"),"Asset Needs added to DB")

  6. #6
    Registered User
    Join Date
    11-06-2018
    Location
    Florida
    MS-Off Ver
    Office 365
    Posts
    12

    Re: IF(Vlookup Formula with default response if N/A

    Thank you! That accomplished exactly what I was trying to do, and I did try the IFNA formula once before but did not think to have an IF formula behind it as well.

    I knew a second set of eyes would figure it out. Appreciate it!

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,697

    Re: Formula to return a custom value of "Asset Needs added to DB" if the #N/A error is ret

    If that takes care of your original question, please select Thread Tools from the menu link above 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] Getting #N/A on a nested multi IF(ISNA statement
    By Groovicles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-17-2014, 10:01 AM
  2. IF Statement Comparing 2 ISNA Statements
    By scubab in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-10-2014, 09:52 PM
  3. [SOLVED] using isblank and isna in one statement
    By cherryt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2013, 04:44 AM
  4. Nested If Statement - ISNA issue
    By Bearack in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-06-2013, 11:44 AM
  5. [SOLVED] where to put iserror/isna statement
    By cherryt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2013, 04:11 AM
  6. [SOLVED] Nested If Statement - ISBLANK and ISNA in same statement?
    By Janc in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-23-2013, 09:00 AM
  7. IF(ISNA(IF(AND Statement
    By freybe06 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-21-2011, 11: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