+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Vlookup

  1. #1
    Registered User
    Join Date
    12-24-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    1

    Vlookup

    Hi,
    I am working on two sheets; in the first sheet I have a table with country names in column A (like Afghanistan AT Mobile) and rates in column B. In the second sheet i only have country names in column A. In column B I am trying to use Lookup function to match country names in both the sheets (and find exact text) and return the corresponding rates from the first sheet. Each time it returns #NA. Your help and suggestions will be highly appreciated.

    Bill

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Vlookup

    HI

    You could use INDEX and MATCH to get the same result, I have attached an example for you.

    regards

    Jeff
    Attached Files Attached Files
    Last edited by solnajeff; 12-24-2009 at 01:18 PM. Reason: Typo

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Vlookup

    Each time it returns #NA
    This means that the lookup value cannot be found in the lookup table. This is probably due to the values not being truly the same. Check a value that you think should be matched and see if it has leading or trailing spaces in one but not in the other.

    Then either take measures to remove the spaces if they are in the lookup table, or use TRIM(lookup_value) in the Vlookup formula if the spaces are in the lookup value.

    hth

+ 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