+ Reply to Thread
Results 1 to 7 of 7

Points scored over the last 30 days instead of total points over total days.

  1. #1
    Forum Contributor
    Join Date
    04-15-2016
    Location
    Gold Coast Australia
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    140

    Points scored over the last 30 days instead of total points over total days.

    I have 3 people in a competition and want to make a leaderboard.

    I have achieved this but I don't know how to make it a rolling leaderboard by showing the leader for the last 30 days.

    At the moment they get an "L" for leading converted to a score getting 1 point for every time they lead on the day.

    Then they have a total where any point scored is added to their previous total.

    Then converted to a percentage.

    So their total score is divided by the number of days.

    Is there a way to make their total score and percentage for the last 30 days.

    eg Day 40 would be the points over the last 30 days divided by 30 instead of the points for the last 40 days divided by 40 days which I have at the moment.

    I have attached my spreadsheet.

    Thanks in advance for any help.

    Doug
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,544

    Re: Points scored over the last 30 days instead of total points over total days.

    Try

    in E31

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


    copy down
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,073

    Re: Points scored over the last 30 days instead of total points over total days.

    Try this,
    D2
    =SUM(INDEX(C:C,MAX(2,$A2-29)):C2)

    E2
    =D2/(ROW()-MAX(2,$A2-29)+1)*100

    copied down and copied to H、I、L、M columns.
    Attached Files Attached Files

  4. #4
    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,975

    Re: Points scored over the last 30 days instead of total points over total days.

    Do you mean something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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


  5. #5
    Forum Contributor
    Join Date
    04-15-2016
    Location
    Gold Coast Australia
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    140

    Re: Points scored over the last 30 days instead of total points over total days.

    Thanks to all of you - Reps added to each - It is really late here in Australia (after midnight) so will try them all tomorrow. Thanks again. Doug

  6. #6
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,073

    Re: Points scored over the last 30 days instead of total points over total days.

    You are welcome.

  7. #7
    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,975

    Re: Points scored over the last 30 days instead of total points over total days.

    You're welcome. Thanks for the rep.

+ 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] New rolling total for points scored in last 3 games
    By Ramenmole in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 08-25-2022, 02:38 PM
  2. [SOLVED] Rolling total for points scored in last 3 games
    By Ramenmole in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-22-2022, 10:46 AM
  3. Replies: 4
    Last Post: 05-27-2022, 11:04 AM
  4. [SOLVED] Form a total days date based on a date and a total number of days
    By choletseng in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-15-2022, 07:11 PM
  5. [SOLVED] calculate total number of days between two days based on 365 days year
    By aparunkumar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-14-2016, 12:51 AM
  6. Replies: 6
    Last Post: 06-23-2014, 10:57 AM
  7. Replies: 1
    Last Post: 02-07-2010, 12:44 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