+ Reply to Thread
Results 1 to 6 of 6

Rolling four week avg. - Excel 2010

  1. #1
    Registered User
    Join Date
    04-04-2011
    Location
    Cleveland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Rolling four week avg. - Excel 2010

    Hi, I'm hoping someone can help me. I'm trying to automate a rolling average that will always average the four most recent data points based on the date.

    I have attached the file. The run rate average is in cell A2 and the next weeks data will be added to the next empty column (O).

    Thanks,
    Steve
    Attached Files Attached Files
    Last edited by Huzzah; 04-04-2011 at 12:12 PM.

  2. #2
    Registered User
    Join Date
    04-04-2011
    Location
    Cleveland
    MS-Off Ver
    Excel 2010
    Posts
    6
    Please ignore, I thought I was making a new post. Newbie error

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Rolling four week avg. - Excel 2010

    Maybe this

    =AVERAGEIF(B1:N3,">="&MAX(B1:N3)-21,B4:N4)

  4. #4
    Registered User
    Join Date
    04-04-2011
    Location
    Cleveland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Rolling four week avg. - Excel 2010

    Quote Originally Posted by Cutter View Post
    Maybe this

    =AVERAGEIF(B1:N3,">="&MAX(B1:N3)-21,B4:N4)
    Using this method won't I have to change the fomula when I add the next weeks data in column O? Is there a way to reference the entire rows for the date and data and only average the four highest data values?

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Rolling four week avg. - Excel 2010

    Just change the column range to the max which is XFD so

    =AVERAGEIF(B1:XFD3,">="&MAX(B1:XFD3)-21,B4:XFD4)

  6. #6
    Registered User
    Join Date
    04-04-2011
    Location
    Cleveland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Rolling four week avg. - Excel 2010

    Quote Originally Posted by Cutter View Post
    Just change the column range to the max which is XFD so

    =AVERAGEIF(B1:XFD3,">="&MAX(B1:XFD3)-21,B4:XFD4)
    DUH!! Fantastic, thank you so much.

+ 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