Excel SUMIF/SUMIFs Formula to Aggregate PivotTable Subrows

karenzh

New Member
Joined
Sep 8, 2022
Messages
3
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I am trying to aggregate a PivotTable's subrows, depending on that cell's associated grouping. Next to my Pivot I have a VLOOKUP helper column that gives the individual project's umbrella grouping, and another helper column to put the team name on each row. I believe using SUMIFs is the right way to go, but am relatively beginner with Excel formulas.

Here's what my sheet looks like:
Screen Shot 2022-09-07 at 6.31.45 PM.png

(The grey part is the PivotTable).

I'd like to sum up the project groups in another table, so it turns out like this:

TeamsProjectsJanuaryFebruaryMarch
Team Name AProject Group A25%50%100%
Team Name AProject Group B75%50%0%
Team Name BProject Group A85%100%100%
Team BProject Group B15%0%0%

Would anyone be able to help with the correct formula to sum up the percentages for each project group?

Note: Did do it successfully on another Pivot in the workbook but there were only two criteria there. Looked like this:

=SUMIF($37:$37,$C$1,(INDEX($B$39:$B$75,MATCH($D$4,$B$39:$B$75,0))))
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Tried this: =SUMIFS(INDEX($E37:$P37,MATCH($E$4,$E37:$P37,0)),$B39:$B777,$C$5,$A39:$A777,$B$5) but pretty sure it's not right.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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