Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Formulas do not add up to original value

I have a spreadsheet that works out how much of a set amount should be
divided between different cells. However the figures it works out then do not
add up to the original amount that I started with. i.e. it splits 160 into
40.31, 39.45, 36.69 and 43.56 - which addes up to 160.01. How do I stop that!?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Formulas do not add up to original value

You don't give us any formulas, so it is difficult to tell what might be
wrong.
Anyway, the addition you give as an example is perfectly OK!

Please post values, formulas, expected and acrtual results so we might be
able to help

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Amy6514" wrote in message
...
I have a spreadsheet that works out how much of a set amount should be
divided between different cells. However the figures it works out then do
not
add up to the original amount that I started with. i.e. it splits 160 into
40.31, 39.45, 36.69 and 43.56 - which addes up to 160.01. How do I stop
that!?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default Formulas do not add up to original value

On Oct 18, 2:09*pm, Amy6514 wrote:
I have a spreadsheet that works out how much of a set amount should be
divided between different cells. However the figures it works out then do not
add up to the original amount that I started with. i.e. it splits 160 into
40.31, 39.45, 36.69 and 43.56 - which addes up to 160.01.
How do I stop that!?


Rounding happens all the time when one keeps a fixed number of decimal
places, and folks tend to live with it.

If it's really important that the sum of the rounded parts equals the
original amount, then here's one way to do it.

Suppose the four parts are formula_1 in A1, formula_2 in A2, formula_3
in A3, formula_4 in A4; with the original amount in B1.

First replace formula_1 in A1 by
=ROUND(formula_1, 2)

Likewise for A2 and A3.

Then replace formula_4 in A4 by
= ROUND(B1, 2)-A1-A2-A3
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Formulas do not add up to original value

Check out this link...

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

Jim Thomlinson


"Amy6514" wrote:

I have a spreadsheet that works out how much of a set amount should be
divided between different cells. However the figures it works out then do not
add up to the original amount that I started with. i.e. it splits 160 into
40.31, 39.45, 36.69 and 43.56 - which addes up to 160.01. How do I stop that!?

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
Copying to a new workbook without formulas referencing original wk joesw Excel Discussion (Misc queries) 1 September 26th 09 08:19 PM
Copying formulas between sheets and keeping original ref Walter Excel Worksheet Functions 8 August 5th 08 04:40 PM
How can I copy many formulas and keep original cell location? Linda Oz Excel Discussion (Misc queries) 3 October 5th 06 08:31 AM
Setting original Formulas for copying Jim May Excel Discussion (Misc queries) 0 July 26th 06 08:44 AM
Copying formulas (relative) give always original value Eddyd Excel Worksheet Functions 5 May 12th 05 11:44 AM


All times are GMT +1. The time now is 04:25 AM.

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"