+ Reply to Thread
Results 1 to 5 of 5

VLOOKP does not find values and shows 0

  1. #1
    Registered User
    Join Date
    12-02-2020
    Location
    Hungary
    MS-Off Ver
    office 365
    Posts
    10

    VLOOKP does not find values and shows 0

    Hi,

    I want to refresh stock values with VLOOKUP but it does not find any value and shows 0. Please check in C2.

    What should I change in the function?

    Thank you
    Tamas
    Attached Files Attached Files
    Last edited by tamassafrany; 06-03-2021 at 09:42 AM.

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

    Re: VLOOKP does not find values and shows 0

    I think you should add false to your equation, like... =VLOOKUP(B2,$G$1:$H$7417,2,FALSE)
    otherwise I believe it is defaulting to true which will look for approximate matches instead of exact matches.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

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

    Re: VLOOKP does not find values and shows 0

    it will return #N/A for no matches so you might want to add something like an IFERROR to handle the #N/As
    like =IFERROR(VLOOKUP(B2,$G$1:$H$7417,2,FALSE),"") or =IFERROR(VLOOKUP(B2,$G$1:$H$7417,2,FALSE),"not found")

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: VLOOKP does not find values and shows 0

    is =VLOOKUP(B2,$G$1:$H$7417,2,0) any closer. You have not put the last parameter in for an exact match

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: VLOOKP does not find values and shows 0

    Your formula was incomplete

    =VLOOKUP(B2,$G$1:$H$7417,2,FALSE) and copy down
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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] Find percentile IF another row shows false
    By excelnabb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2018, 12:49 PM
  2. [SOLVED] With repeated values in a range, Vlookup only shows adjacent values for the last one
    By fsalina in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2014, 03:19 PM
  3. Excel VBA Find Zero Value (Shows up as hyphen)
    By yusunghee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2013, 02:43 PM
  4. drop down menu combined with Vlookp and if statement
    By Curious2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-03-2013, 12:42 AM
  5. [SOLVED] Vlookup only shows the first result, is there a method to negate the already existing find
    By mdggraham in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-20-2012, 05:45 AM
  6. Excel 2007 : VLOOKP ( conditional)
    By alba123 in forum Excel General
    Replies: 4
    Last Post: 03-19-2009, 02:53 PM
  7. Vlookp up - sort of
    By Ntisch in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-18-2005, 03:05 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