If you have bits with
[1] pairwise multiplications like
(A2:A4)*(B2:B4)
(A2:A4="jim")*(B2:B4)
[2] with IF(s) which act(s) as filter like
IF(A2:A4>=2,1)
[3] with multi-valued references which serve as look up value or comparison value like...
MATCH(A2:A4,B2:B4,0)
A2:A4=B2:B4
you have to do with an array-processing formula.
The foregoing list is probably not exhaustive. The gist is: bits leading to multi-value results indicate array-processing, therefore control+shift+enter if the receiving function is not designed exlusively for array-objects like SUMPRODUCT.
Hope this helps.