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

Sum with 2 criteria in column and row

Hi,

I have problem to sum base on 2 criteria. One criteria range in row and other criteria range in column. Do you have any way to solve it?

Thanks,
 

Attachments

  • Sum 2 criterail in col and row.xlsx
    9 KB · Views: 14
Another non-array formula possible………..

In B18, copy across and down :

=SUMPRODUCT(($A$4:$A$12=$A18)*($C$2:$G$2=B$17),$C$4:$G$12)

Regards
Bosco
Thanks for the formula. I have one more criteria and not sure if you can help or not.
My problem is I want to sum all record in the most left column each week base on region.
Please view attached file for more detail.

Thanks,
 

Attachments

  • Sum 2 criterail in col and row.xlsx
    10.1 KB · Views: 6
Thanks for the formula. I have one more criteria and not sure if you can help or not.
My problem is I want to sum all record in the most left column each week base on region.
Please view attached file for more detail.

Thanks,

In B18, formula copy across and down :

=SUMIF($A$4:$A$12,$A18,INDEX($C$4:$G$12,0,INDEX(MATCH(2,1/($C$2:$G$2=B$17)),0)))

Regards
 

Attachments

  • 2 criterail in col and row.xlsx
    10.5 KB · Views: 7
Back
Top