+ Reply to Thread
Results 1 to 3 of 3

How to Calculate Moving Average from top of list for first 10 rows?

  1. #1
    Registered User
    Join Date
    12-22-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    excel 2010
    Posts
    3

    How to Calculate Moving Average from top of list for first 10 rows?

    Hi

    I would like to calculate the moving average for the first ten rows in a column where each new entry is added to the cell above the last entry.

    For example

    A5, 2
    A6, 3
    A7, 4
    A8, 5
    A9, 6
    A10, 7
    A11, 8
    A12, 9
    A13, 10
    A14, 11
    A15, 12
    Therefore in the current list the average is AVERAGE(A5:A14)=6.5.

    The next entry added to the list will be in cell A4 making the list look like this

    A4, 1
    A5, 2
    A6, 3
    A7, 4
    A8, 5
    A9, 6
    A10, 7
    A11, 8
    A12, 9
    A13, 10
    A14, 11
    A15, 12

    The average of the first 10 cells is now AVERAGE(A4.A13) = 5.5

    I would like to enter one formula in say cell A1 that will calculate the moving average in the first ten cells each time a new entry is added. Naturally as needed, new rows are added below cell A1. I hope my problem is clear.

    I would be grateful to the solution to this problem as I have been unable to solve it myself.

    I would be very grateful to the answer to my problem. I have tried using offset but have been unable to resolve the issue.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How to Calculate Moving Average from top of list for first 10 rows?

    In A1 Cell

    =AVERAGE(OFFSET(A1,MATCH(TRUE,INDEX(A2:A1048576<>"",),0),,10))


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-22-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    excel 2010
    Posts
    3

    Re: How to Calculate Moving Average from top of list for first 10 rows?

    Hello Sixthsense,

    Brilliant. Thank you so much for the solution. That is a great relief. If you are able I would appreciate an explanation.

+ 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: 15
    Last Post: 05-26-2016, 11:52 PM
  2. Need to calculate average for a column based on moving start column
    By BonnD in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-03-2013, 08:35 AM
  3. Replies: 0
    Last Post: 09-25-2012, 09:39 AM
  4. Replies: 10
    Last Post: 06-28-2012, 08:59 AM
  5. How to calculate sum of a moving range and average it
    By a_driga in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-27-2011, 02:17 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