Hello everyone,
I'm trying to put together a sumifs condition working with (2) criteria across (12) tabs, but I'm getting a #REF!.
=SUMPRODUCT(SUMIFS(INDIRECT("'"&M1:M2&"'!$S$2:$S$67"),INDIRECT("'"&M1:M2&"'!$F$2:$F$67"),B$1,INDIRECT("'"&M1:M2&"'!$C$2:$C$67"),$A2))
In essence, M1:M2 would be associated to my months, so it'd actually be M1:M12, "$S$2:$S$67" is my range #01, !$F$2:$F$67 is my range #02 (consistently repeats across every other worksheet), B$1 is my criteria #01, and $A2 is my criteria #02 associated to my range #03, $C$2:$C$67.
Thoughts?
I'm trying to put together a sumifs condition working with (2) criteria across (12) tabs, but I'm getting a #REF!.
=SUMPRODUCT(SUMIFS(INDIRECT("'"&M1:M2&"'!$S$2:$S$67"),INDIRECT("'"&M1:M2&"'!$F$2:$F$67"),B$1,INDIRECT("'"&M1:M2&"'!$C$2:$C$67"),$A2))
In essence, M1:M2 would be associated to my months, so it'd actually be M1:M12, "$S$2:$S$67" is my range #01, !$F$2:$F$67 is my range #02 (consistently repeats across every other worksheet), B$1 is my criteria #01, and $A2 is my criteria #02 associated to my range #03, $C$2:$C$67.
Thoughts?