SUM PRODUCT - Multiple Criteria

mwildcats

New Member
Joined
May 16, 2019
Messages
6
Hi All,

New member :)

Struggling with SUMPRODUCT / SUMIF Function.
I can do this successfully with 2 criteria / ranges but wont allow me any further.

I am wanting to sum up data in a tab/cells (Template!$AL$5:$AX$1115)
Based on numerous criteria from many drop down/ data validation lists

1st criteria range = (Template!$I$5:$I$1115) 1st criteria ('Requirement'!$C93)
2nd criteria range =(Template!$AL$4:$AX$4) 2nd criteria ('Requirement'!D$73)
3rd criteria range = (Template!$I$5:$I$1115) 3rd criteria ('Requirement'!$C94)
4th criteria range = (Template!$C$5:$C$1115) 4th criteria ('Requirement'!$C95)
5th criteria range = (Template!$F$5:$F$1115) 5th criteria ('Requirement'!$C96)
6th criteria range = (Template!$E$5:$E$1115) 6th criteria ('Requirement'!$C97)
7th criteria range = (Template!$AD$5:$AD$1115) 7th criteria ('Requirement'!$C98)
8th criteria range = (Template!$AE$5:$AE$1115) 8th criteria ('Requirement'!$C99)
9th criteria range = (Template!$AG$5:$AG$1115) 9th criteria ('Requirement'!$C100)
10th criteria range = (Template!$AH$5:$AH$1115) 10th criteria ('Requirement'!$C100)

Anyone help with whats going wrong?, provide formula or other method?

thanks,
mark
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Re: SUM PRODUCT Help - Multiple Criteria

SUMPRODUCT((Template!$I$5:$I$1115=Requirement!$C93)*(Template!$AL$4:$AX$4=Requirement!D$73)*(Template!$I$5:$I$1115=Requirement!$C94)*(Template!$C$5:$C$1115=Requirement!$C95)*(Template!$F$5:$F$1115=Requirement!$C96)*(Template!$E$5:$E$1115=Requirement!$C97)*(Template!$AD$5:$AD$1115=Requirement!$C98)*(Template!$AE$5:$AE$1115=Requirement!$C99)*(Template!$AG$5:$AG$1115=Requirement!$C100)*(Template!$AH$5:$AH$1115=Requirement!$C100))
 
Upvote 0
Re: SUM PRODUCT Help - Multiple Criteria

SUMPRODUCT((Template!$I$5:$I$1115=Requirement!$C93)*(Template!$AL$4:$AX$4=Requirement!D$73)*(Template!$I$5:$I$1115=Requirement!$C94)*(Template!$C$5:$C$1115=Requirement!$C95)*(Template!$F$5:$F$1115=Requirement!$C96)*(Template!$E$5:$E$1115=Requirement!$C97)*(Template!$AD$5:$AD$1115=Requirement!$C98)*(Template!$AE$5:$AE$1115=Requirement!$C99)*(Template!$AG$5:$AG$1115=Requirement!$C100)*(Template!$AH$5:$AH$1115=Requirement!$C100))

Thanks - However i cannot the see the table i wanting to add up the data from in this formula (Template!$AL$5:$AX$1115) ??
Where would this go, as the formula above is just setting the criteria i want to look up from?
 
Upvote 0
Re: SUM PRODUCT Help - Multiple Criteria

Hmm, okay so what I sent gives the criteria for the Template!$AL$5:$AX$1115, try append that on to the end of the formula as such:

=SUMPRODUCT((Template!$I$5:$I$1115=Requirement!$C93)*(Template!$AL$4:$AX$4=Requirement!D$73)*(Template!$I$5:$I$1115=Requirement!$C94)*(Template!$C$5:$C$1115=Requirement!$C95)*(Template!$F$5:$F$1115=Requirement!$C96)*(Template!$E$5:$E$1115=Requirement!$C97)*(Template!$AD$5:$AD$1115=Requirement!$C98)*(Template!$AE$5:$AE$1115=Requirement!$C99)*(Template!$AG$5:$AG$1115=Requirement!$C100)*(Template!$AH$5:$AH$1115=Requirement!$C100)*(Template!$AL$5:$AX$1115))

If that fails I'd use a SUMIFS function with similar logic.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,560
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top