The trick is to check that thesum_rangeandcriteria_rangeare the same dimensions.

SUMIFS horizontal range to subtotal rows

SUMIFS horizontal range to subtotal rows

SUMIFS horizontal range to subtotal rows

SUMIFS horizontal range to subtotal rows

SUMIFS horizontal range to subtotal rows

Excel formula: Sum entire column

Excel formula: Sum matching columns

Excel SUMIFS function

SUMIFS horizontal range to subtotal rows