+ Reply to Thread
Results 1 to 4 of 4

Vlookup to return a zero if nothing found

  1. #1
    Registered User
    Join Date
    11-21-2012
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    51

    Vlookup to return a zero if nothing found

    I need my vlookup to return a zero if it doesn't find an entry in the lookup table.

    My formula is =VLOOKUP(A272,'Actually Shipped - Pivot'!$A$1:$B$10000,2,FALSE)

    What do I need to add?

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,518

    Re: Vlookup to return a zero if nothing found

    make it like this...
    =IFERROR(VLOOKUP(A272,'Actually Shipped - Pivot'!$A$1:$B$10000,2,FALSE),0)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    11-21-2012
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    51

    Re: Vlookup to return a zero if nothing found

    Thank you so much!

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,518

    Re: Vlookup to return a zero if nothing found

    Sure, and if that solves your issue please take a moment and mark the post as solved using the thread tools dropdown at the top of the post.
    And if you are so inclined clicking on the "add reputation" at the bottom of the post is how we advance on this forum.

+ 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. VLOOKUp to return a 1 if match and a 0 if not found
    By bell_man in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-08-2016, 04:58 PM
  2. Return the value above the cell found from vlookup?
    By joshnathan in forum Excel General
    Replies: 4
    Last Post: 01-23-2014, 12:52 PM
  3. Replies: 10
    Last Post: 07-10-2012, 07:04 PM
  4. vlookup -when item not found, how can i return 0 instead of N/A?
    By mheinmiller in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2009, 12:45 PM
  5. How to get VLOOKUP to return zero is not found???
    By Tanasi in forum Excel General
    Replies: 8
    Last Post: 03-27-2009, 12:04 PM
  6. [SOLVED] Vlookup, return zero if not found
    By molsansk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2006, 01:45 PM
  7. [SOLVED] vlookup to return the cell positioning where the criteria is found
    By Rock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2005, 12:07 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