Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I want to round down a calculation such as =SUM(D6)-(D6*15%) so that no matter what the decimal value is it will always round down. Any assistance wuld be appreciated -- Paul Webster |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Paul,
Use the "INT" function. Steve "Paul Webster" wrote in message ... Hi, I want to round down a calculation such as =SUM(D6)-(D6*15%) so that no matter what the decimal value is it will always round down. Any assistance wuld be appreciated -- Paul Webster |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
"Paul Webster" wrote:
I want to round down a calculation such as =SUM(D6)-(D6*15%) so that no matter what the decimal value is it will always round down. Round down to what: an integer number? If so, use one of the following: =INT(D6-D6*15%) =ROUNDDOWN(D6-D6*15%,0) They differ when rounding down negative numbers. For example, INT(-1.5) is -2, whereas ROUNDDOWN(-1.5,0) is -1. PS: You probably do not need to use SUM. It would be useful only if D6 might be "" (null string). But in that case, N(D6) would be more straight-forward (less likely to evoke disapproving comments), and =N(D6)*(1-15%) would be more correct. ----- original message ----- "Paul Webster" wrote in message ... Hi, I want to round down a calculation such as =SUM(D6)-(D6*15%) so that no matter what the decimal value is it will always round down. Any assistance wuld be appreciated -- Paul Webster |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Joe,
I tried both INT and ROUNDDOWN and they both work a treat - I have chosen to go with ROUNDDOWN as it is self explanatory when I look at it again in the future - once again thanks -- Paul Webster "JoeU2004" wrote: "Paul Webster" wrote: I want to round down a calculation such as =SUM(D6)-(D6*15%) so that no matter what the decimal value is it will always round down. Round down to what: an integer number? If so, use one of the following: =INT(D6-D6*15%) =ROUNDDOWN(D6-D6*15%,0) They differ when rounding down negative numbers. For example, INT(-1.5) is -2, whereas ROUNDDOWN(-1.5,0) is -1. PS: You probably do not need to use SUM. It would be useful only if D6 might be "" (null string). But in that case, N(D6) would be more straight-forward (less likely to evoke disapproving comments), and =N(D6)*(1-15%) would be more correct. ----- original message ----- "Paul Webster" wrote in message ... Hi, I want to round down a calculation such as =SUM(D6)-(D6*15%) so that no matter what the decimal value is it will always round down. Any assistance wuld be appreciated -- Paul Webster |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Steve,
I tried both INT and ROUNDDOWN and they both worked a treat, however, I have chosen to go with ROUNDDOWN as it is self explanatory when I look at it again in the future - old age and bad memory!!. once again thanks - its people like you that make things easier for people like me keep up the good work Paul "Steve Yandl" wrote: Paul, Use the "INT" function. Steve "Paul Webster" wrote in message ... Hi, I want to round down a calculation such as =SUM(D6)-(D6*15%) so that no matter what the decimal value is it will always round down. Any assistance wuld be appreciated -- Paul Webster |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH | Excel Worksheet Functions | |||
I need a formula with rounding up & rounding down to the nearest . | Excel Worksheet Functions | |||
Rounding .01 to 1 instead of 0 | Excel Discussion (Misc queries) | |||
Rounding to 5.0 or 0.0 | Excel Discussion (Misc queries) | |||
Rounding or not rounding | Excel Worksheet Functions |