ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If, then Formulas (https://www.excelbanter.com/excel-worksheet-functions/199932-if-then-formulas.html)

susieh

If, then Formulas
 
Does anyone know how to create a formula for this?

I want to get a value in A22 and if that value is greater than 0 (even if it
is less than 1), then multiply A22 and A23 and add 45 to the total, if the
value in A22 is 0, then I want the cell to be empty.


ShaneDevenshire

If, then Formulas
 
Hi,

Try

=IF(A220,(A22*A23)+45,"")

or if you want to be fancy:

=IF(A22,A22*A23+45,"")

--
Cheers,
Shane Devenshire


"susieh" wrote:

Does anyone know how to create a formula for this?

I want to get a value in A22 and if that value is greater than 0 (even if it
is less than 1), then multiply A22 and A23 and add 45 to the total, if the
value in A22 is 0, then I want the cell to be empty.


David Biddulph[_2_]

If, then Formulas
 
One group is enough. Please do not multipost.
--
David Biddulph

"susieh" wrote in message
...
Does anyone know how to create a formula for this?

I want to get a value in A22 and if that value is greater than 0 (even if
it
is less than 1), then multiply A22 and A23 and add 45 to the total, if the
value in A22 is 0, then I want the cell to be empty.





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

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