+ Reply to Thread
Results 1 to 2 of 2

cell value dependant on lookup on another sheet

  1. #1
    Registered User
    Join Date
    12-15-2011
    Location
    Wiltshire, England
    MS-Off Ver
    Excel 2010
    Posts
    1

    cell value dependant on lookup on another sheet

    I have 2 excel sheets for which I am interested in 4 columns. The issue I have is that the value of one column of cells on sheet2 should be set to the same as the value in the 2nd column on the 1st sheet where the values in both column 1's match.
    There is no garauntee that the values within the 1st columns will be in the same order or that the number of rows is the same.


    In the example below the value being inserted into col2 row 5 should be 1234.
    Any one got any help?

    SHEET 1


    COL 1 COL 2
    1 A 1234
    2 B 12345
    3 C 123456
    4 D 1234567
    5 E 12345678

    SHEET 2


    COL1 COL2
    1 D
    2 C
    3 E
    4 B
    5 A 1234

    stu

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

    Re: cell value dependant on lookup on another sheet

    Try VLOOKUP

    e.g.

    =VLOOKUP(A2,'Sheet1'!A:B,2,FALSE)

    copied down
    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