ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   conditional rounding (https://www.excelbanter.com/excel-worksheet-functions/120409-conditional-rounding.html)

egarcia

conditional rounding
 
My current formula is =ROUNDDOWN(AB15/$AB$36,0). I want to change it to = 0
if it's zero. If the number is between .1 to .9 i want it to equal 1. If it's
greater than 1 I want it to round down. Can u help me?

Dave F

conditional rounding
 
=IF(AB15/AB36=0,0,IF(AND(AB15/A36=.1,AB15/Ab36<=.9),1,ROUNDDOWN(AB15/AB36,0))

Dave
--
Brevity is the soul of wit.


"egarcia" wrote:

My current formula is =ROUNDDOWN(AB15/$AB$36,0). I want to change it to = 0
if it's zero. If the number is between .1 to .9 i want it to equal 1. If it's
greater than 1 I want it to round down. Can u help me?


egarcia

conditional rounding
 
THANK YOU, That's perfect.

"Dave F" wrote:

=IF(AB15/AB36=0,0,IF(AND(AB15/A36=.1,AB15/Ab36<=.9),1,ROUNDDOWN(AB15/AB36,0))

Dave
--
Brevity is the soul of wit.


"egarcia" wrote:

My current formula is =ROUNDDOWN(AB15/$AB$36,0). I want to change it to = 0
if it's zero. If the number is between .1 to .9 i want it to equal 1. If it's
greater than 1 I want it to round down. Can u help me?



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

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