+ Reply to Thread
Results 1 to 8 of 8

Get the next 7days average continously

  1. #1
    Registered User
    Join Date
    07-17-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    45

    Get the next 7days average continously

    I need to get the average of next 7days . I'm using this formula
    =AVERAGE(OFFSET(B5,COUNT(B6:B12)-7,0,7,1))

    This formula supposed to continously get the average of the next seven days but whenever I add rows formula wreck. I add between row 4 and 5. The reference is in B5.
    Please help what I'm doing wrong and what to do so I can get the next seven days average and not to wreck the formula when I add rows.

    What I need to do is compare the yesterday EPV to the average of the next 7days.

    Snap_2.JPG


    --EDIT:

    So as you can see when I add a new row, the formula does not include the new data I added
    Attached Files Attached Files
    Last edited by lati2008; 06-17-2019 at 02:33 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,436

    Re: Get the next 7days average

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Get the next 7days average

    Try AVERAGEIFS.

    Something along the lines of:

    =AVERAGEIFS(B:B,A:A,">="&TODAY()-7,A:A,"<="&TODAY())

  4. #4
    Registered User
    Join Date
    07-17-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Get the next 7days average

    sorry, but how to make it only next 7days after yesterday. As you can see I'm collecting data based on yesterday report. And so what I need is to compare that EPV yesterday to the average of next seven days (excluding yesterday).

  5. #5
    Registered User
    Join Date
    07-17-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Get the next 7days average

    already attached the spreadsheet.

    Thank you.

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Get the next 7days average continously

    Hi

    I suppose this helps you. Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-17-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Get the next 7days average continously

    Quote Originally Posted by José Augusto View Post
    Hi

    I suppose this helps you. Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This works. Thank you.

  8. #8
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Get the next 7days average continously

    You are welcome.
    Please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 3
    Last Post: 05-01-2019, 09:05 PM
  2. conditional format: highlight cell according to condition (value < or> 7days )
    By lati2008 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 04-23-2019, 05:05 AM
  3. Replies: 5
    Last Post: 09-11-2018, 10:29 AM
  4. Replies: 4
    Last Post: 03-04-2018, 09:02 AM
  5. Need help with Timesheet 7days a week overtime + double time
    By allison9 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-22-2018, 03:32 PM
  6. [SOLVED] Find Average, Return Column Header of Number Closest To Average
    By djmyers in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-07-2013, 04:19 PM
  7. Replies: 1
    Last Post: 12-08-2011, 09:15 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