ExcelBanter

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

Frances C[_2_]

Help with formula
 
I have this formula that works fine:
=IF(P160,G16*L16*P16,IF(P16=0,G16*L16)) but I do not want the cell to show a
'0' when on p16,g16 or l16 I have not enter any numbers. In other words I
want the formula to be there, but I do not want the cell to show a 0(cero)
Looks like is waiting for a calculation. I want it to be invisible


David Biddulph[_2_]

Help with formula
 
=IF(COUNT(P16,G16,I16)=3,IF(P160,G16*L16*P16,IF(P 16=0,G16*L16)),"")
Note that if P16<0 you will get FALSE as a result of your formula; is that
what you wanted?
--
David Biddulph

"Frances C" wrote in message
...
I have this formula that works fine:
=IF(P160,G16*L16*P16,IF(P16=0,G16*L16)) but I do not want the cell to
show a
'0' when on p16,g16 or l16 I have not enter any numbers. In other words I
want the formula to be there, but I do not want the cell to show a 0(cero)
Looks like is waiting for a calculation. I want it to be invisible




Don Guillett

Help with formula
 
try this idea If you want "" unless ALL have numbers

=IF(COUNT(I3,A1,D1)<3,"no","yes")
& your formula as
'=G16*L16*(IF(P160,P16,1))

combined
=IF(COUNT(G16,L16,P16)<3,"",G16*L16*(IF(P160,P16, 1)))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Frances C" wrote in message
...
I have this formula that works fine:
=IF(P160,G16*L16*P16,IF(P16=0,G16*L16)) but I do not want the cell to
show a
'0' when on p16,g16 or l16 I have not enter any numbers. In other words I
want the formula to be there, but I do not want the cell to show a 0(cero)
Looks like is waiting for a calculation. I want it to be invisible



Frances C[_2_]

Help with formula
 
your formula works fine, but what i really need to know is when to use the
,"") I understand that using this ,"") makes the formula invisible unless I
type in the numbers in the cells to be calculate. Using my formula or yours I
optain good results, but is not invisible and everytime I use the ,"") I
optain an error.

Help me please

"Don Guillett" wrote:

try this idea If you want "" unless ALL have numbers

=IF(COUNT(I3,A1,D1)<3,"no","yes")
& your formula as
'=G16*L16*(IF(P160,P16,1))

combined
=IF(COUNT(G16,L16,P16)<3,"",G16*L16*(IF(P160,P16, 1)))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Frances C" wrote in message
...
I have this formula that works fine:
=IF(P160,G16*L16*P16,IF(P16=0,G16*L16)) but I do not want the cell to
show a
'0' when on p16,g16 or l16 I have not enter any numbers. In other words I
want the formula to be there, but I do not want the cell to show a 0(cero)
Looks like is waiting for a calculation. I want it to be invisible




David Biddulph[_2_]

Help with formula
 
Post a copy of the formula where you get errors. We can't guess what you're
doing.
--
David Biddulph

"Frances C" wrote in message
...
your formula works fine, but what i really need to know is when to use the
,"") I understand that using this ,"") makes the formula invisible unless
I
type in the numbers in the cells to be calculate. Using my formula or
yours I
optain good results, but is not invisible and everytime I use the ,"") I
optain an error.

Help me please

"Don Guillett" wrote:

try this idea If you want "" unless ALL have numbers

=IF(COUNT(I3,A1,D1)<3,"no","yes")
& your formula as
'=G16*L16*(IF(P160,P16,1))

combined
=IF(COUNT(G16,L16,P16)<3,"",G16*L16*(IF(P160,P16, 1)))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Frances C" wrote in message
...
I have this formula that works fine:
=IF(P160,G16*L16*P16,IF(P16=0,G16*L16)) but I do not want the cell to
show a
'0' when on p16,g16 or l16 I have not enter any numbers. In other words
I
want the formula to be there, but I do not want the cell to show a
0(cero)
Looks like is waiting for a calculation. I want it to be invisible







All times are GMT +1. The time now is 09:59 AM.

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