Help with formula

F

Frances C

I have this formula that works fine:
=IF(P16>0,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
 
D

David Biddulph

=IF(COUNT(P16,G16,I16)=3,IF(P16>0,G16*L16*P16,IF(P16=0,G16*L16)),"")
Note that if P16<0 you will get FALSE as a result of your formula; is that
what you wanted?
 
D

Don Guillett

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

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

combined
=IF(COUNT(G16,L16,P16)<3,"",G16*L16*(IF(P16>0,P16,1)))
 
F

Frances C

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
 
D

David Biddulph

Post a copy of the formula where you get errors. We can't guess what you're
doing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top