+ Reply to Thread
Results 1 to 7 of 7

Derive a value across 2 worksheets

  1. #1
    Registered User
    Join Date
    03-26-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Derive a value across 2 worksheets

    Hello, I'd be grateful for some help.

    I've got 2 worksheets in the same workbook. Each sheet has a column containing an Employee ID Number. The number of records on each sheet is not the same and they are not sorted on the same criteria.

    Sheet1

    Col D - Employee ID
    Col AI - Rating (currently blank cells)

    Sheet 2

    Col A - Employee ID
    Col K - Rating

    I would like a formula/function to go in Sheet 1 Col B cells which derives the Rating against an Employee ID based on the information held in Sheet 2.

    I've tried to work out the formula, but get very confused with Lookup functions, which may not be applicable anyway.

    Thanks in advance
    Last edited by JonUK01; 03-26-2011 at 07:32 PM. Reason: Solved

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Derive a value across 2 worksheets

    Hi JonUK01,
    Welcome to the forum
    you could use the combination of Index and Match
    Please Login or Register  to view this content.
    fill down
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: Derive a value across 2 worksheets

    =VLOOKUP(D2,Sheet2!A:K,11,False)

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    03-26-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Derive a value across 2 worksheets

    Thanks for the answers.

    Pike - I've entered the formula as shown and it comes up "#N/A".

    I'm not sure whether I've exlained the problem correctly or entered the fomula correctly, so I've attached a sample file which will demonstrate what I would like to achieve.
    Attached Files Attached Files

  5. #5
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Derive a value across 2 worksheets

    JonUK01
    on the worksheet tabs make "Sheet 1" should be "Sheet1"

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Derive a value across 2 worksheets

    Hi JonUK01,

    arr looks like you cant change the sheet name
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    03-26-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Thumbs up Re: Derive a value across 2 worksheets

    Thanks Pike,

    Finally did it using your first formula. Realised that the Sheet naming problem was caused by a hidden sheet. Once that was renamed, I could match up with the formula. Also, the "#N/A" result appears to have been caused by some cells being formatted as text. Once that was sorted, it all worked!!

    My thanks also to the ther offered option. I really appreciate the Forum's help.

    I'll mark it as solved.

+ 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