Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KK KK is offline
external usenet poster
 
Posts: 4
Default Averaging an interval of data

Each hour is broken into 15 minute intervals. I'd like to average four
intervals in each hour. How do I do that?

There are many intervals so I need a quick solution, can't do it
manually.

Here's a screenshot of example data:

http://www.aww-kittah-aww.com/up/public/73735/xls.jpg
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Averaging an interval of data

I put times like yours in A1:A18 and numbers in B1:B18
In J1:J4 I enters 1,2,3,4
In K1 I used the formula
=SUMPRODUCT(--(HOUR($A$1:$A$18-TIME(0,15,0))=J1-1),$B$1:$B$18)/4
This gave me the average of the first four numbers with times up to 1:00
inclusive
When I copied it down to K2, I get the average of the numbers for 1:15 up to
2:00 inclusive
and so on
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"KK" wrote in message
...
Each hour is broken into 15 minute intervals. I'd like to average four
intervals in each hour. How do I do that?

There are many intervals so I need a quick solution, can't do it
manually.

Here's a screenshot of example data:

http://www.aww-kittah-aww.com/up/public/73735/xls.jpg



  #3   Report Post  
Posted to microsoft.public.excel.misc
KK KK is offline
external usenet poster
 
Posts: 4
Default Averaging an interval of data

On Jun 12, 2:24*pm, "Bernard Liengme" wrote:
I put times like yours in A1:A18 and numbers in B1:B18
In J1:J4 I enters 1,2,3,4
In K1 I used the formula
=SUMPRODUCT(--(HOUR($A$1:$A$18-TIME(0,15,0))=J1-1),$B$1:$B$18)/4
This gave me the average of the first four numbers with times up to 1:00
inclusive
When I copied it down to K2, I get the average of the numbers for 1:15 up to
2:00 inclusive
and so on
best wishes
--
Bernard V Liengme
Microsoft Excel MVPhttp://people.stfx.ca/bliengme
remove caps from email

"KK" wrote in message

...



Each hour is broken into 15 minute intervals. I'd like to average four
intervals in each hour. How do I do that?


There are many intervals so I need a quick solution, can't do it
manually.


Here's a screenshot of example data:


http://www.aww-kittah-aww.com/up/public/73735/xls.jpg- Hide quoted text -


- Show quoted text -


Hey thanks.
Reply
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
Grouping a Set of Data By Time Interval Jon[_5_] Excel Discussion (Misc queries) 2 September 14th 07 09:06 AM
averaging data James Excel Discussion (Misc queries) 10 December 11th 06 03:12 AM
How to plot categorical data to show confidence interval? Question... Excel Discussion (Misc queries) 0 April 26th 06 05:28 AM
Averaging data Capt Bill Excel Worksheet Functions 2 March 27th 06 10:13 AM
Averaging Values Embraced In an Interval Between Two Dates ChrisM Links and Linking in Excel 1 November 16th 05 12:25 AM


All times are GMT +1. The time now is 12:46 PM.

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"