The criteria you want to add is already in your formula ?
Do you mean =SUMPRODUCT((INDIRECT("'"&A6&"'!B:B")=I5)*INDIRECT ("'"&A6&"'!G:G"))
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
|