Time overlap and reduced the overlap time

Airam

New Member
Joined
Jun 23, 2010
Messages
19
Hi Everyone

I have 1 employee with series of status and notice that there are status with time overlapping the other which increases the hours overall. I would like to ask your help to identify this return the the time that overlaps which I need to reduce or consider for that specific status only

Example: File attached

Line 62 has Busy status from 20:32 until 21:00 and at 20:56, there is another status , "Working on Ticket". This will add 4 minutes more to the total hours of the employee which I want to remove. Theres a lot of this in the whole list. But just sharing a sample for your assistance please.

TIme Overlapping.xlsx
ABCDEFGHI
1Media TypeAgent NameStart TimestampEnd TimeStateDuration (Fmt)
2VoiceJohn Doe1/3/2023 11:571/3/2023 11:59Start Of Shift0:01:46
3ChatJohn Doe1/3/2023 11:591/3/2023 11:59Ready0:00:22
4ChatJohn Doe1/3/2023 11:591/3/2023 12:50Busy0:50:55
5VoiceJohn Doe1/3/2023 12:501/3/2023 12:52Personal0:02:33
6ChatJohn Doe1/3/2023 12:521/3/2023 12:53Ready0:00:32
7ChatJohn Doe1/3/2023 12:531/3/2023 13:04Busy0:11:11
8ChatJohn Doe1/3/2023 13:041/3/2023 13:07Ready0:02:43
9ChatJohn Doe1/3/2023 13:071/3/2023 13:16Busy0:09:14
10ChatJohn Doe1/3/2023 13:161/3/2023 13:19Ready0:02:38
11VoiceJohn Doe1/3/2023 13:191/3/2023 13:22Personal0:03:37
12ChatJohn Doe1/3/2023 13:221/3/2023 13:27Ready0:05:02
13ChatJohn Doe1/3/2023 13:271/3/2023 13:41Busy0:14:12
14ChatJohn Doe1/3/2023 13:411/3/2023 13:45Ready0:03:42
15ChatJohn Doe1/3/2023 13:451/3/2023 13:53Busy0:08:08
16ChatJohn Doe1/3/2023 13:531/3/2023 13:54Ready0:00:48
17ChatJohn Doe1/3/2023 13:541/3/2023 14:06Busy0:12:02
18ChatJohn Doe1/3/2023 14:061/3/2023 14:08Ready0:01:25
19ChatJohn Doe1/3/2023 14:081/3/2023 14:22Busy0:14:09
20ChatJohn Doe1/3/2023 14:221/3/2023 14:23Ready0:01:22
21VoiceJohn Doe1/3/2023 14:231/3/2023 14:25Personal0:02:08
22VoiceJohn Doe1/3/2023 14:231/3/2023 14:25Meeting0:02:08
23ChatJohn Doe1/3/2023 14:251/3/2023 14:28Ready0:02:47
24ChatJohn Doe1/3/2023 14:281/3/2023 15:11Busy0:42:33
25VoiceJohn Doe1/3/2023 15:111/3/2023 15:15Personal=Personal0:04:43
26ChatJohn Doe1/3/2023 15:151/3/2023 15:18Ready0:02:53
27ChatJohn Doe1/3/2023 15:181/3/2023 15:50Busy0:32:05
28VoiceJohn Doe1/3/2023 15:421/3/2023 16:13Working on Ticket0:30:13
29VoiceJohn Doe1/3/2023 15:421/3/2023 16:13Break0:30:13
30VoiceJohn Doe1/3/2023 15:421/3/2023 16:13Admin Works0:30:13
31ChatJohn Doe1/3/2023 16:131/3/2023 16:13Ready0:00:41
32ChatJohn Doe1/3/2023 16:131/3/2023 16:18Busy0:04:35
33ChatJohn Doe1/3/2023 16:181/3/2023 16:22Ready0:04:31
34ChatJohn Doe1/3/2023 16:221/3/2023 16:35Busy0:13:01
35ChatJohn Doe1/3/2023 16:351/3/2023 16:35Ready0:00:02
36VoiceJohn Doe1/3/2023 16:351/3/2023 16:36Meeting=Meeting0:00:13
37ChatJohn Doe1/3/2023 16:361/3/2023 16:43Ready0:07:05
38ChatJohn Doe1/3/2023 16:431/3/2023 16:50Busy0:07:01
39ChatJohn Doe1/3/2023 16:501/3/2023 16:50Ready0:00:11
40VoiceJohn Doe1/3/2023 16:501/3/2023 17:06Meeting0:16:06
41VoiceJohn Doe1/3/2023 16:501/3/2023 17:06Training0:16:06
42ChatJohn Doe1/3/2023 17:061/3/2023 17:12Ready0:05:40
43ChatJohn Doe1/3/2023 17:121/3/2023 17:34Busy0:22:15
44ChatJohn Doe1/3/2023 17:341/3/2023 17:39Ready0:04:54
45VoiceJohn Doe1/3/2023 17:391/3/2023 17:43Personal0:04:24
46ChatJohn Doe1/3/2023 17:431/3/2023 17:44Ready0:00:39
47VoiceJohn Doe1/3/2023 17:441/3/2023 18:19Personal0:34:58
48VoiceJohn Doe1/3/2023 17:441/3/2023 18:19Lunch0:34:58
49ChatJohn Doe1/3/2023 18:191/3/2023 18:29Ready0:10:11
50ChatJohn Doe1/3/2023 18:291/3/2023 18:54Busy0:25:19
51ChatJohn Doe1/3/2023 18:541/3/2023 19:03Ready0:08:42
52ChatJohn Doe1/3/2023 19:031/3/2023 19:17Busy0:13:50
53ChatJohn Doe1/3/2023 19:171/3/2023 19:20Ready0:03:04
54ChatJohn Doe1/3/2023 19:201/3/2023 19:28Busy0:07:55
55ChatJohn Doe1/3/2023 19:281/3/2023 19:33Ready0:05:27
56ChatJohn Doe1/3/2023 19:331/3/2023 19:50Busy0:16:18
57ChatJohn Doe1/3/2023 19:501/3/2023 19:53Ready0:03:22
58ChatJohn Doe1/3/2023 19:531/3/2023 20:01Busy0:07:47
59VoiceJohn Doe1/3/2023 20:001/3/2023 20:21Working on Ticket0:21:28
60VoiceJohn Doe1/3/2023 20:001/3/2023 20:21Break0:21:28
61ChatJohn Doe1/3/2023 20:211/3/2023 20:32Working on Ticket0:10:17
62ChatJohn Doe1/3/2023 20:321/3/2023 21:00Busy0:28:07
63VoiceJohn Doe1/3/2023 20:561/3/2023 21:00Working on Ticket0:04:07
Sheet1
Cell Formulas
RangeFormula
D2:D63D2=IF(G2>0,C2+G2,C2+F2)
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
So the whole data belong to the same employee, and the table is in chronological order; then it should be enough setting two conditional formats:
-select the whole table, from row 2 to the end (or even more)
-apply a conditional format, with the clause "Use a formula", using the formula =$D2>$C3 and applying the preferred filling color
-add a second format, again "Use a formula", using the formula =$C2<$D1 and apply the same filling color

These should highlight the row where the new activity starts before the end of the previous one and its companion row
This will improperly highlight the first line of data; if this is a problem then use for the second formatting the formula =AND(ROW(C2)>2,$C2<$D1)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,559
Members
449,089
Latest member
Motoracer88

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