• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Can somebody help me with an if iserror problem

irenesboy

New Member
I have the below formula that I would like to add the IF(ISERROR function to.

I have been struggling with for 3 hours.

if it produces an error i would like the cell to be blank.

Thanks in advance.

please help.


=SUMPRODUCT((Data!$C$2:$C$10989=$M25)*(Data!$B$2:$B$10989=$L24)*(Data!$I$2:$I$10989))


irenesboy
 
If using 2007:

=IFERROR(SUMPRODUCT((Data!$C$2:$C$10989=$M25)*(Data!$B$2:$B$10989=$L24)*(Data!$I$2:$I$10989)),"")


Else:

=IF(ISERROR(SUMPRODUCT((Data!$C$2:$C$10989=$M25)*(Data!$B$2:$B$10989=$L24)*(Data!$I$2:$I$10989))),"",SUMPRODUCT((Data!$C$2:$C$10989=$M25)*(Data!$B$2:$B$10989=$L24)*(Data!$I$2:$I$10989)))


I would note that it might be better to determine what is causing the error and try to avoid that, rather than "covering" it at the end.
 
Back
Top