Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default How to round a number up or down

We use an Excel spreadsheet to calculate drug doses for our veterinary
surgical practice. Is there a way to format the cell to round up or down? I
have tried using the round function but it does not work the way we need it
to. Basically, if the number after the decimal point is greater than or
equal to 5, we want it round up (or down, if need be). The only reason it
matters is because we base other calculations on the worksheet on this
calculation and it throws the rest of them off.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default How to round a number up or down

In what way does the ROUND function not do what you want?
Please give an example of the formula you are using, the input value, the
answer it gave, and the answer you expected.
--
David Biddulph

"Sabrina" wrote in message
...
We use an Excel spreadsheet to calculate drug doses for our veterinary
surgical practice. Is there a way to format the cell to round up or down?
I
have tried using the round function but it does not work the way we need
it
to. Basically, if the number after the decimal point is greater than or
equal to 5, we want it round up (or down, if need be). The only reason it
matters is because we base other calculations on the worksheet on this
calculation and it throws the rest of them off.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default How to round a number up or down

The formula for the cell is =((B4)/2.2)*0.1 where B4 is the patient's weight.
As an example, the weight is 23 pounds. This calculates a dose of 1.05 for
Duramorph. I would like it to be rounded to 1.1, as I use this cell as a
base to calculate other doses of medications. In an emergency, we do not
have time to check the original dose to make sure it was rounded up/down and
then re-calculate dosage for other meds. Basically, I want it to round up or
down based on whether the numbers after the decimal point are greater than,
less than or equal to 5. I apologize if this sounds like a stupid question,
but we are all beginners here with Excel and we are modifying a spreadsheet
that was created by someone else for us.

"David Biddulph" wrote:

In what way does the ROUND function not do what you want?
Please give an example of the formula you are using, the input value, the
answer it gave, and the answer you expected.
--
David Biddulph

"Sabrina" wrote in message
...
We use an Excel spreadsheet to calculate drug doses for our veterinary
surgical practice. Is there a way to format the cell to round up or down?
I
have tried using the round function but it does not work the way we need
it
to. Basically, if the number after the decimal point is greater than or
equal to 5, we want it round up (or down, if need be). The only reason it
matters is because we base other calculations on the worksheet on this
calculation and it throws the rest of them off.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default How to round a number up or down

Your problem in that case is that with an input of 23 pounds, your formula
=((B4)/2.2)*0.1 does not give 1.05, it gives 1.045455, and hence it would
round down to 1.0, rather than up to 1.1.

If you wanted to round initially to 2 decimal places to get 1.05, and then
round to 1 place, then instead of
=ROUND(((B4)/2.2)*0.1,1) you'd need
=ROUND(ROUND(((B4)/2.2)*0.1,2),1)
but that process would be as illogical as it is ugly. Please think
carefully about whether you really want to do that.

If I were a pedant, I might also ask whether you really want to divide by
2.2, or whether you intended to divide by 2.20462 (or multiply by 0.453592).
I guess that the initial weighings in pounds may not be very accuarate or
precise, and that the approximation you are making may be acceptable, but
you ought perhaps to think about this aspect as well as about your rounding.
--
David Biddulph

"Sabrina" wrote in message
...
The formula for the cell is =((B4)/2.2)*0.1 where B4 is the patient's
weight.
As an example, the weight is 23 pounds. This calculates a dose of 1.05
for
Duramorph. I would like it to be rounded to 1.1, as I use this cell as a
base to calculate other doses of medications. In an emergency, we do not
have time to check the original dose to make sure it was rounded up/down
and
then re-calculate dosage for other meds. Basically, I want it to round up
or
down based on whether the numbers after the decimal point are greater
than,
less than or equal to 5. I apologize if this sounds like a stupid
question,
but we are all beginners here with Excel and we are modifying a
spreadsheet
that was created by someone else for us.

"David Biddulph" wrote:

In what way does the ROUND function not do what you want?
Please give an example of the formula you are using, the input value, the
answer it gave, and the answer you expected.
--
David Biddulph

"Sabrina" wrote in message
...
We use an Excel spreadsheet to calculate drug doses for our veterinary
surgical practice. Is there a way to format the cell to round up or
down?
I
have tried using the round function but it does not work the way we
need
it
to. Basically, if the number after the decimal point is greater than
or
equal to 5, we want it round up (or down, if need be). The only reason
it
matters is because we base other calculations on the worksheet on this
calculation and it throws the rest of them off.






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default How to round a number up or down

Try the functions: RoundUp and / or RoundDown

Good Luck.

"Sabrina" wrote:

We use an Excel spreadsheet to calculate drug doses for our veterinary
surgical practice. Is there a way to format the cell to round up or down? I
have tried using the round function but it does not work the way we need it
to. Basically, if the number after the decimal point is greater than or
equal to 5, we want it round up (or down, if need be). The only reason it
matters is because we base other calculations on the worksheet on this
calculation and it throws the rest of them off.



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 number to the thousands without changing underlying number Tim Caldwell Excel Discussion (Misc queries) 3 June 13th 07 09:37 PM
Excel. How to round a number to nearest half number? HaraldS Excel Discussion (Misc queries) 2 February 19th 07 09:50 AM
Can I increase a number by 5.5% and then round that number to the. Jeff Thornburg Excel Discussion (Misc queries) 1 June 28th 06 05:26 PM
How can i round a number to closest tenth number? rayne95 Excel Worksheet Functions 3 June 19th 06 09:34 PM
How to make a number round up/down to a set number David S Excel Worksheet Functions 1 April 7th 05 04:20 PM


All times are GMT +1. The time now is 02:50 AM.

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"