LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Grouping a Set of Data By Time Interval



A B C D E
Time Count
0:16:24 1 =A2 =C2+10/(24*60*60) formula below
0:16:40 1 =D2 =C3+10/(24*60*60) drag down
0:16:49 1 =D3 drag down
0:16:51 2
0:17:02 1
0:17:11 1


Formula:
=SUMPRODUCT(--($A$2:$A$7=C2),--($A$2:$A$7<D2),$B$2:$B$7)

Adjust ranges!

Regards,
Stefi

I want to say, group and auto-sum the data for intervals of every 10 seconds
starting with the first time value. So I'd expect something like:
0:16:24 - 0:16:34 1
0:16:34 - 0:16:44 1
0:16:44 - 0:16:54 3
0:16:54 - 0:17:04 1
0:17:04 - 0:17:14 1

or I'll even take within a window of 10 seconds starting from each
successive value like:
0:16:24-0:16:34 1
0:16:40-0:16:49 2
0:16:51-0:17:01 2
0:17:02-0:17:12 2

Thanks for any help you can provide.

Jon


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
time interval calculation Sikander New Users to Excel 4 August 24th 07 06:56 AM
Time interval worksheet function Zb Kornecki Excel Worksheet Functions 3 March 13th 07 07:33 PM
Calculating time interval (some across midnight) [email protected] Excel Worksheet Functions 3 January 17th 06 05:50 PM
Calculations with date time interval Todd F. Excel Worksheet Functions 6 September 22nd 05 07:43 PM
time interval calculations in excel Krishna Excel Discussion (Misc queries) 6 April 8th 05 02:57 PM


All times are GMT +1. The time now is 12:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"