+ Reply to Thread
Results 1 to 1 of 1

Rolling 3 week average based on weekday

  1. #1
    Registered User
    Join Date
    02-20-2012
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    74

    Rolling 3 week average based on weekday

    Hi, I am trying to figure out why my formula isn't working. I am trying to figure out the rolling 3 weeks based on a given week. I am using the following date 4/22/2013 and It is working in one section of my workbook but not another. Below is the formula.

    SUMPRODUCT(--('Avg Daily Rev Pivot'!$B$11:$B$953>=(MAX(IF(WEEKDAY('Avg Daily Rev Pivot'!$B$11:$B$953=WEEKDAY($D$3)),'Avg Daily Rev Pivot'!$B$11:$B$953))-21)),--((WEEKDAY('Avg Daily Rev Pivot'!$B$11:$B$953)=WEEKDAY($D$3))),--('Avg Daily Rev Pivot'!$L$11:$L$953))/3

    I am attaching a small dataset example of what i am trying to do. I want it to find what the average 3 weeks Monday is for the same timeframe Last Year. I also need to adjust this formula to only look at the average for Jan - April, not the entire year.

    Let me know if this makes sense. I really appreciate anyone's help.
    Attached Files Attached Files

+ 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