View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ShaneDevenshire ShaneDevenshire is offline
external usenet poster
 
Posts: 2,344
Default 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.