Variable sheet names in a sumifs formula excel -
have following working formula
=sumifs('1'!$u$2:$u$32,'1'!$z$2:$z$32,{1007,1008},'1'!$ab$2:$ab$32,"*"&march!b5&"")
and i'm trying replace 3 hard coded references sheet 1 variable located in c3. attempt follows using indirect (i've used before on single conditional statements not on multiple conditionals):
=sumifs(indirect("'"&$c3&"'!$u$2:$u$32),indirect("'"&$c3&"'!$z$2:$z$32),{1007,1008},indirect("'"&$c3&"'!$ab$2:$ab$32),"*"&march!b5&"")
this comes errors.
appreciate in pointing me in right direction.
you haven't closed strings in indirect functions:
=sumifs(indirect("'"&$c3&"'!$u$2:$u$32"),indirect("'"&$c3&"'!$z$2:$z$32"),{1007,1008},indirect("'"&$c3&"'!$ab$2:$ab$32"),"*"&march!b5&"")
Comments
Post a Comment