#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Calculation Problem

All though the formula is correct ( a simple math addition between 2 cells)
..There are a few of these cells in my 2003 XL Spread Sheet that consistently
makes a 1 cent error in the addition - that is, it's adds the cell less 1
cent (formatted in currency)
How do I fix this?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Calculation Problem

http://www.mcgimpsey.com/excel/pennyoff.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"djm123" wrote in message
...
All though the formula is correct ( a simple math addition between 2
cells)
.There are a few of these cells in my 2003 XL Spread Sheet that
consistently
makes a 1 cent error in the addition - that is, it's adds the cell less 1
cent (formatted in currency)
How do I fix this?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default Calculation Problem

I expect that the two values being added result from formula and you are
getting round off errors.
You are seeing one thing (the cell is formatted to display 2 decimal places)
but the stored values are slightly different

A1 might display 1.54 but the value stored could be 1.544
B1 might display 2.72 but the value stored could be 2.723
You will expect the formula =A1+B1 to return 4.26 (1.54+2.72)
But Excel computes 1.544+2.723 to get 4.267 which it displays as 4.27 (a
penny out)

You could use =ROUND(A1,2)+ROUND(B1,2)
You could change your formula from =a_formula to =ROUND(a_formula,2)
You could specify your worksheet uses "precision as displayed" - many Excel
authors warn against.

Have a look at
http://mcgimpsey.com/excel/pennyoff.html

best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme



"djm123" wrote in message
...
All though the formula is correct ( a simple math addition between 2
cells)
.There are a few of these cells in my 2003 XL Spread Sheet that
consistently
makes a 1 cent error in the addition - that is, it's adds the cell less 1
cent (formatted in currency)
How do I 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
Calculation Problem Jason Zischke Excel Worksheet Functions 2 June 5th 08 03:40 AM
calculation problem Suleman[_2_] Excel Worksheet Functions 3 April 28th 08 04:11 AM
Calculation problem Lorie Excel Discussion (Misc queries) 3 July 21st 07 09:03 PM
Calculation problem - please help Neil Hindry Excel Discussion (Misc queries) 2 July 10th 06 02:38 PM
Calculation Problem spiney Excel Worksheet Functions 4 February 10th 06 05:29 PM


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