#1   Report Post  
GWit
 
Posts: n/a
Default Averaging

have an application where a logger is recording a "reading" every hour and is
downloaded into Excel .. one column shows date and time and other column
shows the reading (24 a day) ... in another part of the spreadsheet,
averaging the 24 readings to get a daily average which are in subsequent rows
for each day so they can be graphed ... if I try to copy the averaging
formula, it only only adds one row to the range ... is there a way of
copying, a function or macro I can write to make the range correct ?
--
GWit
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

If you mean that when you copy down the formula one row it will average the
next 24 entries like if the first 24 entries are A1:A24 and when you copy
down the formula it will average A25:A48?

=AVERAGE(OFFSET($A$1,ROW(1:1)*24-1,,-24,))

replace $A$1 with your first value

--
Regards,

Peo Sjoblom


"GWit" wrote in message
...
have an application where a logger is recording a "reading" every hour and
is
downloaded into Excel .. one column shows date and time and other column
shows the reading (24 a day) ... in another part of the spreadsheet,
averaging the 24 readings to get a daily average which are in subsequent
rows
for each day so they can be graphed ... if I try to copy the averaging
formula, it only only adds one row to the range ... is there a way of
copying, a function or macro I can write to make the range correct ?
--
GWit


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
Averaging noncontiguous numbers ignoring zeros? Mike Excel Worksheet Functions 19 March 4th 05 02:05 AM
Averaging function Sarah Excel Discussion (Misc queries) 0 January 18th 05 04:09 PM
Averaging the last 5 entries in a row Geo Excel Discussion (Misc queries) 5 January 3rd 05 01:13 AM
2 part question on averaging Geo Excel Discussion (Misc queries) 4 January 2nd 05 10:35 PM
selective averaging Wazooli Excel Worksheet Functions 3 December 10th 04 09:25 PM


All times are GMT +1. The time now is 01:31 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"