Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default rounding down to positive when adding cells

When I am adding two cells excel wants to round down to a positive number. I
have tried to use the accounting and the currency function with no success.
Example would be =C5 ($23.81) + E5 (23.82) I get $47.62 not $47.63
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 176
Default rounding down to positive when adding cells

What is probably happening is those number have extra precision beyond the 2
decimal's displayed. e.g. C5 might be 23.805 and E5 might be 23.818. When
you add these numbers you will get 47.62 when rounded to 2 decimal places
(even though it APPEARS you should get 47.63 when you add the rounded
versions). If you really want to get rid of the extra precision in C5 and E5
do the following:

<Tools
<Options
"Calculation" tab
Check "Precision as displayed"

This will calculate based on the amount of precision you choose to display
in the cell.

Does that help?
--
Regards,
Dave


"billatmei" wrote:

When I am adding two cells excel wants to round down to a positive number. I
have tried to use the accounting and the currency function with no success.
Example would be =C5 ($23.81) + E5 (23.82) I get $47.62 not $47.63

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default rounding down to positive when adding cells

I expect the numbers are not exactly 23.81 and 23.82 but maybe something
like 23.808 and 23.816. These add to 47.624 which gets displays as 46.62
when the format is 2 decimals.
How to get what you want?
a) =ROUND(C2,2)+ROUND(E2,2)
OR
b) Tool | Options | Calculations and check Precision as Displayed
While (a) is more work, you must be careful that (b) may affect other
workbooks that you open.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"billatmei" wrote in message
...
When I am adding two cells excel wants to round down to a positive number.
I
have tried to use the accounting and the currency function with no
success.
Example would be =C5 ($23.81) + E5 (23.82) I get $47.62 not $47.63



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
Adding cells witht the same name redmondmak Excel Discussion (Misc queries) 0 August 8th 06 08:03 PM
Adding up multiple cells Andy Excel Worksheet Functions 2 July 11th 06 04:57 PM
Adding cells with the same color, sub works but function doesnt jerredjohnson Excel Discussion (Misc queries) 1 April 18th 06 08:31 PM
adding the same prefix or suffix to a range of cells Betty Turvy Excel Discussion (Misc queries) 5 July 12th 05 05:13 PM
Automatically put negative sign in cells with positive numeric dat ctdak Excel Discussion (Misc queries) 4 June 24th 05 09:41 PM


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