+ Reply to Thread
Results 1 to 3 of 3

Removing #N/A error from IF & VLOOKUP formulas

  1. #1
    Registered User
    Join Date
    07-02-2020
    Location
    London
    MS-Off Ver
    Excel for Mac
    Posts
    1

    Removing #N/A error from IF & VLOOKUP formulas

    Hi all,


    I have a formula on my spreadsheet shown in RED, which is essentially a VLOOKUP statement however, it is making an exception to one of the lookup values, whereby if the lookup value is set to EBY PROMO then the calculation performed after VLOOKUP remains capped at 1.00. Whereas the other look up values will have the calculation performed and retrieve the expect figure.


    The formula is working overall. However, when there is no lookup value selected a #N/A error appear, which is rather annoying and it also affect other cells if there is a formula containing these cells containing the NA error in the formula.


    See attached image.


    I'd be grateful if someone can help shed some light on this issue.


    Many thanks
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Removing #N/A error from IF & VLOOKUP formulas

    You can enclose your formula with an IFERROR(formula,"") like this so that your value is blank when there is no source.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Removing #N/A error from IF & VLOOKUP formulas

    Or, to eliminate just NA errors:

    =IFNA(your_formula,"")
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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] application vlookup error runtime error 1004, unable to get the vlookup property of the.."
    By dmcgov in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 12-05-2018, 12:03 PM
  2. [SOLVED] Add error checking to existing VLOOKUP formulas
    By maw230 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-29-2015, 02:06 PM
  3. [SOLVED] Removing N/A's form Vlookup error!
    By Schoeii in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-25-2013, 12:15 AM
  4. vlookup / error formulas and more... Need help please.
    By ugabulldawg98 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2012, 09:17 PM
  5. Removing formulas
    By CornCrib in forum Excel General
    Replies: 3
    Last Post: 09-20-2011, 03:35 PM
  6. Excel 2007 : Removing #N/A from Vlookup error
    By AlliTru in forum Excel General
    Replies: 4
    Last Post: 08-30-2011, 12:26 PM
  7. Removing Formulas
    By EricTheRedBlack in forum Excel General
    Replies: 1
    Last Post: 06-12-2007, 02:23 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