• 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 - Evaluate Difference

polarisking

Member
I have two arrays and I'm subtracting one from the other, then testing each difference vs. a constant - =SUMPRODUCT(--(((B5:J5)-(B4:J4)))=0). When I step through the formula it's evaluating to the appropriate number of Trues/Falses, but it's not yielding the sum of the Trues, it's coming back 0. I'd prefer not to do an intermediate calculation then test the results vs. a single array.

Any help would be appreciated.
 
Hi, polarisking!
If you want to test the overall value resulting from the difference of each column elements, wouldn't it be the same doing this?:
=(SUM(B5:J5)-SUM(B4:J4))=0
Or do you want to retrieve an array like {TRUE;FALSE;TRUE;...}?
Regards!
 
Back
Top