+ Reply to Thread
Results 1 to 5 of 5

Vlookup-result showing 0 with existing match

  1. #1
    Registered User
    Join Date
    12-23-2019
    Location
    Ho Chi Minh City, Vietnam
    MS-Off Ver
    365
    Posts
    2

    Vlookup-result showing 0 with existing match

    Hi, i am doing a vlookup table matching different drinks in different machine, the formula working very well with the first 10 machine. However, with the new one, machine 2, the result of the formula shows 0 even there is a existing match.
    Attached Files Attached Files
    Last edited by garycpl1031; 12-24-2019 at 03:56 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,916

    Re: Vlookup-result showing 0 with existing match

    Welcome to the forum.

    D1002 on the slot sheet is blank - that's why the lookup is returning zero. It has nothing to do with the machine code in the green cell - this is not referenced on the formula.

    Where do you believe there is a match for that cell?
    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
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Vlookup-result showing 0 with existing match

    Your method of combining slot number and machine code is flawed

    slot number 1 and machine code 32
    and
    slot number 13 and machine code 2
    give identical results (132)

    this will be repeated in other cases most likely throughout the sheet

    you need to change your concatenation
    maybe something like slot & "0000" & machine code.
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Vlookup-result showing 0 with existing match

    Because =VLOOKUP(B13;'slot layout Data'!$C:$D;2;FALSE) ( for example) finds 132 in C302 and returns 0 as it should. You have duplicate lookup values in col C

  5. #5
    Registered User
    Join Date
    12-23-2019
    Location
    Ho Chi Minh City, Vietnam
    MS-Off Ver
    365
    Posts
    2

    Re: Vlookup-result showing 0 with existing match

    Thank you very much the problem has 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] INDEX & MATCH not showing result
    By ell_ in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-05-2019, 02:55 AM
  2. [SOLVED] Vlookup showing result #n/a when value exist and no space between lookup value
    By devawad in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-17-2017, 04:32 AM
  3. VLOOKUP result is not showing up - only the formula
    By Linda in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-20-2016, 02:32 PM
  4. [SOLVED] showing message box if the result of texbox doesn't match with the range then clear texbox
    By hamidrezaxy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2013, 01:04 PM
  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. VLOOKUP Showing MIN VALUE IF MATCH
    By crizz82 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-16-2012, 05:57 PM
  7. vlookup showing same result for all unique values
    By excel5111987 in forum Excel General
    Replies: 1
    Last Post: 04-22-2011, 08:07 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