Help with GetPivotData

Gjg1234

New Member
Joined
Nov 21, 2018
Messages
7
Hi,

I cannot seem to get all parts of my formula to calculate.

I have created the formula for 243 rows, but even though the formula is supposed to calculate correctly for all rows, it seems to work for some rows but not for the rest where it is supposed to calculate.

My formula is as follows:

Works for this:

=GETPIVOTDATA("Count of Product Code",Pivot_Analysis!$A$3,"Total No of Orders",B2,"Total no Qty Ordered",C2,"Total No of Days",D2,"Total No of Order Lines",E2,"Total No of times picked from a Pallet Location",F2)

But not this (even though it is supposed to):

=GETPIVOTDATA("Count of Product Code",Pivot_Analysis!$A$3,"Total No of Orders",B2,"Total no Qty Ordered",C2,"Total No of Days",D2,"Total No of Order Lines",E2,"Total No of times picked from a Pallet Location",F2)

Formula Sheet:

9

fulxqa.jpg
[/IMG]

Reference Pivot Table:

fozvw1.jpg
[/IMG]


Any ideas on how to fix this?
 
Hi Rory,

Thanks so much for your reply,

i got this:

=GETPIVOTDATA("Product Code",Pivot_Analysis!$A$3,"Total No of Orders","Low ","Total no Qty Ordered","Low ","Total No of Days","Low ","Total No of Order Lines","Low ","Total No of times picked from a Pallet Location","Low ")
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi Rory,

Its okay, I managed to fix it. I found the error, there was a space in the 'Low' in another one of my excel sheets.

Thanks so much for your assistance!
 
Upvote 0
Looking at that, there's a space at the end of all the Lows. :)
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,665
Members
449,114
Latest member
aides

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