Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Counting datapoints/records in time interval

Hi group,

I have a lot datapoints (y-axis) over time (x-axis).
What I'd need is now something like an aggregation/counting of the kind:
amount of datapoints in all 1 minute intervals plotted as bars/scatter/...
Is there an easy way in excel to acomplish this?
Is programming needed here? If so, has anyone got a pointer for this IMO
standard problem?

Many thanx in advance
edw.
  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default

Assuming your X values are in A2:A2002, put the times you want to sample
into D2:D100 (or whatever size range you need). In E2 enter this formula:

=SUM(IF(TEXT($A$2:$A$2002,"hh:mm")=TEXT(D2,"hh:mm" ),1,0))

then hold down CTRL+SHIFT while pressing Enter. Excel will put {curly
brackets} around the formula if it's done correctly, because it's an
array formula. Fill this formula down column E as far as you have times
in column D, then make your chart with the data in D and E.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

wrote:

Hi group,

I have a lot datapoints (y-axis) over time (x-axis).
What I'd need is now something like an aggregation/counting of the kind:
amount of datapoints in all 1 minute intervals plotted as bars/scatter/...
Is there an easy way in excel to acomplish this?
Is programming needed here? If so, has anyone got a pointer for this IMO
standard problem?

Many thanx in advance
edw.

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
time interval calculations in excel Krishna Excel Discussion (Misc queries) 6 April 8th 05 02:57 PM
Time Sheets Lady Layla Excel Discussion (Misc queries) 1 March 23rd 05 03:22 PM
unmet challenge boris Excel Worksheet Functions 2 March 16th 05 02:13 PM
counting time slots Nick Excel Worksheet Functions 1 March 11th 05 01:12 PM
Counting Cells with time value Anthony Excel Discussion (Misc queries) 2 February 9th 05 08:55 PM


All times are GMT +1. The time now is 02:42 AM.

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

About Us

"It's about Microsoft Excel"