+ Reply to Thread
Results 1 to 3 of 3

Average based on last 7 values (non-blank/zero)?

  1. #1
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    Average based on last 7 values (non-blank/zero)?

    Book7.xlsx

    The workbook is attached.

    Columns B,C,D,E have the desired result in row 18.

    What I want the formula to do is starting from row 13, go up and average the next 7 values that are not blank. If its easier, the starting point could be row 4 and I could adjust my data, but just let me know.

    Thanks guys.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Average based on last 7 values (non-blank/zero)?

    Hi,

    What if there are less than 7 non-blank entries in the range, as for Brandon Belt, etc.?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    Re: Average based on last 7 values (non-blank/zero)?

    Quote Originally Posted by XOR LX View Post
    Hi,

    What if there are less than 7 non-blank entries in the range, as for Brandon Belt, etc.?

    Regards
    Sorry, my question has changed and I will post another topic.

+ 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. Average of last 5 values but to exclude any blank cells.
    By tb2000 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-12-2019, 03:14 PM
  2. Replies: 2
    Last Post: 02-09-2014, 12:40 AM
  3. Generating average monthly values based on weekly values
    By Marcusneedshelp in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2014, 06:16 AM
  4. VBA list based on value and average of values based on entry
    By smalaspina in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2012, 02:24 AM
  5. average next 5 non blank values of a row
    By FooFghtrs33 in forum Excel General
    Replies: 17
    Last Post: 05-12-2009, 02:59 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