+ Reply to Thread
Results 1 to 3 of 3

Formula needed for running average

  1. #1
    Registered User
    Join Date
    02-19-2014
    Location
    Surrey, UK
    MS-Off Ver
    Excel 2010
    Posts
    23

    Formula needed for running average

    Need some help with a formula:

    I need to see the running average to the current period, so looking at my attached spreadsheet I have periods P01 (cell D3) through to P13 (cell P3). In my example let’s assume that the current period is P03, cell B1 (this will change every 4weeks, at which point the value P04 will be entered at cell B1 and new data will be entered at row 4 & 5 for the current period).

    What I need is a formula in cell Q4 that will average the results to date for that row (so if my current period is P03, I need the value in cell Q4 to return the average of periods to date) e.g. (10+3+4)/3

    I need the formula to be automated such that I enter to values for the current period, amend cell B1 to the current period & the formula in cell Q4 will return the average of the periods to date.

    Thanks in advance for help.
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula needed for running average

    In Q4

    =AVERAGE(D4:INDEX(D4:P4,MATCH($B$1,$D3:$P3,0)))

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    02-19-2014
    Location
    Surrey, UK
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Formula needed for running average

    Thanks that does exactly what I want. Understand the formula apart from the D4 prior to the index, can you explain please.

+ 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. [SOLVED] Running average formula
    By shrijan in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-14-2013, 09:28 AM
  2. Running Average formula
    By livemusic in forum Excel General
    Replies: 2
    Last Post: 03-23-2012, 06:29 AM
  3. help with a running average formula
    By jacflash in forum Excel General
    Replies: 3
    Last Post: 06-24-2010, 06:34 AM
  4. Running average formula?
    By Jeebs in forum Excel General
    Replies: 2
    Last Post: 07-08-2008, 10:48 AM
  5. Running average formula
    By CYLax in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-20-2007, 09:36 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