Results 1 to 7 of 7

Average of 3 pieces of data from within a row

Threaded View

  1. #1
    Registered User
    Join Date
    04-12-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    4

    Average of 3 pieces of data from within a row

    So I'm working on building an automated score sheet for a team.

    I'm currently using the formula

    =ROUND(AVERAGE(INDEX(B2:M2,LARGE(IF(B2:M2<>"",COLUMN(B2:M2)-COLUMN(B2)+1),3)):INDEX(B2:M2,MATCH(9.99999999999999E+307,B2:M2))),0)
    To pull and average the latest three entries in each row.

    The scores are needing to be based on a handicap system- the average of the previous 3 scores get subracted from the most recent and that number added to 1000, to find the handicapped score. Right now I'm using the spreadsheet to get the average, but it's also pulling from the most recent score, which is not desired.

    For example,in the first four events in a season, a person scores A,B,C, and D. What I would like to have happen is to be able to enter the scores and have the spreadsheet automatically average the A,B,and C while saving the D for the overall handicapped score calculation.

    My formula above is unfortunately taking the average of B,C,and D. Is there any way to have excel pull the 2nd most recent, 3rd most recent, and 4th most recent? Or possibly to have an exemption for the 1st most recent?
    Last edited by Virant518; 04-13-2010 at 12:15 PM. Reason: SOLVED

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