pivot data into 15 minute interval counts

mikenz1983

New Member
Joined
Oct 2, 2014
Messages
33
Hi All

i have a list of data as shown below ( goes into multiple days ) that i am trying to group up to show how many are in a 15 minute interval ( or 30 if 15 is too hard )

It should look like this when im done, or similar

29/05/2020
15:00 - 15:15 = 2
15:16 - 15:30 = 2
15:31 - 15:45 = 2
15:46 - 16:00 = 1

ideally i'm trying to do this in a pivot, i can group by hours and even minutes, but i want to determine the how many minutes :)

Thanks




29/05/2020 16:56:48
29/05/2020 16:19:29
29/05/2020 16:19:16
29/05/2020 16:18:23
29/05/2020 16:16:57
29/05/2020 16:06:33
29/05/2020 16:05:53
29/05/2020 16:04:42
29/05/2020 15:56:38
29/05/2020 15:45:32
29/05/2020 15:44:28
29/05/2020 15:42:35
29/05/2020 15:30:56
29/05/2020 15:27:32
29/05/2020 15:21:48
29/05/2020 15:10:45
29/05/2020 15:04:11
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I reference this link to get the pivot table below 2 Quick Ways to use Excel Pivot Table group by 15 minutes

It seems you could make the interval anything you want.


Book4
ABCDEFGH
1DateValueTimeFloor
229/05/2020 16:56:48504:56:48 PM4:45:00 PM
329/05/2020 16:19:29354:19:29 PM4:15:00 PM
429/05/2020 16:19:16254:19:16 PM4:15:00 PMRow LabelsSum of Value
529/05/2020 16:18:23154:18:23 PM4:15:00 PM3:00:00 PM61
629/05/2020 16:16:57164:16:57 PM4:15:00 PM3:15:00 PM100
729/05/2020 16:06:3384:06:33 PM4:00:00 PM3:30:00 PM258
829/05/2020 16:05:53274:05:53 PM4:00:00 PM3:45:00 PM60
929/05/2020 16:04:42224:04:42 PM4:00:00 PM4:00:00 PM57
1029/05/2020 15:56:38163:56:38 PM3:45:00 PM4:15:00 PM91
1129/05/2020 15:45:32443:45:32 PM3:45:00 PM4:45:00 PM50
1229/05/2020 15:44:28993:44:28 PM3:30:00 PMGrand Total677
1329/05/2020 15:42:35773:42:35 PM3:30:00 PM
1429/05/2020 15:30:56823:30:56 PM3:30:00 PM
1529/05/2020 15:27:32813:27:32 PM3:15:00 PM
1629/05/2020 15:21:48193:21:48 PM3:15:00 PM
1729/05/2020 15:10:45483:10:45 PM3:00:00 PM
1829/05/2020 15:04:11133:04:11 PM3:00:00 PM
Sheet1
Cell Formulas
RangeFormula
C2:C18C2=A2-TRUNC(A2,0)
D2:D18D2=FLOOR(C2,"00:15")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,035
Messages
6,122,791
Members
449,095
Latest member
m_smith_solihull

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