Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 88
Default converting hourly values into daily values

Hi,

I have a column with the measured temperature every hour of the year(8760
values). I wolud like to convert these to the mean value for each day (365
values).

Does anyone know a simple formula/function for this purpose?

I got this formula from another thread, however I don't know how to change
it so that my first value is calculated on B3 for the values A3:A26

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

Does anyone know how I can change this formula so that it can start on the
3rd row??


Many thanks!!



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default converting hourly values into daily values

=AVERAGE(OFFSET($A$3,0,0,24))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Reza" wrote in message
...
Hi,

I have a column with the measured temperature every hour of the year(8760
values). I wolud like to convert these to the mean value for each day (365
values).

Does anyone know a simple formula/function for this purpose?

I got this formula from another thread, however I don't know how to change
it so that my first value is calculated on B3 for the values A3:A26

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

Does anyone know how I can change this formula so that it can start on the
3rd row??


Many thanks!!





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 88
Default converting hourly values into daily values

Hey Bob,

Thanks for the reply. Unfortunately the formula gives me the same result for
all 365 days. Any thoughts??

Thank you,
Reza


"Bob Phillips" wrote:

=AVERAGE(OFFSET($A$3,0,0,24))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Reza" wrote in message
...
Hi,

I have a column with the measured temperature every hour of the year(8760
values). I wolud like to convert these to the mean value for each day (365
values).

Does anyone know a simple formula/function for this purpose?

I got this formula from another thread, however I don't know how to change
it so that my first value is calculated on B3 for the values A3:A26

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

Does anyone know how I can change this formula so that it can start on the
3rd row??


Many thanks!!






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default converting hourly values into daily values

Sorry, think I missed seeing your earlier posting

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


Try this revision of the above to suit your instance
In B3, copied down:
=AVERAGE(OFFSET($A$3,ROWS($1:1)*24-24,,24))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 15,500, Files: 352, Subscribers: 53
xdemechanik
---
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 88
Default converting hourly values into daily values

Genious!

Thank you it worked.

"Max" wrote:

Sorry, think I missed seeing your earlier posting

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


Try this revision of the above to suit your instance
In B3, copied down:
=AVERAGE(OFFSET($A$3,ROWS($1:1)*24-24,,24))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 15,500, Files: 352, Subscribers: 53
xdemechanik
---



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default converting hourly values into daily values

Welcome. Do take a moment to press the "Yes" button below.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 15,500, Files: 352, Subscribers: 53
xdemechanik
---
"Reza" wrote:
Genious!
Thank you it worked.


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
converting hour values to day mean values Baffe Excel Worksheet Functions 6 July 8th 08 02:34 PM
Extracting values from a single dynamic cell to a list daily Terry Excel Worksheet Functions 1 June 11th 08 09:55 PM
accumulating values generated daily Tracey Excel Worksheet Functions 1 April 15th 06 08:07 AM
How to bold daily max values Ginger Excel Discussion (Misc queries) 1 May 18th 05 06:28 PM
How do I create an hourly daily planner? zed New Users to Excel 2 March 31st 05 05:15 PM


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