Pivot table formula to filter results based on a specific criteria

irfananeeza

Active Member
Joined
Feb 15, 2008
Messages
339
Office Version
  1. 2010
Hi Experts, Is there a way to add a formula in pivot table to filter based on the following criteria. I want pivot table to show me the amount from "EDI" column when all other adjacent rows for column AC/KR/CHG/(Blank) are all blanks. Here is a sample pivot table and expected result. In addition, I would also like to see results for "EDI" AND "KR" when adjacent rows are blank. The pivot table raw data is huge 700,000+ rows.
Sum of AmtType
IDACEDIKRCHG(blank)
KKK12550600610
BDC21450475500
GG23350400
FG123300
AB123250
DE222200250777
HDF12525
Grand Total1000217511505251387


EXPECTED RESULT:
Expected Result
Sum of AmtType
IDACEDIKRCHG(blank)
FG123300
AB123250
Grand Total550
 
Last edited:

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

Forum statistics

Threads
1,226,114
Messages
6,189,051
Members
453,522
Latest member
Seeker2025

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