+ Reply to Thread
Results 1 to 4 of 4

Thread: Quarterly averages

  1. #1
    Registered User
    Join Date
    03-02-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    2

    Quarterly averages

    Hi,

    I have a long series of data organized by date in column A and a number in column B. The numbers are produced weekly and I would like to calculate the average of these numbers by quarter. If possible I would like to use an array solution.

    Thanks

  2. #2
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,520

    Re: Quarterly averages

    Why not use a Pivot Table? It's ideal for this and you easily group the dates by quarter. And, PT's are more "resource friendly" than array formulas. See attached.
    Attached Files Attached Files
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    03-02-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Quarterly averages

    Thanks for the reply. And I agree that the pivot route is the most efficient.

    However, if someone can guide me through a solution using an array formula for monthly and quarterly averages that would be great. Thanks

  4. #4
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,520

    Re: Quarterly averages

    Assuming column-A holds the dates and column-B holds the values to average:

    Qtr-1: {=AVERAGE(IF(MONTH(A1:A37)<4,B1:B37))}
    Qtr-2: {=AVERAGE(IF(MONTH(A1:A37)>3,IF(MONTH(A1:A37)<7,B1:B37)))}
    Qtr-3: {=AVERAGE(IF(MONTH(A1:A37)>6,IF(MONTH(A1:A37)<10,B1:B37)))}
    Qtr-4: {=AVERAGE(IF(MONTH(A1:A37)>9,B1:B37))}

    Note: all formulas must be commited using Ctrl + Shift + Enter keys. Excel automatically adds the curly brackets.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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