Forum Discussion
iwaddo
Sep 27, 2025Copper Contributor
Best way to get rolling 12-month totals
I am using Excel for Mac version 16.102. I have data in a Table which is basically date, category & value. There are many other columns I use for filtering. I pivot this data to get totals by month...
Kidd_Ip
Sep 27, 2025MVP
How about adding a Helper Column for Rolling Totals:
To automate rolling 12-month totals and make them graphable:
- Create a Helper Column in Your Source Table
Add a column called Rolling 12M Total. Use a formula like this (assuming your table is named Data and your date column is Date):
=SUMIFS(Data[Value], Data[Date], ">=" & EDATE([@Date], -11), Data[Date], "<=" & [@Date])
This formula sums the values from the current row’s date back 11 months, giving you a 12-month rolling total.
- Add a Month Column
Create a column like MonthLabel with:
=TEXT([@Date], "mmm yy")
This helps you group and visualize data by month.
- Use a Pivot Table or Chart
Now you can:
- Create a pivot table using MonthLabel as rows and Rolling 12M Total as values.
- Or build a line chart directly from the table to show movement over time.
iwaddo
Sep 27, 2025Copper Contributor
Hi, I've tried this but my totals are just way too high. If every row has a last 12-month total and you add them all up you are effectively adding each row in many many times.
Of course, I may have misunderstood what you were suggesting.
Thank you for your help.