• 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.

SUMPRODUCT not working in this case...very rare

rolo

Member
Hello gurus, please help me to solve this problem

In the uploaded example , there are 2 sumproduct examples (both with similar logic)
One works fine and the other not!

Please help...Thanks!
 

Attachments

Hi ,

The problem is that the cells in rows 10 and 20 are not strictly blank , and they contain non-numeric characters. If you delete these cells by using the DEL key , your formula will work.

Narayan
 
1] Input table data contain invisible characters of which caused the formula mistake.

2] To work around this, G3 formula :

=SUMPRODUCT((A6:A20=A3)*(D6:D20=B3)*(E5:H5=C3)*N(+E6:H20))

Regards
Bosco
 

Attachments

Hi ,

Why not this ?

=SUMPRODUCT((A6:A20=A3)*(D6:D20=B3)*(E5:H5=C3),(E6:H20))

Narayan

I tested Bosco suggestion (adding N function). It worked fine in some cases, but fail in other cases.

NARAYANK991 suggestion worked fine in all my cases!
(although I don´t understand why using comma instead of * solved the problem)

You are great!
 
Back
Top