+ Reply to Thread
Results 1 to 4 of 4

Vlookup

  1. #1
    Registered User
    Join Date
    06-23-2010
    Location
    suffern, new york
    MS-Off Ver
    Excel 2003
    Posts
    4

    Vlookup

    In sheet 1 column A I have about 5000 I.D. numbers which are out of order and not sorted. They are not in ascending order because they are the specific I.D. numbers for various firms and organizations. In sheet 1 column B I have the organization name next to its I.D. number.

    Now, in sheet 2 column A, I have the same list of I.D. numbers (about 5000 or so) but they are in a different order than in sheet 1 column A. My objective is to populate sheet 2 column B with the organization names that correspond to each I.D. number. I tried to use VLOOKUP with False in the range category but got #NA's in all of the cells.

    I would appreciate any answers, suggestions, or advice.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Vlookup

    =INDEX(Sheet1!B:B,MATCH(Sheet2!A1,Sheet1!A:A,0))

    This assumes that your data starts in A1 on both sheets.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    06-23-2010
    Location
    suffern, new york
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Vlookup

    Thanks! One more question. When I try to copy and paste the newly populated data into a new excel sheet, #REF! appears in each cell. Is their any way I can copy/paste this data into new excel sheets and only take the name without the formula? Thanks

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup

    When you go to paste the data, go to Edit and select Paste Special.. then choose Values.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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