Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Summing Problem In A Pivot Table

I have a very simple pivot table. However I am having a problem with one
particular cell within the pivot table. The content of this one cell should
be zero. The lines that are pulling to the pivot table contain the following
amounts:
-30853.30
3021.75
3217.50
808.34
2511.79
2873.96
2267.23
1039.82
1588.35
4548.94
8975.62

All of the amounts contain omly two digits to the right of the decimal
point. When these line are summed outside of the pivot table with up to 30
places to the right of the decimal point they sum to zero. When they are
summed within the pivot table the sum to the following amount:

When they are summed within the pivot table these numbers sum to 3.63798E-12

I need them to sum to zero within the pivot table as I am doing calculations
within the pivot table and I need them to be calculated as zero.

What am I doing wrong?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Summing Problem In A Pivot Table

This looks like a rounding error to me.

First, Excel has up to 15 digits of precision in its numbers. So there's no
use using any more than 15 decimal places.

Second, what is the format being used to display the numbers, and the
resulting sum? In the pivot table, it's obviously General (or Scientific).

Try using General as the format for all the cells involved. See if that
identifies the discrepancy.

To fix the problem, use =Round(formula,2) when creating the data you are
feeding to the pivot table.

Regards,
Fred.

"Mike" wrote in message
...
I have a very simple pivot table. However I am having a problem with one
particular cell within the pivot table. The content of this one cell
should
be zero. The lines that are pulling to the pivot table contain the
following
amounts:
-30853.30
3021.75
3217.50
808.34
2511.79
2873.96
2267.23
1039.82
1588.35
4548.94
8975.62

All of the amounts contain omly two digits to the right of the decimal
point. When these line are summed outside of the pivot table with up to 30
places to the right of the decimal point they sum to zero. When they are
summed within the pivot table the sum to the following amount:

When they are summed within the pivot table these numbers sum to
3.63798E-12

I need them to sum to zero within the pivot table as I am doing
calculations
within the pivot table and I need them to be calculated as zero.

What am I doing wrong?


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
Pivot Table not summing japc90 Excel Discussion (Misc queries) 2 December 15th 07 11:27 PM
Summing data in a Pivot table Peter Excel Discussion (Misc queries) 1 June 7th 07 06:38 PM
summing function in pivot table in column wise ?? Madhu Excel Worksheet Functions 1 December 1st 06 10:40 AM
pivot table column summing CBAS Excel Discussion (Misc queries) 1 August 27th 06 04:18 PM
pivot table column summing CBAS Excel Discussion (Misc queries) 0 August 26th 06 04:06 AM


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