ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula to change current cell value (https://www.excelbanter.com/excel-worksheet-functions/131383-formula-change-current-cell-value.html)

Robert H

formula to change current cell value
 
Is it possible make a cell display the value of Zero if the the cell
value is zero or less or less than 1? Even better is it possible to
change the actual value using a formula under the same circumstances?

thanks
Robert


Fred Smith

formula to change current cell value
 
Max will do what you want:

=max(1,yourformula)

Note: "zero or less or less than 1" is the same as "less than 1".

--
Regards,
Fred


"Robert H" wrote in message
oups.com...
Is it possible make a cell display the value of Zero if the the cell
value is zero or less or less than 1? Even better is it possible to
change the actual value using a formula under the same circumstances?

thanks
Robert




Joerg

formula to change current cell value
 
This would result in 1 (or more, depending on yourformula), but the OP asked
for 0.

Maybe:
=if(yourformula1,yourformula, 0)

Joerg

"Fred Smith" wrote in message
...
Max will do what you want:

=max(1,yourformula)

Note: "zero or less or less than 1" is the same as "less than 1".

--
Regards,
Fred


"Robert H" wrote in message
oups.com...
Is it possible make a cell display the value of Zero if the the cell
value is zero or less or less than 1? Even better is it possible to
change the actual value using a formula under the same circumstances?

thanks
Robert







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

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