A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

worksheet sum function



 
 
Thread Tools Display Modes
  #1  
Old October 5th, 2003, 08:21 PM
Dawna
external usenet poster
 
Posts: n/a
Default worksheet sum function

Why does a column of numbers not total what it should?
When adding the column with my adding machine, I get the
total. When adding by the sum function, I'm off 3 cents.

  #2  
Old October 5th, 2003, 09:37 PM
Steve
external usenet poster
 
Posts: n/a
Default worksheet sum function

I found this the other day. See if this helps.

Use toolsoptionscalculations and precision as displayed
or use the round function. You probably suffer from
underlying values being not the same as displayed

Regards

Steve
-----Original Message-----
Why does a column of numbers not total what it should?
When adding the column with my adding machine, I get the
total. When adding by the sum function, I'm off 3 cents.

.

  #3  
Old October 6th, 2003, 12:47 PM
Jerry W. Lewis
external usenet poster
 
Posts: n/a
Default worksheet sum function

Specifically, if some numbers that are being summed are calculated
rather than entered, they have more figures than you displayed (such as
1/3). Formatting the display does not impact the value in the cell,
therefore is you only want a given number of decimal places (such as 2
for currency) then you have three options

Explicitly round the results
=ROUND(formula,2)
in place of each formula used in the sum

Explicitly round the inputs to the SUM() function
=SUMPRODUCT(ROUND(range,2))
or
=SUM(ROUND(range,2))
The latter must be array entered (Ctrl-Shift-Enter)

Set "Precision as Displayed" per Steve's direction. This will impact
all calculations, not just the sum, so be careful that it does not have
unintended consequences.

Jerry

Steve wrote:

I found this the other day. See if this helps.

Use toolsoptionscalculations and precision as displayed
or use the round function. You probably suffer from
underlying values being not the same as displayed

Regards

Steve

-----Original Message-----
Why does a column of numbers not total what it should?
When adding the column with my adding machine, I get the
total. When adding by the sum function, I'm off 3 cents.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:54 AM.


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