+ Reply to Thread
Results 1 to 3 of 3

Thread: calculate average

  1. #1
    Registered User
    Join Date
    07-20-2007
    MS-Off Ver
    2003
    Posts
    26

    calculate average

    Hi All.

    How to calculate average amount per month if:
    JAN, MAR, MAY, JUL, AUG, OCT, DEC have 31 days,
    APR, JUN, SEP, NOV have 30 days,
    and FEB 28 or 29 days?

    Thanks.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: calculate average

    You could use the Month number in a formula e.g.

    =AVERAGE(IF(MONTH(A1:A100)=1,B1:B100))

    confirmed with CTRL+SHIFT+ENTER not just ENTER

    This averages column B based on Month in A1:A100 begin January (1) where A1:A100 contain actual dates.

    You may also be able to use a Pivot table which groups by month and displays averages...
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: calculate average

    You could use the Month number in a formula e.g.

    =AVERAGE(IF(MONTH(A1:A100)=1,B1:B100))

    confirmed with CTRL+SHIFT+ENTER not just ENTER

    This averages column B based on Month in A1:A100 begin January (1) where A1:A100 contain actual dates.

    You may also be able to use a Pivot table which groups by month and displays averages...
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0