How do sum up multiple items for the same field using cell references in GETPIVOTDATA

rahul83

New Member
Joined
Dec 27, 2019
Messages
2
Office Version
  1. 2013
  2. 2010
  3. 2007
Platform
  1. Windows
Dear Excel Experts

I want to sum up data for more than 2 fields from a pivot table using GETPIVOTDATA formula. When I linked it with one field it is giving correct result as show below

=SUM(IFERROR((GETPIVOTDATA("Sum of UT",$A$3,"Companies",$P47:$P$12,"Period",K$6,"Bank",$O$7,"Facilities","Current Account","F/N","FB")),))

But when I linked with more than one field it is not giving correct result

=SUM(IFERROR((GETPIVOTDATA("Sum of UT",$A$3,"Companies",$P$7:$P$12,"Period",K$6,"Bank",$O$7:$O$20,"Facilities","Current Account","F/N","FB")),))

I would be grateful if you can help me on the above issue. Thank you
 

Attachments

  • Capture.PNG
    Capture.PNG
    102.8 KB · Views: 37

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Cross posted How do sum up multiple items for the same field using cell references in GETPIVOTDATA

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
Cross posted How do sum up multiple items for the same field using cell references in GETPIVOTDATA

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

Thank you for correcting me. This happend because I am new to this forum and posted my query for the first time. I would appreciate if the query can be put under the right forum. I need help on my query otherwise I may loose the job. Thank you
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,286
Members
449,076
Latest member
kenyanscott

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