#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"