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

SUMIFS as array formula: I think this will be easy.

terrarium

New Member
I have a sumifs formula that reads criteria in each of 5 columns beside it. E14 is criteria that is common between the formulas buy a14-d14 will very.

=SUMIFS(mapdol,Bucket,E14,ExpType,A14)+SUMIFS(mapdol,Bucket,E14,ExpType,B14)+SUMIFS(mapdol,Bucket,E14,ExpType,C14)+SUMIFS(mapdol,Bucket,E14,ExpType,D14)


I tried an array formula like this:


{=SUMIFS(mapdol,Bucket,E14,ExpType,A14:D14}


But it only returns 0, as if it didn't read any criteria. When I switch back to the long style it works fine though.


Any ideas?
 
I think you can do it using SUMPRODUCT instead:


=SUMPRODUCT((mapdol)*(Bucket=E14)*(ISNUMBER(MATCH(ExpType,A14:D14,0))))
 
Back
Top