ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sum formula (https://www.excelbanter.com/excel-worksheet-functions/134731-sum-formula.html)

John

sum formula
 
I have a sum formula that shows =(E20-E19) and when i do not have a number in
e20 it shows e19 with a negative. I need a formula that will give a zero if
there is no number in the e20 cell.

Sandy Mann

sum formula
 
=IF(E20="",0,(E20-E19))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"john" wrote in message
...
I have a sum formula that shows =(E20-E19) and when i do not have a number
in
e20 it shows e19 with a negative. I need a formula that will give a zero
if
there is no number in the e20 cell.





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

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