PIVOTBY / GROUPBY filtering

pholt33

Board Regular
Joined
Jan 4, 2005
Messages
206
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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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,224,311
Messages
6,177,810
Members
452,806
Latest member
Workerl3ee

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