Finding ZERO

  • Thread starter \(M\)e\(Ag\)ain
  • Start date
M

\(M\)e\(Ag\)ain

Hi all
I am using the formula below works fine for me. the problem is when there is
no value to return it show 0.
How can I get rid of 0 without using conditional formating????
thanks

=SUMPRODUCT(--(BankAccount!$A$1:$A$1998=S315),--(BankAccount!$D$1:$D$1998=St
reamLine),BankAccount!$E$1:$E$1998)
 
R

ryanb.

If you want the cell to return blank, this may help:

=IF(ISNA(MATCH(S315,BankAccount!$A$1:$A$1998,FALSE)),"",IF(ISNA(MATCH(Stream
Line,BankAccount!$D$1:$D$1998,FALSE)),"",paste your sumproduct formula here)

ryanb.
 
M

\(M\)e\(Ag\)ain

thanks ryanb but then I tired the simple IF statement and it worked.

=IF(SUMPRODUCT(--(BankAccount!$A$1:$A$1998=S321),--(BankAccount!$D$1:$D$1998
=StreamLine),BankAccount!$E$1:$E$1998)=0,"",SUMPRODUCT(--(BankAccount!$A$1:$
A$1998=S321),--(BankAccount!$D$1:$D$1998=StreamLine),BankAccount!$E$1:$E$199
8))

I think I will stick to it.
thanks for your tip anyway.
 

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