Excel Match?

CommSecy

Board Regular
Joined
Mar 21, 2017
Messages
60
I have two (2) separate columns: as an example column E3 is 7:00, column F3 is 16:00. I want to lookup and match BOTH of these entries to a table that contains various hours with the third column producing a differential that is due if matched. Ex:
07:0016:000
07:0016:001
07:0017:001
07:0019:004

So in the case above that employee would be due 0 differential. I have tried index match but apparently this formula is ABOVE my skill level. I cannot combine cells to match as these numbers change every two weeks and it would be labor intensive and take up unnecessary time.

Would appreciate any help!!! :)
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Can you provide an example of what an end result would look like?
If matched the differential is the same or does the differential change each time? What is the criteria if not the same?
Is the table within the same workbook?
 
Upvote 0
Can you provide an example of what an end result would look like?
If matched the differential is the same or does the differential change each time? What is the criteria if not the same?
Is the table within the same workbook?
well like 0700 - 1900 would result in 4 if that is matched. there are over 18 differentials that would be in the table to be matched. The differential does not change, just the daily hours of the employee change. one day he could work 0700-1600 which would result in 0 hours (there is a mistake in the above table). if he works 0700-1700 he would receive 1hr, etc.
 
Upvote 0
here is what I am trying (unsuccessfully) to do...so i want to have the answer in the g column to each entry. look up table H2>J14. the J column is the night diff for each shift. so if e1 AND f1 match then it should return the corresponding night diff. Hope I explained this better and gave a decent picture of what I am trying to accomplish.
A1B1C1D1E1F1G1LOOK UP TABLE
LastNameFirstNameDateStartTimeEndTimeNight Diff05:0014:002
A3SmithJohn
4/14/2022​
7:00​
16:00​
05:0017:003
A4SmithJohn
4/16/2022​
7:00​
19:00​
06:0014:301
A5SmithJohn
4/12/2022​
13:00​
22:00​
06:0018:003
A6SmithJohn
4/19/2022​
9:00​
19:00​
07:0017:001
A7SmithJohn
4/14/2022​
16:00​
1:00​
07:0019:004
A8SmithJohn
4/17/2022​
19:00​
7:00​
08:0018:002
A9SmithJohn
4/12/2022​
22:00​
7:00​
09:0019:003
A10SmithJohn
4/14/2022​
11:00​
23:00​
11:0023:008
A11SmithJohn
4/13/2022​
14:00​
0:00​
13:0022:007
A12SmithJohn
4/19/2022​
7:00​
17:00​
13:0001:0010
A13SmithJohn
4/15/2022​
5:00​
14:00​
14:0023:009
A14SmithJohn
4/16/2022​
5:00​
17:00​
14:0000:0010
I WANT TO PUT A FORMULA IN THE G3 THROUGH G14 CELLS WHICH WILL LOOK UP IF E1 AND F1 MATCH IN THE LOOK-UP TABLE THE RESULT WILL BE THE CORRESPONDING ANSWER IN J2 THROUGH J1816:0001:009
AGAIN thank you!!!
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,376
Members
449,080
Latest member
Armadillos

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