Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rounding Up & Down

What is the easiest way to be able to round, as normal, except to round down
if the answer is .5, 1.5, 2.5 etc?

So for example, if I want to take 90% and 10% of 5, using the normal ROUND
function I would get 5 and 1 for a total of 6 which is greater than the
whole. To fix this I'd like to have one of the formulas round down if the
answer ends in .5 (but not .6, for example). Thoughts?

Thanks for the help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Rounding Up & Down

use = roundup(cell*.9,0) use rounddown(cell*.1,0) or use round(cell,0)

the 0 after the , tells it to round to no decimal places
--
BerbatovIsGod


"Cheesus171" wrote:

What is the easiest way to be able to round, as normal, except to round down
if the answer is .5, 1.5, 2.5 etc?

So for example, if I want to take 90% and 10% of 5, using the normal ROUND
function I would get 5 and 1 for a total of 6 which is greater than the
whole. To fix this I'd like to have one of the formulas round down if the
answer ends in .5 (but not .6, for example). Thoughts?

Thanks for the help

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 449
Default Rounding Up & Down

Subtract 0.01 from the initial number. Now it's 1.49 instead of 1.5 and will
round down.

HTH. Best wishes Harald

"Cheesus171" wrote in message
...
What is the easiest way to be able to round, as normal, except to round
down
if the answer is .5, 1.5, 2.5 etc?

So for example, if I want to take 90% and 10% of 5, using the normal ROUND
function I would get 5 and 1 for a total of 6 which is greater than the
whole. To fix this I'd like to have one of the formulas round down if the
answer ends in .5 (but not .6, for example). Thoughts?

Thanks for the help


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
Rounding Maxine Excel Worksheet Functions 2 July 27th 09 09:18 AM
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
rounding Andrew Richards Excel Worksheet Functions 4 March 5th 09 12:06 PM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
Worksheet rounding vs VBA rounding Simon Cleal Excel Programming 4 September 2nd 05 01:50 AM


All times are GMT +1. The time now is 03:20 PM.

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"