Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default help with macros for getting daily averages from 10 minute increment data - MS2000

How about an average array formula?
(untested)

=AVERAGE(IF(A1:A10000=37896,C1:C10000,"")

where 37896 = the numeric value excel uses for the date 10/02/03

and enter it as an array formula, e.g. [Ctrl-Shift-Enter]

If you enter it on a new sheet (referencing the source data sheet) you
could also use add a reference pointing to incremental date values (37896,
37897, 37898, etc) in adjacent cells, and autofill the formula down so you
end up with one line per day of the year
A B
37896 =AVERAGE(IF(Sheet1!A$1:A$10000=A1,Sheet1!C$1:C$100 00,"")
37897 =AVERAGE(IF(Sheet1!A$1:A$10000=A1,Sheet1!C$1:C$100 00,"")
37898 =AVERAGE(IF(Sheet1!A$1:A$10000=A1,Sheet1!C$1:C$100 00,"")

or something like that...assuming all your source data is on one sheet....
Keith

feoj wrote in article
...

hi - i am spending endless hours of cutting, copying, pasting and
averaging in excel and am hoping someone can help me with a macros. i
am using microsoft excel millenium edition.

i have many worksheets of stream flow data. this data is set up with a
date in one cell, the next cell notes the 10 minute increment, and the
next cell the average streamflow for that 10 minute increment of the
day. there are many entries for the same date because it is in 10
minute increments. what i need is a daily average for each day.

ex: of data set up
10/2/03 00:10 .25
10/2/03 00:20 .34
10/2/03 00:30 .76

etc., for a whole year, and i need daily averages

any help is GREATLY appreciated!!
jen


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/


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
Computing Averages For Daily Sales SD[_2_] Excel Discussion (Misc queries) 4 May 8th 08 06:59 PM
Daily Averages Vincent Excel Discussion (Misc queries) 3 August 27th 07 04:44 PM
automatically increment y-axis daily Peter Dacre Charts and Charting in Excel 1 October 2nd 06 02:31 PM
Excel Formula to Calc Daily Averages? Don I Excel Worksheet Functions 5 August 10th 06 06:49 PM
... round a time entry to the next "30 minute increment"... Dr. Darrell Excel Worksheet Functions 12 February 3rd 06 04:09 PM


All times are GMT +1. The time now is 09:47 PM.

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"