vlookup help

bigmac1

New Member
Joined
Oct 9, 2016
Messages
17
Hello all, can you help please, I have inherited a workbook to look after, it has a sheet called “TIMESHEET” and one called” FINGER PRINT LOOKUP” first on has the following columns, date, user id, and finger print hours worked. last sheet records user id, in, out, and total time. (there are other columns on each sheet but not holding information relevant to this issue).
I need to run a vlookup to look at the date column (2) on “TIMESHEET” and match it to the date column (8) on” FINGER PRINT LOOKUP” BUT also look at the user id on both sheets and match them so I will end up with the following on “TIMESHEET”
user id
date
day
total hours worked
123
9/23/2019
mon
06:12:40
123
9/24/2019
tue
06:45:52
123
9/25/2019
wed
06:12:40
123
9/26/2019
thu
09:16:46
123
9/27/2019
fri
08:34:42
123
9/28/2019
sat
07:34:47
123
9/29/2019
sun
05:39:18

<tbody>
</tbody>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi,

Assuming that the total hours worked is from column 4 & user ID is column 1 on the finger print lookup sheet.

This worked for me, adjust the ranges as needed;

=IFNA(INDEX('FINGER PRINT LOOKUP'!$D$2:$D$8,MATCH(TIMESHEET!A2&TIMESHEET!B2,INDEX('FINGER PRINT LOOKUP'!$A$2:$A$8&'FINGER PRINT LOOKUP'!$H$2:$H$8,),0)),"")
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,862
Members
449,052
Latest member
Fuddy_Duddy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top