+ Reply to Thread
Results 1 to 7 of 7

VLOOKUP Issue

  1. #1
    Registered User
    Join Date
    02-15-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Thumbs up VLOOKUP Issue

    Hi everyone

    I was wondering if anyone could help with the following problem:

    I currently have 2 databases of site addresses. One is outdated, but lists all site telephone numbers and e-mail addresses. The new one doesn't.

    Somebody has created a VLOOKUP formular for me so that the new database can find the e-mail and phone numbers of any sites that are also in the old one.

    The unique identifier we're using is street name. However, if there is no exact match, it provides the "closest" match, which I don't want.

    I tried to change the "TRUE" bit to "FALSE" in the formular to get exact matches, but then I get #N/A for every cell. Might be because I simply clicked & dragged the formular to all the other cells.

    If anyone can help me get an exact match, and prevent somewhere in China being given a "possible match" of a phone number in Slovakia, that would be great.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VLOOKUP Issue

    Hi,

    Almost impossible to advise without seeing the formula in context. Can you upload the workbook, or at least a cut down sample from it, anonymised if necessary.

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-15-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: VLOOKUP Issue

    Thanks for replying.

    It's very tricky for me to anonymise the data, so I will ask around internally first.

    I'll probably end up crawling back here though :D

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: VLOOKUP Issue

    Perhaps seeing just the formula is enough...

  5. #5
    Registered User
    Join Date
    02-18-2010
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: VLOOKUP Issue

    You'll probably need an

    =IF(ISNA(vlookup(value,range,column,false)),"",vlookup(value,range,column,false))

    That will return a blank instead of N/A when it can't find a direct match.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: VLOOKUP Issue

    test the cells = each other
    find two that should match say a1 on sheet1 and a70 on sheet 2
    then put
    on sheet 1 somewhere
    =a1=sheet2!a70 and see if you get true or false
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  7. #7
    Registered User
    Join Date
    02-25-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: VLOOKUP Issue

    If both cells contain same values then only you will get answer othewise you will get #N/A only. You have same values in both cells but you didn't get the result, then you have any spaces at the end of the words.If you haven't solved your problem yet I can clarify your doubt, if you attached it,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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