Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wozzle
 
Posts: n/a
Default Get Pivot Table Data Formula

Is anyone a Pivot Table Guru?
I need to use the GetPivotData formula to get a subtotal line within the
Pivot, but when I use the equals I keep getting a reference error!

eg. Need to access Sep Hrs - cannot get total as I receive a ref error.
But for Total hrs I can use the formula!!

Is there a way I can use the getpivotdata formula or another formula to
access these category subtotals from the pivot table!! The pivot table is
dynamic aswell, and its range grows as you add in additional weeks..

Help!!
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

There are example GetPivotData formulas in Excel's Help. Can you base
your formula on one of those?

If not, describe your pivot table layout, and which version of Excel
you're using, and someone may be able to help.

Wozzle wrote:
Is anyone a Pivot Table Guru?
I need to use the GetPivotData formula to get a subtotal line within the
Pivot, but when I use the equals I keep getting a reference error!

eg. Need to access Sep Hrs - cannot get total as I receive a ref error.
But for Total hrs I can use the formula!!

Is there a way I can use the getpivotdata formula or another formula to
access these category subtotals from the pivot table!! The pivot table is
dynamic aswell, and its range grows as you add in additional weeks..

Help!!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Wozzle
 
Posts: n/a
Default

Yes, I have tried that, but still get a reference error.
I have pasted in the table I am looking at and need to get the formula for
the subtotals without a reference erroe. Can anyone help????

When I use the equals sign to reference the cell, an error appears. Can some
one help me with the formula issue I have??

=GetPivotData($A$4,"Dept[Sales;Data,Sum] 'Sum of Hours' 'Sep'")

Mth
Employee Dept Sep
Sam Sales 8
Jane Sales 9
Rob Sales 10
Sales Sum of Hours 27
Tim Finance 15
Dan Finance 16
Finance Sum of Hours 31
Bob Consulting 11
Rui Consulting 12
Consulting Sum of Hours 23
Ed Admin 9
Sum of Hours 9
Total Sum of Hours 90



"Debra Dalgleish" wrote:

There are example GetPivotData formulas in Excel's Help. Can you base
your formula on one of those?

If not, describe your pivot table layout, and which version of Excel
you're using, and someone may be able to help.

Wozzle wrote:
Is anyone a Pivot Table Guru?
I need to use the GetPivotData formula to get a subtotal line within the
Pivot, but when I use the equals I keep getting a reference error!

eg. Need to access Sep Hrs - cannot get total as I receive a ref error.
But for Total hrs I can use the formula!!

Is there a way I can use the getpivotdata formula or another formula to
access these category subtotals from the pivot table!! The pivot table is
dynamic aswell, and its range grows as you add in additional weeks..

Help!!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


Reply
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
Data in table, may need to convert to columns with OFFSET? Ron H Excel Discussion (Misc queries) 5 July 31st 05 06:44 PM
pivot table YingRui Oliviero Excel Discussion (Misc queries) 1 April 12th 05 12:57 PM
Pivot Table Problems Rachel Gonsior Excel Discussion (Misc queries) 3 March 21st 05 07:24 PM
How can deleted data reappear in a refreshed pivot table in Excel excel_user123456 Excel Discussion (Misc queries) 3 February 23rd 05 08:34 PM
Adding a formula to a pivot table Tony Excel Discussion (Misc queries) 2 January 20th 05 10:27 AM


All times are GMT +1. The time now is 03:57 AM.

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

About Us

"It's about Microsoft Excel"