+ Reply to Thread
Results 1 to 7 of 7

Rolling average with data in a row using only last 10 entries ignoring blanks

  1. #1
    Registered User
    Join Date
    08-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    7

    Rolling average with data in a row using only last 10 entries ignoring blanks

    Gangsome Scoring.xlsxLooking for a formula that will go in E3 that will calculate the last 10 entries average score. Will drag formula down for all 50 players. Any help would be appreciated. First time on boards and tried several formulas from searches but cant get one that calculates correct values.

  2. #2
    Registered User
    Join Date
    08-15-2013
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Rolling average with data in a row using only last 10 entries ignoring blanks

    Try this formula in cell E1 and copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It's an array formula so make sure it has the curly braces { } at either end when it's entered into the cell.

    It averages rolling 10-day average of scores, excluding blanks. Note that it includes today's score in the 10 days. If you want it to look for the 10 days up to yesterday, then you want this formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Have a great day!

  3. #3
    Registered User
    Join Date
    08-15-2013
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Rolling average with data in a row using only last 10 entries ignoring blanks

    Try this formula in cell E1 and copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It's an array formula so make sure it has the curly braces { } at either end when it's entered into the cell.

    It calculates rolling 10-day average of scores, excluding blanks. Note that it includes today's score in the 10 days. If you want it to look for the 10 days up to yesterday, then you want this formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Rolling average with data in a row using only last 10 entries ignoring blanks

    Mr CPWalker all my best to you sir!!! Thank you so much it works perfectly except on some of the players I am getting a div0 error. It appears it was from
    anyone that had rounds that were taken off GHIN handicap. That is done if a player does not have at least 10 rounds in the game yet. The heading had GHIN1
    instead of any actual date so I think it was throwing the formula off. I replaced the column headers to reflect dates and still getting the same error. Gangsome Scoring.xlsx

  5. #5
    Registered User
    Join Date
    08-15-2013
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Rolling average with data in a row using only last 10 entries ignoring blanks

    Hey Lasers Reef, the #DIV/0! errors are caused by the fact that some players haven not played any games in the past 10 days. For those players the formula becomes zero divided by zero, which is what causes the error. Jerod Turner in row 4 is an example of this. The most recent score for him is on 8/1/2013. The formula is 10-day rolling average starting from today's date and going back 10 days.

  6. #6
    Registered User
    Join Date
    08-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Rolling average with data in a row using only last 10 entries ignoring blanks

    OK now I see what it is calculating. I was looking for the last 10 rounds played (could have been over a year period) but I will use that as well to look at the past month for each player by changing the 10 in your formula to 30..

  7. #7
    Registered User
    Join Date
    08-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Rolling average with data in a row using only last 10 entries ignoring blanks

    Thanks for the quick resolution!!!

+ 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. [SOLVED] Average last n numbers ignoring blanks
    By Cryptic in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-06-2013, 07:05 AM
  2. Average tabs ignoring blanks
    By jbwizoz in forum Excel General
    Replies: 3
    Last Post: 11-16-2011, 05:00 PM
  3. Average ignoring Blanks cells
    By Justinmih in forum Excel General
    Replies: 10
    Last Post: 09-30-2011, 06:21 PM
  4. UDF to calculate average according to condition, ignoring blanks
    By dmitry in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-14-2011, 05:51 PM
  5. [SOLVED] Conditional Average Ignoring Blanks
    By Dirk Friedrichs via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-06-2005, 11:06 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