Formula to sum quarters with current formula

1AG

New Member
Joined
Apr 8, 2020
Messages
25
Office Version
  1. 2011
Platform
  1. Windows
I have a current formula which returns value by month using 1-12 for months...I am needing the formula to return value by quarter as well. The formula I use is SUM((MONTH(Sheet!1$G:$G)=Report!AC2)*(Sheet!1$J:$J=Report!C$2)*(Sheet1!$B:$B=Report!$B5)*(Sheet!1$E:$E))

Report!AC2=4 (April) 1 Qtr = 1,2,3 2 Qtr =4,5,6


The other formula I have been trying to use is SUMPRODUCT((ROUNDUP(MONTH(Sheet!1$G:$G)/3,0)=1)*(Sheet!1$G:$G))

Have been working on for several days now!Thank you in advance!!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
The other formula I have been trying to use is SUMPRODUCT((ROUNDUP(MONTH(Sheet!1$G:$G)/3,0)=1)*(Sheet!1$E:$E))
 
Upvote 0
Try just using the range of your actual data and not whole column references.

Book1
ABCDEF
1Month/YearAmountQtr20192020
21/1/2019198119152084
32/1/2019994216511968
43/1/2019723320621915
54/1/2019711410861569
65/1/2019148119152084
76/1/2019792216511968
87/1/2019815320621915
98/1/2019363410861569
109/1/2019884
1110/1/2019171
1211/1/2019406
1312/1/2019509
141/1/2020622
152/1/2020620
163/1/2020842
174/1/2020638
185/1/2020758
196/1/2020572
207/1/2020706
218/1/2020788
229/1/2020421
2310/1/2020226
2411/1/2020384
2512/1/2020959
Sheet2
Cell Formulas
RangeFormula
E2:F9E2=SUMPRODUCT((ROUNDUP(MONTH($A$2:$A$25)/3,0)=$D2)*(YEAR($A$2:$A$25)=E$1)*($B$2:$B$25))
 
Upvote 0
Try just using the range of your actual data and not whole column references.

Book1
ABCDEF
1Month/YearAmountQtr20192020
21/1/2019198119152084
32/1/2019994216511968
43/1/2019723320621915
54/1/2019711410861569
65/1/2019148119152084
76/1/2019792216511968
87/1/2019815320621915
98/1/2019363410861569
109/1/2019884
1110/1/2019171
1211/1/2019406
1312/1/2019509
141/1/2020622
152/1/2020620
163/1/2020842
174/1/2020638
185/1/2020758
196/1/2020572
207/1/2020706
218/1/2020788
229/1/2020421
2310/1/2020226
2411/1/2020384
2512/1/2020959
Sheet2
Cell Formulas
RangeFormula
E2:F9E2=SUMPRODUCT((ROUNDUP(MONTH($A$2:$A$25)/3,0)=$D2)*(YEAR($A$2:$A$25)=E$1)*($B$2:$B$25))
Thank you!
 
Upvote 0

Forum statistics

Threads
1,216,116
Messages
6,128,933
Members
449,480
Latest member
yesitisasport

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