
Originally Posted by
XOR LX
Hi and welcome to the forum!
Go to Name Manager and create a new name, WS_Names, say, and enter this in the Refers to: box:
=RIGHT(GET.WORKBOOK(1),LEN(GET.WORKBOOK(1))-FIND("]",GET.WORKBOOK(1)))
Exit Name Manager. Then, in D13 of your ROLL UP (MONTH) sheet and copy down, this array formula:
=SUM(IFERROR((N(OFFSET(INDIRECT(WS_Names&"!D20"),,,,))=C13)*(N(OFFSET(INDIRECT(WS_Names&"!P20"),,,,))),""))
Note: this assumes that the maximum of each of the Sheets' D20 values is unique.
Regards
Bookmarks