In order for VLOOKUP to work, your column that holds the employee number in spread sheet 1 must be on the left of the column that holds the dates and hours.
You didn't post a sample workbook so it's a little hard to visualize. Here is something you can try.
Let's say your employee number column is column A on both worksheets, and in spread sheet 1, the dates and hours are in column B
In cell B2 of spread sheet 2, enter this formula
Change NameOfSpreadSheet1 to the exact name of your spread sheet 1, if it contains spaces, cover the name with single quotes, like this: 'Name of Sheet 1'
if your dates/hours column are further away, let's say column G, you would change A:B to A:G, and then 2 to 7. This number represents the Nth column of the range (in this case A:G) you want the value returned from.
Bookmarks