Help converting 1-min data to 15-min data

MarkShepherd

New Member
Joined
Sep 28, 2022
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
Hi - does anyone know how to convert date/time stamped data in a column in 1-min intervals into a column that has date/time stamped data at 15-min averages? At the moment the only way I know is to delete the times between the 15-minute intervals and then take an average of the data to provide a 15-min average, but this is taking ages!

Time StampLAN15_DM Flow (l/s)
01/08/2022 00:004,20
01/08/2022 00:013,70
01/08/2022 00:024,00
01/08/2022 00:033,80
01/08/2022 00:043,80
01/08/2022 00:054,00
01/08/2022 00:064,50
01/08/2022 00:074,80
01/08/2022 00:084,20
01/08/2022 00:094,20
01/08/2022 00:104,20
01/08/2022 00:113,80
01/08/2022 00:124,00
01/08/2022 00:133,80
01/08/2022 00:144,00
01/08/2022 00:154,30
01/08/2022 00:164,20
01/08/2022 00:174,20
01/08/2022 00:184,00
01/08/2022 00:194,70
01/08/2022 00:204,00
01/08/2022 00:214,20
01/08/2022 00:224,00
01/08/2022 00:234,30
01/08/2022 00:244,30
01/08/2022 00:254,50
01/08/2022 00:264,20
01/08/2022 00:273,70
01/08/2022 00:284,00
01/08/2022 00:294,00
01/08/2022 00:304,00
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
MrExcelPlayground12.xlsx
ABCDE
21/8/2022 0:004.201/8/2022 0:004.07
31/8/2022 0:013.701/8/2022 0:154.17
41/8/2022 0:024.00
51/8/2022 0:033.80
61/8/2022 0:043.80
71/8/2022 0:054.00
81/8/2022 0:064.50
91/8/2022 0:074.80
101/8/2022 0:084.20
111/8/2022 0:094.20
121/8/2022 0:104.20
131/8/2022 0:113.80
141/8/2022 0:124.00
151/8/2022 0:133.80
161/8/2022 0:144.00
171/8/2022 0:154.30
181/8/2022 0:164.20
191/8/2022 0:174.20
201/8/2022 0:184.00
211/8/2022 0:194.70
221/8/2022 0:204.00
231/8/2022 0:214.20
241/8/2022 0:224.00
251/8/2022 0:234.30
261/8/2022 0:244.30
271/8/2022 0:254.50
281/8/2022 0:264.20
291/8/2022 0:273.70
301/8/2022 0:284.00
311/8/2022 0:294.00
321/8/2022 0:304.00
Sheet11
Cell Formulas
RangeFormula
D2:D3D2=INDEX(A2:A32,SEQUENCE(ROWS(A2:A32)/15,1,1,15))
E2:E3E2=AVERAGE(FILTER($B$2:$B$32,($A$2:$A$32>=D2)*($A$2:$A$32<D2+(15/60/24))))
Dynamic array formulas.
 
Upvote 0
Thanks James, but that didn't work as the formulae are not accepted. I see that your platform is Windows while mine is iOS - would that make a difference?
 
Upvote 0
I didn't notice that... Likely the problem. I'm just not seeing the function that isn't supported by mac.

I had to change your 4,2 to regular American 4.2 - for example. Are the numbers really numbers and the dates really dates?
 
Upvote 0
Found the problem - the dates are dates, but there were some numbers in the columns that when I changed to "." didn't change for some reason and remained as ",". Fixed it and the formulae work fine. Thanks!
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,331
Members
452,636
Latest member
laura12345

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