Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
luckyt22
 
Posts: n/a
Default Round numbers THEN add them


I am trying to Round a group of numbers and then add up their
values...any ideas??? FOR EXAMPLE...i have the following numbers...

100,324.51
53,213.76
34,527.33
344,869.50
18,803.66
241,406.10
2,299.88
38,171.09
183,350.12
71,334.89
66,924.06
472,549.11
166,470.45
215,908.16
34,572.53
52,408.16
251,905.22
59,723.59
20,782.59
131,984.95
334,036.00
3,638.02
30,650.25
314,257.83
46,297.56
*3,290,409.32 * <= They need to add up to this

Now if you actually did add all those numbesr up it would come out
right...except those values actually are a lot longer than just 2
digits after the decimal...so sometimes when i sum those up...i am off
.01 or.02 give or take...so what i want to do in the total cell is
round all the numbers to 2 decimal places and and those values up...is
this possible?

Thanks!
Tom


--
luckyt22
------------------------------------------------------------------------
luckyt22's Profile: http://www.excelforum.com/member.php...o&userid=24270
View this thread: http://www.excelforum.com/showthread...hreadid=391782

  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 1 Aug 2005 07:41:32 -0500, luckyt22
wrote:


I am trying to Round a group of numbers and then add up their
values...any ideas??? FOR EXAMPLE...i have the following numbers...

100,324.51
53,213.76
34,527.33
344,869.50
18,803.66
241,406.10
2,299.88
38,171.09
183,350.12
71,334.89
66,924.06
472,549.11
166,470.45
215,908.16
34,572.53
52,408.16
251,905.22
59,723.59
20,782.59
131,984.95
334,036.00
3,638.02
30,650.25
314,257.83
46,297.56
*3,290,409.32 * <= They need to add up to this

Now if you actually did add all those numbesr up it would come out
right...except those values actually are a lot longer than just 2
digits after the decimal...so sometimes when i sum those up...i am off
01 or.02 give or take...so what i want to do in the total cell is
round all the numbers to 2 decimal places and and those values up...is
this possible?

Thanks!
Tom


When I add up those numbers I get a different answer:

3,136,871.05


But that's probably due to a typo or a missing value in what you posted.

In any event, to ROUND to two decimals and then SUM the result, use the
following *array-entered* formula:

=SUM(ROUND(A1:A24,2))

To *array-enter* a formula, after typing or pasting the formula into the
formula bar, hold down <ctrl<shift while hitting <enter. Excel will place
braces {...} around the formula if you did it correctly.


--ron
  #3   Report Post  
Andrew L via OfficeKB.com
 
Posts: n/a
Default


Aaah, the old 'customer doesn't think you can add problem'. I've had the
same with pricing issues myself.

Try :

=SUM(ROUND(A1:A13,2)

Then hold down the CTRL + SHIFT keys as you press the ENTER key. This will
create an "array formula". The result will look like {=SUM(ROUND(A1:A13,2)}
in your formula bar.

Regards,
Andrew


--
Message posted via http://www.officekb.com
  #4   Report Post  
aristotle
 
Posts: n/a
Default


Hi,

Assume data is in A2:A26:

=SUM(ROUND(A2:A26,2))

This needs to be confirmed with Ctrl + Shift + Enter because it is an
array formula.

Regards,
A


--
aristotle
------------------------------------------------------------------------
aristotle's Profile: http://www.excelforum.com/member.php...o&userid=25653
View this thread: http://www.excelforum.com/showthread...hreadid=391782

  #5   Report Post  
luckyt22
 
Posts: n/a
Default


your the man

Tom


--
luckyt22
------------------------------------------------------------------------
luckyt22's Profile: http://www.excelforum.com/member.php...o&userid=24270
View this thread: http://www.excelforum.com/showthread...hreadid=391782



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
Round whole numbers up and down JoeBed Excel Discussion (Misc queries) 4 July 5th 05 05:21 PM
Can you format a whole column of numbers to round? dawn Excel Worksheet Functions 4 June 9th 05 07:31 PM
Does Excel round numbers with a 5 in the tens place? Ian Elliott Excel Discussion (Misc queries) 1 May 24th 05 11:35 PM
How to Round Whole Numbers? blank Excel Discussion (Misc queries) 3 May 18th 05 09:32 AM
Can you round numbers to display a specific set of numbers, for e. lbfries Excel Discussion (Misc queries) 3 April 20th 05 09:52 PM


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