ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula Help (https://www.excelbanter.com/excel-worksheet-functions/164278-formula-help.html)

Frances C[_2_]

formula Help
 
I am using this formulain D1 =if(a10,(a1*b1)-c1,"") and it works fine
becuase the formula unless there is a number in cell a1 it will not show. And
that is the way I wanted.

But my problem is that when I have a 0 in a1 and a 0 in b1 and a 0 in c1, I
do not get any results in D1. sometimes I have to enter zeros but I need the
result to be zero as well.

Teethless mama

formula Help
 
May be this...

=IF(A1="","",A1*B1-C1)


"Frances C" wrote:

I am using this formulain D1 =if(a10,(a1*b1)-c1,"") and it works fine
becuase the formula unless there is a number in cell a1 it will not show. And
that is the way I wanted.

But my problem is that when I have a 0 in a1 and a 0 in b1 and a 0 in c1, I
do not get any results in D1. sometimes I have to enter zeros but I need the
result to be zero as well.


Bernard Liengme

formula Help
 
Alternatively,
=IF(ISNUMBER(A1),(A1*B1)-C1,"")
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Frances C" wrote in message
...
I am using this formulain D1 =if(a10,(a1*b1)-c1,"") and it works fine
becuase the formula unless there is a number in cell a1 it will not show.
And
that is the way I wanted.

But my problem is that when I have a 0 in a1 and a 0 in b1 and a 0 in c1,
I
do not get any results in D1. sometimes I have to enter zeros but I need
the
result to be zero as well.





All times are GMT +1. The time now is 07:47 AM.

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