PIVOTBY / GROUPBY filtering

pholt33

Board Regular
Joined
Jan 4, 2005
Messages
202
Office Version
  1. 365
Platform
  1. Windows
I have a PIVOTBY that works but I want to filter out some of the data and am running into an issue. Here is what I have...

=PIVOTBY(Table4[SlicerDate],HSTACK(Table4[Tags],Table4[Group]),Table4[Amount],SUM,0,0,,2,,Table4[Group]<>"Transfer")

How can I have 2 criteria in the filter_array? I want Table4[Group]<>"Transfer" and Table4[Tags]<>"Split"
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I want Table4[Group]<>"Transfer" and Table4[Tags]<>"Split"
Is this what you mean?
Excel Formula:
=PIVOTBY(Table4[SlicerDate],HSTACK(Table4[Tags],Table4[Group]),Table4[Amount],SUM,0,0,,2,,(Table4[Group]<>"Transfer")*(Table4[Tags]<>"Split"))
 
Upvote 0
Solution
I thought I had tried that method but obviously did it incorrectly. I copy/pasted yours and it worked perfectly. Thanks!
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,038
Members
449,092
Latest member
ikke

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