Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Deb Deb is offline
external usenet poster
 
Posts: 102
Default calculate grand total

I have a pivot table and want one column grand total calculated other than
just summed.

Please notice the difference in the Ratio Grand Total
I have this... Cost/Sales=Ratio
....................Sales............Cost......... ......Ratio
Bob ............. 3775 ........... 2448 ............. 0.65
Ben ...............4223 ........... 3034 ............ 0.72
Dan .............. 2960 ........... 1868 ............ 0.63
Grand Total.. 10958 ........... 7350 ............ 2.0

I want...The Ratio grand total to also be Grand Total Cost/Grand Total
Sales=Grand Total Ratio

....................Sales............Cost......... ......Ratio
Bob ............. 3775 ........... 2448 ............. 0.65
Ben ...............4223 ........... 3034 ............ 0.72
Dan .............. 2960 ........... 1868 ............ 0.63
Grand Total.. 10958 ........... 7350 ............ 0.67
--
deb
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default calculate grand total

I'm not sure what is causing your problem, but here's what I did. I set up a
pivot table with both a Sales and Cost column. Turned off Grand Total for
rows. I then created a calculated field with a formula of
=Sales/Cost

And my "grand total" ratio is calculated like you want, as a ratio of total,
not total of ratios.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"deb" wrote:

I have a pivot table and want one column grand total calculated other than
just summed.

Please notice the difference in the Ratio Grand Total
I have this... Cost/Sales=Ratio
...................Sales............Cost.......... .....Ratio
Bob ............. 3775 ........... 2448 ............. 0.65
Ben ...............4223 ........... 3034 ............ 0.72
Dan .............. 2960 ........... 1868 ............ 0.63
Grand Total.. 10958 ........... 7350 ............ 2.0

I want...The Ratio grand total to also be Grand Total Cost/Grand Total
Sales=Grand Total Ratio

...................Sales............Cost.......... .....Ratio
Bob ............. 3775 ........... 2448 ............. 0.65
Ben ...............4223 ........... 3034 ............ 0.72
Dan .............. 2960 ........... 1868 ............ 0.63
Grand Total.. 10958 ........... 7350 ............ 0.67
--
deb

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default calculate grand total

Hi,

Your problem is that you have a data column call Ratio in the data source
and the pivot table is summing that column.

The calculated field is the appropriate solution here - choose PivotTable,
Formulas, Calculated Field and enter the formula suggest by Luke. Or if you
are using 2007 - PivotTable Tools, Options, Formulas, Calculated Field...


--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"deb" wrote:

I have a pivot table and want one column grand total calculated other than
just summed.

Please notice the difference in the Ratio Grand Total
I have this... Cost/Sales=Ratio
...................Sales............Cost.......... .....Ratio
Bob ............. 3775 ........... 2448 ............. 0.65
Ben ...............4223 ........... 3034 ............ 0.72
Dan .............. 2960 ........... 1868 ............ 0.63
Grand Total.. 10958 ........... 7350 ............ 2.0

I want...The Ratio grand total to also be Grand Total Cost/Grand Total
Sales=Grand Total Ratio

...................Sales............Cost.......... .....Ratio
Bob ............. 3775 ........... 2448 ............. 0.65
Ben ...............4223 ........... 3034 ............ 0.72
Dan .............. 2960 ........... 1868 ............ 0.63
Grand Total.. 10958 ........... 7350 ............ 0.67
--
deb

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
Duplicate Running Total Grand Total In Pivot Table Mathew P Bennett[_2_] Excel Discussion (Misc queries) 1 August 17th 08 03:13 AM
Excel 2002 : Any single button to get sub total and grand total ? Mr. Low Excel Discussion (Misc queries) 2 May 22nd 07 08:46 AM
Should grand total equal average of sub total Bonnie Excel Discussion (Misc queries) 5 January 20th 07 08:46 PM
Pivots - Auto calc % Sub total is of grand total VBA Noob Excel Discussion (Misc queries) 3 August 8th 06 08:46 PM
Adding Data Using Multiple Worksheets to Total into a Grand Total Lillie Excel Worksheet Functions 1 April 19th 05 08:34 PM


All times are GMT +1. The time now is 09:19 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"