Extracting time data

Dandada26

New Member
Joined
Aug 30, 2005
Messages
9
I’m doing a time control sheet. I have the following data sheet:
Book1
BCDEFGHIJ
1AgentIDLoginTimeLogoutTimeLogoutDateCorrelation ID+DateActualWorkedDayTotalWorkedHours
21758118:12:0018:18:0011/16/05175813867211/16/050.103:00:00
31758119:00:001:00:0011/16/05175813867111/15/056.00
4175819:59:0011:28:0011/17/05175813867311/17/051.48
51758113:15:0022:00:0011/17/05175813867311/17/058.75
61842313:05:0017:18:0011/16/05184233867211/16/054.22
71842317:59:000:00:0011/16/05184233867111/15/056.02
8
9
10
11AgentID17581
12
1311/16/200511/17/2005
14WednesdayThursday
15LogInOutInOut
16Actual18:12:0018:18:009:59:0022:00:00
Sheet1


From this data I want to extract data for a single agent by day of the week. I wanted an alternative to the array formula, which has the following limitations:
1- The array formula I used doesn’t work beyond the 1500 rows, my row extended around the 10.000.
2- Since some agents shift end on the next day. The formula can’t identify the last logout for the shift.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
1. The formula in D2 should be, to show the date:
=IF(B2="","",B2&CHAR(1)&TEXT(G2,"mm/dd/yyyy"))

2. I don't see any "array" formula. Could you explain?

3. What do you have in J2?
 
Upvote 0
The time in J2 is for excel to consider the shift that ends after midnight belong to the previous day. It makes a cut at 3:00 am
 
Upvote 0
The answer is the one I want but if the amount of data pass the 1500 the array formula stops working due to memory limitations I suppose. So I need a formula that will do the same beyond the 1500.
 
Upvote 0

Forum statistics

Threads
1,214,769
Messages
6,121,434
Members
449,032
Latest member
egspen2

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