Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 128
Default GETPIVOTDATA Sum of cells

I have a pivot table with dates, by month, along the top (in a "mmm-yy"
format) and then the name of 8 companies listed down the left-hand pane.

Is there any way, using the GETPIVOTDATA function, to sum the values
associated with the financial YTD range.

For example, I am doing a report for August 2008 for Company A. I therefore
need to sum the values for June 2008, July 2008 and August 2008 (BS6:BU6). I
cannot group the data as it will change every month.

Any ideas?

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default GETPIVOTDATA Sum of cells

Would probably be easier to just use a SUMPRODUCT off the source table.

=SUMPRODUCT(--(companycolumn2:companycolumn5000=company name
cell),--(monthcolumn2:monthcolumn5000=monthcell),data))
=SUMPRODUCT(--(companycolumn2:companycolumn5000=company name
cell),--(monthcolumn2:monthcolumn5000=month(monthcell)-1),data))
=SUMPRODUCT(--(companycolumn2:companycolumn5000=company name
cell),--(monthcolumn2:monthcolumn5000=month(monthcell)-2),data))

Would that work for you?
"Sarah (OGI)" wrote:

I have a pivot table with dates, by month, along the top (in a "mmm-yy"
format) and then the name of 8 companies listed down the left-hand pane.

Is there any way, using the GETPIVOTDATA function, to sum the values
associated with the financial YTD range.

For example, I am doing a report for August 2008 for Company A. I therefore
need to sum the values for June 2008, July 2008 and August 2008 (BS6:BU6). I
cannot group the data as it will change every month.

Any ideas?

Many thanks

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
GETPIVOTDATA Sunny FL Excel Discussion (Misc queries) 2 October 8th 08 09:02 PM
getpivotdata geebee Excel Worksheet Functions 2 November 17th 07 04:55 PM
GETPIVOTDATA between XL 2K & 03 maryj Excel Discussion (Misc queries) 4 May 15th 07 02:46 PM
GETPIVOTDATA Dave F Excel Discussion (Misc queries) 3 November 22nd 06 09:26 PM
GetPivotData Paul Smith Excel Worksheet Functions 0 January 20th 05 07:23 PM


All times are GMT +1. The time now is 07:24 PM.

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"