ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cell result must be a minimum of $1; way to round up to that for amounts between $0-$0.99? (https://www.excelbanter.com/excel-programming/375450-cell-result-must-minimum-%241%3B-way-round-up-amounts-between-%240-%240-99-a.html)

StargateFan[_3_]

Cell result must be a minimum of $1; way to round up to that for amounts between $0-$0.99?
 
My formula stands as follows:
=IF($A$2<"",CEILING($E$10,0.05),"")

it works great but I'm concerned about when the amount of $A$2 causes
formula result to fall below $1.00.

This cell result refers to an account that has a minimum deposit of
$1.00 so if the results are less than that and fall between $0-$0.99,
we need to round the result up to the $1.00 minimum. Is there a way
to modify the above formula to do that?


Niek Otten

Cell result must be a minimum of $1; way to round up to that for amounts between $0-$0.99?
 
=IF($A$2<"",MAX(1,CEILING($E$10,0.05)),"")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"StargateFan" wrote in message ...
| My formula stands as follows:
| =IF($A$2<"",CEILING($E$10,0.05),"")
|
| it works great but I'm concerned about when the amount of $A$2 causes
| formula result to fall below $1.00.
|
| This cell result refers to an account that has a minimum deposit of
| $1.00 so if the results are less than that and fall between $0-$0.99,
| we need to round the result up to the $1.00 minimum. Is there a way
| to modify the above formula to do that?
|




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

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