Share via

How to create a rolling 12-month total for this Excel sheet?

Seth 40 Reputation points
2025-10-27T15:44:05.9233333+00:00

This is an attendance sheet with a sum total of the rows on the "Points balance" column first column on the left. The dates are above each subsequent column where points are added.

The name of associate and their points are recorded in the row.

How do I make points drop off 12 months after they are inputted, so the Points balance column updates the total?

Ex: Receive 2 points on Feb 2nd 2025, and remove 2 points on February 2nd 2026

Thanks

User's image

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

Answer accepted by question author

JeovanyCV 470 Reputation points Volunteer Moderator
2025-10-30T01:53:19.2833333+00:00

Hi Seth

To find a solution to your problem,

  1. I created a 6-year (1st-Jan-2025 to 31 Dec-2030) Attendance Template, based on the file you shared.
  2. To facilitate navigation through the 2000-plus dates/columns in the table to enter the data, I created formula Hyperlinks that will take you to the Beginning or the End of the current month.
  3. By clicking the links, you can also go to the current Date column or go to the column matching the date you enter in cell A18.

User's image

Here is the working formula for the Point Balance column.

=SUMIFS($G5:$CFM5,$G$3:$CFM$3,">"&EOMONTH(TODAY(),-12),$G$3:$CFM$3,"<="&TODAY())

You may find this solution file at this link.

https://1drv.ms/x/c/0690c2e5540f9131/ET9UJlu07E9Hg48dmXNmeVYBvMv772Hue6kceInqDFg1Xw?e=iYxwk1

I hope this helps you and gives a solution to your problem

Do let me know if you need more help

On the other hand,

If the answer helped you.

Please consider marking this thread as answered.

It would help others in the community with similar questions or problems.

Thank you in advance

Regards

Jeovany

Was this answer helpful?

1 person found this answer helpful.

Answer accepted by question author

Hendrix-C 16,155 Reputation points Microsoft External Staff Moderator
2025-10-27T16:37:30.2333333+00:00

Hi @Seth,

Thank you for posting your question in the Microsoft Q&A forum.

Based on your sharing, you want the Points Balance columns will update automatically by removing points exactly 12 months after they were added. To achieve this, you can use a SUMIF formula to sum only points within the last 12 months relative to a reference date.

  • This is the current setup in my test environment. In cell B3, I use this formula: =SUMIFS(C2:N2,$C$1:$N$1, ">"&EDATE($O$2, -12),$C$1:$N$1, "<=" & $O$2)

User's image

  • When the reference date changes to 1/1/2026, the Point Balance will be dropped off automatically after exactly 12 months.

User's image

Hope this will help resolve your concern. Please don't hesitate to reach out again if you need help with any steps. I'm here to support you and make sure everything will work properly.

Thank you for your understanding and cooperation. I'm looking forward to your reply.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.