+ Reply to Thread
Results 1 to 5 of 5

Vlookup from 2 different worksheets

  1. #1
    Registered User
    Join Date
    05-18-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    21

    Vlookup from 2 different worksheets

    Hi,

    I am learning vlookup. I have created two worksheets. Sheet one I have employee ID, quality score and then I have a successful vlook up. One the second sheet I am trying to get the quality score from sheet one using vlookup and I am getting an error message. Please correct me since I am getting an error message. I am doing the same thing that I have done on sheet one.

    Regards

    Rakesh
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlookup from 2 different worksheets

    Hi Rakesh


    Use below formula in C2 cell in sheet 2 and drag it down:-
    =VLOOKUP(A2,Sheet1!$B$2:$C$5,2,0)

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    05-18-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Vlookup from 2 different worksheets

    Dilip,

    It is working with your help. But could you please help me understand why the below one is not working?

    =VLOOKUP(A2,Sheet1!$A$2:$C$5,3,0)

    Regards

    Rakesh

  4. #4
    Registered User
    Join Date
    05-18-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Vlookup from 2 different worksheets

    It is working with your help. But could you please help me understand why the below one is not working?

    =VLOOKUP(A2,Sheet1!$A$2:$C$5,3,0)

    Regards

    Rakesh

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlookup from 2 different worksheets

    Hi Rakesh,

    =VLOOKUP(A2,Sheet1!A2:C5,3,0)

    here you are looking up A2 which is A in Sheet1's A:2:C5 which is starting from data as (1,2,3,4) and will fetch data as (100,99,98,97).. so the formula is not able to find A in (1,2,3,4) to give any matching result from (100,99,98,97) and that was the issue which I managed as :-

    =VLOOKUP(A2,Sheet1!$B$2:$C$5,2,0)

    Since column B of sheet 1 has (A,B,C,D) .. which fetched matching results from column C (100,99,98,97)

    Regards,
    DILIPandey


    <click on below 'star' if this helps>

+ 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