ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can I use the ROUNDOWN and ROUNDUP functions in an "IF" functi (https://www.excelbanter.com/excel-worksheet-functions/233044-how-can-i-use-roundown-roundup-functions-if-functi.html)

EXCEL IN NEED

How can I use the ROUNDOWN and ROUNDUP functions in an "IF" functi
 
I am trying to have the "ROUNDOWN" function as my true, and "ROUNDUP"as my
false... See my current incorrect formula below.... HELP

=IF(I35/I211,ROUNDDOWN((I35/(I21+(I21+1)/2),0),(ROUNDUP(I35/I21),0)


why wont this work????

Mike H

How can I use the ROUNDOWN and ROUNDUP functions in an "IF" functi
 
Hi,

Your parenthesis were incorrect

=IF(I35/I211,ROUNDDOWN(I35/(I21+(I21+1)/2),0),(ROUNDUP(I35/I21,0)))

Mike

"EXCEL IN NEED" wrote:

I am trying to have the "ROUNDOWN" function as my true, and "ROUNDUP"as my
false... See my current incorrect formula below.... HELP

=IF(I35/I211,ROUNDDOWN((I35/(I21+(I21+1)/2),0),(ROUNDUP(I35/I21),0)


why wont this work????


Per Jessen

How can I use the ROUNDOWN and ROUNDUP functions in an "IF" functi
 
Hi

It's a paranthesis problem, try this:

=IF(I35/I211,ROUNDDOWN((I35/(I21+(I21+1)/2)),0),ROUNDUP(I35/I21,0))


Regards,
Per

"EXCEL IN NEED" <EXCEL IN skrev i
meddelelsen ...
I am trying to have the "ROUNDOWN" function as my true, and "ROUNDUP"as my
false... See my current incorrect formula below.... HELP

=IF(I35/I211,ROUNDDOWN((I35/(I21+(I21+1)/2),0),(ROUNDUP(I35/I21),0)


why wont this work????



Shane Devenshire[_2_]

How can I use the ROUNDOWN and ROUNDUP functions in an "IF" functi
 
Hi,

And while you are fixing the parenthesis problem we could also simplify it to:

=IF(I35/I211,ROUNDDOWN(I35/(1.5*I21+0.5),),ROUNDUP(I35/I21,))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"EXCEL IN NEED" wrote:

I am trying to have the "ROUNDOWN" function as my true, and "ROUNDUP"as my
false... See my current incorrect formula below.... HELP

=IF(I35/I211,ROUNDDOWN((I35/(I21+(I21+1)/2),0),(ROUNDUP(I35/I21),0)


why wont this work????



All times are GMT +1. The time now is 10:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com