LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default GetPivotData with column grand totals

Hi!

I have a pivot table with the following layout:
[Count of results]
[Status] [Result]
P F Grand Total
A 10 3 13
B 15 8 23
C 5 4 9
Grand Total 30 15 45

A1 = [Count of results]

i am using the GetPivotData function to retrieve the grand totals but i can
only
retrieve the row grand totals (13, 23, 9) and not the column grand totals
(30, 15, 45).
Here is what i tried:
=GETPIVOTDATA(A1, "A") -- 13
=GETPIVOTDATA(A1, "Result") -- 45
=GETPIVOTDATA(A1, "P") -- #N/A
=GETPIVOTDATA(A1, "F") -- #N/A

I have tried using cell references but it doesn't make any difference.
I read many different how-tos about this function but the only solution i
found assumed the presence of column sub-totals.

What am i doing wrong? Help is appreciated

--
Thanks in advance
/Enrico
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Referencing a pivot tables Grand Totals Column glen Excel Discussion (Misc queries) 1 June 20th 11 05:11 PM
Pivot Totals: Group totals different from Grand totals PsyberFox Excel Discussion (Misc queries) 1 February 13th 08 06:16 PM
Grand Totals with Nested Sub Totals Brenda from Michigan Excel Discussion (Misc queries) 7 January 18th 08 01:26 PM
Excel - how do I show column grand totals on the pivot chart newuser Charts and Charting in Excel 0 March 7th 06 02:30 PM
How do I fix my Stacked column chart with grand totals? Jennifer Charts and Charting in Excel 2 February 27th 06 05:20 PM


All times are GMT +1. The time now is 09:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"