Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.setup,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Rounding numbers then doing a sum of those numbers produces incorrect result.

I have a row of numbers that gets calculated from two other rows. I
formatted this row as a number with two decimal places. I then take that row
of numbers and do a sum on it but it produces a result that is one cent off
the actual total (because I think it is adding the whole number and not the
rounded format that I chose). Is there anyway to fix this?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.setup,microsoft.public.excel.worksheet.functions
jaf jaf is offline
external usenet poster
 
Posts: 300
Default Rounding numbers then doing a sum of those numbers produces incorrect result.

Hi,
Formatting does not change the underlying value. It only changes the
appearance.
Toolsoptioncalculation workbook options, check "precision as displayed".


--

John

johnf202 at hotmail dot com


"GzusRox" wrote in message
...
I have a row of numbers that gets calculated from two other rows. I
formatted this row as a number with two decimal places. I then take that

row
of numbers and do a sum on it but it produces a result that is one cent

off
the actual total (because I think it is adding the whole number and not

the
rounded format that I chose). Is there anyway to fix this?

Thanks




  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.setup,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default Rounding numbers then doing a sum of those numbers produces incorrect result.

You will get a more accurate sum if you don't round, e.g.
1/3 + 1/3 + 1/3 = 1
vs.
.33 + .33 + .33 = 0.99

Jerry

GzusRox wrote:

I have a row of numbers that gets calculated from two other rows. I
formatted this row as a number with two decimal places. I then take that row
of numbers and do a sum on it but it produces a result that is one cent off
the actual total (because I think it is adding the whole number and not the
rounded format that I chose). Is there anyway to fix this?

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
OR function produces incorrect result MZ New Users to Excel 4 December 15th 09 05:29 PM
SUM OF NUMBERS APPEAR INCORRECT? JEV Excel Discussion (Misc queries) 2 February 9th 09 02:29 PM
=RAND produces decimals not whole numbers moosegate Excel Discussion (Misc queries) 9 November 20th 06 09:33 PM
Copy Paste of Formula Produces Incorrect Result JLa Excel Discussion (Misc queries) 1 May 17th 05 06:56 PM
incorrect totals using rounded numbers Alexis Excel Discussion (Misc queries) 1 March 23rd 05 11:19 PM


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