If you don't like the helper, you could try this instead:

=SUMIFS(Report!J:J,Report!$A:$A,Master!$C3,Report!$F:$F,INDIRECT("'Master'!N"&INT((ROWS($1:1)-1)/4)*4+3))