+ Reply to Thread
Results 1 to 3 of 3

To calculate the Monthly Averages by formulas

  1. #1
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    To calculate the Monthly Averages by formulas

    Dear Friends

    Please refer the attached excel file (File name : inout avearge.xlsx).

    My requirement is i want to put the
    1) Particular Month Average (Hours)
    2) Upto that Month Average (Hours)

    by formulas which is highlighted in Yello Color. Currently iam manually entering,Is it possbile to do this by using formulas.

    thanks in advance

    thilag
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: To calculate the Monthly Averages by formulas

    hi thilag. first thing off, make column J real dates instead of texts. type Nov 2013 in J4. format cells to:
    mmmm yy

    you uploaded an xlsx file, but your profile says MS off 2003. so which is it? if it's Excel 2007 & above, then this formula works faster:
    =AVERAGEIFS(F:F,B:B,">="&J4,B:B,"<="&EOMONTH(J4,0))

    in L4:
    =AVERAGEIFS(F:F,B:B,"<="&EOMONTH(J4,0))

    if you're still using Excel 2003 & below, then:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    =SUMPRODUCT(($B$4:$B$20<=EOMONTH(J4,0))*$F$4:$F$20)/SUMPRODUCT(--($B$4:$B$20<=EOMONTH(J4,0)))

    Edit: and if you need to round them, simply wrap any of the formulas with ROUND:
    =ROUND(formula,2)
    Last edited by benishiryo; 12-03-2013 at 01:11 AM. Reason: additional info

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: To calculate the Monthly Averages by formulas

    Hello benishiryo

    Thanks to your reply. It help me to do the calcualtion automatiaclly. Also my Excel Version is 2010 in Office, in Home i believe 2003anyhow it will be greater than 2007. So i will update the profile to Excel 2007.

    thanks

    thilag

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 10-01-2013, 05:05 AM
  2. Calculate monthly, quarterly, and yearly averages from daily data
    By jhound in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2013, 11:16 AM
  3. Need to calculate monthly averages from daily values
    By smiso24 in forum Excel General
    Replies: 2
    Last Post: 07-13-2011, 01:03 PM
  4. Replies: 3
    Last Post: 02-12-2011, 12:10 PM
  5. Calculate Monthly Numbers from Monthly Averages
    By miami580 in forum Excel General
    Replies: 6
    Last Post: 08-05-2010, 11:45 AM

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