# Extracting time data

##### New Member
I’m doing a time control sheet. I have the following data sheet:
Book1
BCDEFGHIJ
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
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?

The array formula is in cell C16 and D16

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

So are the results shown in C16, D16, F16 and G16 what you want?

If not, what should they be

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.

The 1500 I'm referring to are rows. Does this have a solution or I'm asking for too much?

Replies
0
Views
71
Replies
1
Views
306
Replies
8
Views
208
Replies
2
Views
113
Replies
9
Views
181

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.

### Which adblocker are you using?

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

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