How to vlooKUP or Maybe Index Ms Excel 2003

glorypeter91

New Member
Joined
Jun 5, 2018
Messages
1
i NEED HELP TO LOOK UP BASED ON CRITERIA
1. NAME
2. DATE RANGE

FILES : TIMEDB AND PAYROLL

[TABLE="width: 468"]
<colgroup><col><col><col span="2"></colgroup><tbody>[TR]
[TD]NAME[/TD]
[TD]DATE[/TD]
[TD]TIME IN[/TD]
[TD]TIME OUT[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 2, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 3, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 4, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 5, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 6, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 7, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 8, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 9, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 10, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 11, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 12, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 13, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 14, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 15, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 16, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 17, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 18, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 19, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 20, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 21, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 22, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 23, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 24, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 25, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 26, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 27, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 28, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 29, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 30, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
[TR]
[TD]YOGHESRAJ A/L PERUMAL[/TD]
[TD]May 31, 2018[/TD]
[TD]8:00[/TD]
[TD]22:00[/TD]
[/TR]
</tbody>[/TABLE]


NOW I WANT TO SEARCH BY NAME AND DATE RANGE AND FILL THE FOLLOWING CELLS :

[TABLE="width: 1149"]
<colgroup><col><col><col><col><col span="29"><col></colgroup><tbody>[TR]
[TD="colspan: 2"][/TD]
[TD] [/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]9[/TD]
[TD]10[/TD]
[TD]11[/TD]
[TD]12[/TD]
[TD]13[/TD]
[TD]14[/TD]
[TD]15[/TD]
[TD]16[/TD]
[TD]17[/TD]
[TD]18[/TD]
[TD]19[/TD]
[TD]20[/TD]
[TD]21[/TD]
[TD]22[/TD]
[TD]23[/T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] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="colspan: 2"]BREAK TIME[/TD]
[TD]IN[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]OUT[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="colspan: 2"]OVERTIME[/TD]
[TD]IN[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]OUT[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]

Please Advise Tq
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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