+ Reply to Thread
Results 1 to 3 of 3

Calculating daily averages

  1. #1
    Registered User
    Join Date
    07-14-2010
    Location
    Puerto Rico
    MS-Off Ver
    Excel 2003
    Posts
    2

    Red face Calculating daily averages

    Hi, I am not an expert in excel and I am having trouble calculating averages using date constraints. In the worksheet I have a column that contains the date and time and another column that contains the temperature. The amount of measurments per day vary from 24 or less. I need to calculate the average daily temperature for each day of the year for 5 years.

    Example
    Column A Column B Column C
    5/13/10 23:44 30
    5/13/10 22:44 27
    5/13/10 21:44 29
    5/13/10 20:44 30
    .
    .
    .
    .
    1/8/10 5:44 10


    Any help would be greatly appreciated, Thanks!
    Last edited by mich87; 07-15-2010 at 09:02 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Calculating daily averages

    Assuming your data goes to row 501 and in Column E beginning with E1, you have the dates of interest. In F1

    =SUMIF($A$2:$A$501,E1,$C$2:$C$501)/COUNTIF($A$2:$A$501,E1)

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    07-14-2010
    Location
    Puerto Rico
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Calculating daily averages

    Thank you so much!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1