Sum of Cumulative Quarterly Data

abschy

New Member
Joined
Mar 20, 2019
Messages
31
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi all,

Need some help with an excel formula to calculate the cumulative quarterly YTD data based on whichever quarter is selected.

In my dashboard, i have a cell to select which quarter i want - Q1, Q2, Q3, Q4

What i need is a formula to calculate the cumulative sum based on Quarter:

For eg.
If Q2 is selected, sum Q1 and Q2
If Q4 is selected, sum Q1 - Q4 data.

Currently, i have a column in my data table calculating what Quarter my project lies in based on the date.
But i am unable to come up with a simplified formula to calculate this.
I know i can use "IF" formula, but that is just too long and cumbersome, so i would like to see if there is any other formula that is more streamlined?

Thank you all for your help!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
This is something a pivot table would handle relatively easily.
Book1
BCDEF
1DateAmt
221/01/202210
321/05/202220Row LabelsSum of Amt
421/02/202230Qtr140
521/06/202240Qtr4150
621/08/202250Grand Total190
721/09/202260
821/10/202270
926/10/202280
Sheet1
 
Upvote 0
Book1
EF
2
3Row LabelsSum of Amt
4Qtr140
5Qtr260
6Qtr3110
7Qtr4150
8Grand Total360
Sheet1
 
Upvote 0
Book1
EF
2
3Row LabelsSum of Amt
4Qtr140
5Qtr260
6Qtr3110
7Qtr4150
8Grand Total360
Sheet1
Hi Kerryx,

Thanks for your reply.

The pivot table only shows the sum for that quarter itself, not the cummulative sum.

Something like below:
1654137304596.png
 
Upvote 0
Ok so basically a runing total of the Qtrs
1654155480728.png
1654155537387.png
1654155567512.png
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top