+ Reply to Thread
Results 1 to 2 of 2

Averages using Quarters & Months

  1. #1
    Registered User
    Join Date
    05-07-2008
    Posts
    7

    Averages using Quarters & Months

    Hi,

    I've come across this issue for the past couple of years and never got around to solving it. I usually create a long work around but i think its time to ask the pros for a better method.

    I'm trying to get a clean formula or clean vba code to do the following: Average the values of certain months that match the given quarter # and year. For example:

    1) I have a cell with Q1-10 written it (general), and
    2) cells with Jan-10, Feb-10, Mar-10 (dates) and next to these cells their respective values

    Jan-10 100
    Feb-10 25
    Mar-10 25

    i would like to get the average of Q1-10

    My most recent method for solving this is as follows


    Please Login or Register  to view this content.
    This formula entered near Q1-10 would find the specific months in Q1 and sum their values then divide by the number of months with available data

    It works fine on my pc with excel 2007, but for some strange reason it doesnt work in other peoples excel 2007. Im sure there is a much simpler way to solve for this. Could someone pls advise

    I would like to use a manual function in order to avoid manual mistakes.Im thinking something along the lines of Q1Average(Year, Range, Average Range)

    where the funtion would immediatly look for Jan-10, Feb-10, Mar-10 in the relevant cells and just average out the numbers in the average range

    Thanks for the help!

  2. #2
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Averages using Quarters & Months

    Hi jimbb;

    Here's a file that has it in it.
    Attached Files Attached Files
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

+ 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.6.0 RC 1