+ Reply to Thread
Results 1 to 4 of 4

5 Day rolling average

  1. #1
    Registered User
    Join Date
    07-16-2012
    Location
    Spokane Valley, WA
    MS-Off Ver
    Excel 2007
    Posts
    3

    5 Day rolling average

    First off, Can I just say that I am so glad there is a community like this out here! I have actually been using this forum for quite some time now as a reference, but I have come accross something that I havent been able to find a pheasable solution for. I need to take a 5 day rolling average of the 5 most recent entries for this table. They need to be separated by column, ex: the last 5 entries in column B currently average out at 122, but I cant get it so it automatically updates. I have been doing it manually every day, and its getting annoying. Does anyone have any Ideas? In row 2 I got it so it would find the last enry in the column, and I think I need to use that some how, but I cant get it to work. Any help is appreciated.

    5 Load Dashboard MOD.xlsx

  2. #2
    Registered User
    Join Date
    07-16-2012
    Location
    Spokane Valley, WA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: 5 Day rolling average

    Well, after more playing, I think I got it!

    Here is what I came up with

    =AVERAGE(INDEX(B:B,MATCH(9.99999999999999E+307,B:B)-4):INDEX(B:B,MATCH(9.99999999999999E+307,B:B)))

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

    Re: 5 Day rolling average

    Use in Column B

    =AVERAGE(OFFSET(INDEX(B:B,MATCH(9.99999999999999E+307,B:B)),-4,0,5,1))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    07-16-2012
    Location
    Spokane Valley, WA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: 5 Day rolling average

    Thanks,
    That one works great too!

+ 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