#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default roundup function

I want to be able to have an amount in one cell then in aonther cell have the
following function =roundup(c10+15/.9,0) so it takes the amount in the
first cell adds on 15 then divides by .9 (which increases by 10%) and then
round the number. But excel doesn't like this. So i tried to put the
brackets and the rounding just so =roundup(c10+15,0)/.9 which does bring the
correct amount but doesnot round the final amount up. Does anyone know how
or if this can be done?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default roundup function

Excel does division first before it does the addition. You can add a set or
parathensis to control to math operations.

=ROUNDUP((C10+15)/0.9,0)

If this doesn't solve your problem, perhaps you could post examples of
numbers you would put in, and expected results.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Marge" wrote:

I want to be able to have an amount in one cell then in aonther cell have the
following function =roundup(c10+15/.9,0) so it takes the amount in the
first cell adds on 15 then divides by .9 (which increases by 10%) and then
round the number. But excel doesn't like this. So i tried to put the
brackets and the rounding just so =roundup(c10+15,0)/.9 which does bring the
correct amount but doesnot round the final amount up. Does anyone know how
or if this can be done?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default roundup function

Well, loks like the issue is, with the first one, you are asking for c10 +
(15/.9).What you want to do is =ROUNDUP((C10+15)/.9,0)

"Marge" wrote:

I want to be able to have an amount in one cell then in aonther cell have the
following function =roundup(c10+15/.9,0) so it takes the amount in the
first cell adds on 15 then divides by .9 (which increases by 10%) and then
round the number. But excel doesn't like this. So i tried to put the
brackets and the rounding just so =roundup(c10+15,0)/.9 which does bring the
correct amount but doesnot round the final amount up. Does anyone know how
or if this can be done?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default roundup function

Yoiur problem isn't with ROUNDUP, but with the precedence of arithmetic
operations. See Excel help.
--
David Biddulph

Marge wrote:
I want to be able to have an amount in one cell then in aonther cell
have the following function =roundup(c10+15/.9,0) so it takes the
amount in the first cell adds on 15 then divides by .9 (which
increases by 10%) and then round the number. But excel doesn't like
this. So i tried to put the brackets and the rounding just so
=roundup(c10+15,0)/.9 which does bring the correct amount but doesnot
round the final amount up. Does anyone know how or if this can be
done?

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
Roundup or Ceiling Function to round to a specific number Angie33 Excel Discussion (Misc queries) 26 September 11th 08 04:29 PM
ROUNDUP Function Chacky Excel Discussion (Misc queries) 1 September 5th 07 05:54 PM
Roundup Function brown_toby Excel Worksheet Functions 3 June 30th 06 06:55 PM
can I add a column and roundup with 1 function? Sheila Excel Discussion (Misc queries) 2 March 8th 06 08:33 PM
Roundup Function Will Excel Discussion (Misc queries) 4 February 4th 06 11:41 PM


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