Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I round up numbers when dividing?

What I am doing is in regards to money. I am dividing an amount between two
people and sometimes the amount can't be divided equally so I want to be able
to have the formula automatically adjust.

So for instance: $5000.23 divided by 2 does not divide equally.
So person A should get $2500.12
and person be should get $2500.13

The same thing goes for $523.00

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default How do I round up numbers when dividing?

So for instance: $5000.23 divided by 2 does not divide equally.
So person A should get $2500.12
and person be should get $2500.13


If the total amount is in A1 and you want Person A and Person B amounts in
B1 and C1 respectively, then:

B1: =ROUND(A1/2,2)

C1: =A1 - B1

Note: When working with dollars-and-cents amount, it is always prudent to
round explicitly to avoid anomailies due to the way Excel does arithmetic.
So C1 should actually be =ROUND(A1-B1,2).


----- original message -----

"girlieinsd" wrote:

What I am doing is in regards to money. I am dividing an amount between two
people and sometimes the amount can't be divided equally so I want to be able
to have the formula automatically adjust.

So for instance: $5000.23 divided by 2 does not divide equally.
So person A should get $2500.12
and person be should get $2500.13

The same thing goes for $523.00

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I round up numbers when dividing?

5000.23 divided by 2 will always return 2500.12 when set to 2 decimal
places.

Give Person B a penny from your pocket.

530.00 divided by 2 returns 265.00 so won't cost you anything from your
pocket.


Gord Dibben MS Excel MVP


On Wed, 16 Dec 2009 14:11:01 -0800, girlieinsd
wrote:

What I am doing is in regards to money. I am dividing an amount between two
people and sometimes the amount can't be divided equally so I want to be able
to have the formula automatically adjust.

So for instance: $5000.23 divided by 2 does not divide equally.
So person A should get $2500.12
and person be should get $2500.13

The same thing goes for $523.00

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
Formula needed for dividing hours by numbers oxicottin Excel Discussion (Misc queries) 4 January 4th 07 11:06 AM
Dividing range of numbers automatically Slashman Excel Worksheet Functions 3 October 12th 06 02:46 AM
My excel spread sheets are dividing all numbers input by 100. Prospector Excel Worksheet Functions 3 July 21st 06 10:47 AM
why does dividing numbers give me dates and not numbers? dylan Excel Discussion (Misc queries) 1 June 21st 06 11:40 PM
Formulas when dividing with negative numbers Performance Nashbar Excel Worksheet Functions 1 August 30th 05 11:50 PM


All times are GMT +1. The time now is 04:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"