Summing a region on a data sheet if it is in a Pivot Table

bearcub

Well-known Member
Joined
May 18, 2005
Messages
701
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
My XL2BB addin is disabled so I cannot use it to display my table (I have to resort to the below snippet).

I got a message that Excel is blocking the macros in the add-in? How do I enable them so I can copy a range in this file.

I hope I'm making sense below. I apologize in advance if what I need is confusing. Bottom line is that I want to create a dynamic table based upon what is being shown in the pivot table. The pivot table shows sales. The criteria i need are based upon the N & Y letters in Column A and the Business Unit in Column B. Based upon what is visible, the Aug Commission table will update based upon what is visible. The commissions data is on another sheet.
Here goes:


I am trying to sum a total commissions dynamic by a region by using what is being shown in the pivot table (B-K). The commissions are on the Table tab and the pivot table is the Dashboard Start tab/

I want to make the Aug commissions table dynamic (the table that starts on the United HealthCare Services line). The Slicer in Columns X-Z controller the Pivot table.

The "N" & "Y" letters in column A are linked to the source sheet (Column R on the "Table" tab). When N 0r Y in the slicer is activated, column A will show either the N, Y or both (as seen below).

What formula structure could I use to sum the Business Unit order type if N, Y or both appear in column A.? I've been thinking of Sumifs but I think this is needs an array formula or could I use Sumproduct for this)?


1664424933126.png
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I think the only approach I have to add helper columns to the pivot table source sheet. The pivot table is driving the commission totals so I guess I have to populate the pivot table source sheet with the commission payments. Or, is there another way to do this?
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,669
Members
448,977
Latest member
moonlight6

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