+ Reply to Thread
Results 1 to 4 of 4

Rolling Average

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    NSW, Australia
    MS-Off Ver
    Excel 2010
    Posts
    76

    Rolling Average

    Hello

    I have data in Column A, and I need a formula in column B that gives a rolling sum of the last 5 data points in Col A.
    So assuming the data starts in A1 and to A50, I would like B5 to contain the sum of A1-A5, B6 would then have the sum of A2-A6, B7 the sum of A3-A7 and so on until the data in Col A ends.

    Any assistance is greatly appreciated

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Rolling Average

    b5=sum(a1:a5)

    and drag down
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,872

    Re: Rolling Average

    in B5 enter =Avg(A1:A5)
    Then copy it down

    Edit: Misread the request. Should read =Sum(A1:A5)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Rolling Average

    Your thread title says average but your explanation asks for a sum?

    Try one of these...

    Entered in B5 and copied down as needed:

    =AVERAGE(A1:A5)

    =SUM(A1:A5)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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