vmjamshad

New Member
Joined
Jan 5, 2017
Messages
16
Happy New Year to everybody,
I am trying to make a time-sheet format from a row attendance data. Row data will look like as below:
ID #DateTimeType
1001/1/201707:00 AMIN
1001/1/201705:00 PMOut
1002/1/201708:00 AMIN
1002/1/201701:00 PMOut
1003/1/201710:00 PMIn
1004/1/201708:00 AMOut
1004/1/201708:00 PMIN
1005/1/201707:00 AMOut

<tbody>
</tbody>
From this data, i am trying to create a time-sheet format like below
ID1/1/20171/1/20172/1/20172/1/2173/1/20173/1/20174/1/20174/1/2017
INOutInOutInOutInOut
10007:00 AM05:00 PM08:00 AM01:00 PM10:00 PM08:00 AM08:00 PM07:00 AM

<tbody>
</tbody>

I used vlookup function. But having trouble in Date 3/1/2017, coz here a shift is starting from one day and ending on another day. Can anybody assist on this.

Thanks,

Jamshad
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,215,076
Messages
6,122,983
Members
449,092
Latest member
Mr Hughes

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