I am trying to create a 3d sumif via sumproducts/indirect. I have figured out how to do so, but I have run into another problem. See below for my function.
=IF(K1="","",SUMPRODUCT(SUMIF(INDIRECT("'" & {"X", "Y", "Z"} & "'!A:A"),A1,INDIRECT("'" & {"X", "Y", "Z"} & "'!K:K"))))
where: X, Y, Z are the sheets names.
I have more than those three sheet names and will likely add more to the workbook. My question is: Is it possible to do an indirect across multiple sheets without listing them out one by one. I've tried adding a page at the beginning and at the end and adding "start:end" to the function. However, this does not seem to work. If anyone has a solution I would appreciate it.
Thanks,
Chris
Bookmarks