Summing Mulitple values from variant pivots

analysis_paralysis

New Member
Joined
Mar 12, 2009
Messages
16
Hello,
I am trying to add data from 3 different pivot tables for a certain value set, generally my equation is working but I am running into a problem with one of the categories as it is null in one of the three sets I am addding from - causing the entire thing to kick back blank.
Here is my equation - I need to modify so that it will sum the value of category "POS" and category "APOS" if category "Complex" is blank as well as the otehr variation possibilities (meaning: sum POS & Complex if APOS is blank, Sum APOS & Complex if POS is blank, Sum all 3 if none are blank).
Help would be great, I am so stuck!
A_P
=IF(ISERROR(GETPIVOTDATA("Add'l by EOQ",'Financial Pivot'!$A$1,"Probability_of_closure","60%","Category","POS","New Segment",B18)+GETPIVOTDATA("Add'l by EOQ",'Financial Pivot'!$A$1,"Probability_of_closure","60%","Category","Complex","New Segment",B18)+GETPIVOTDATA("Add'l by EOQ",'Financial Pivot'!$A$1,"Probability_of_closure","60%","Category","APOS","New Segment",B18)),"",GETPIVOTDATA("Add'l by EOQ",'Financial Pivot'!$A$1,"Probability_of_closure","60%","Category","POS","New Segment",B18)+GETPIVOTDATA("Add'l by EOQ",'Financial Pivot'!$A$1,"Probability_of_closure","60%","Category","Complex","New Segment",B18)+GETPIVOTDATA("Add'l by EOQ",'Financial Pivot'!$A$1,"Probability_of_closure","60%","Category","APOS","New Segment",B18))
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I strongly suggest that you turn off the GETPIVOTDATA so you can treat pivot tabe data just like any other sheet ranges.
 
Upvote 0
Generally speaking I would agree, my client is dead set on keeping the getpivotdata (his file) but I do appreciate your input.
That being said, I solved the problem already - my post was a bit premature.
Thanks,
A_P
 
Upvote 0

Forum statistics

Threads
1,216,030
Messages
6,128,411
Members
449,449
Latest member
Quiet_Nectarine_

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