How to use INDIRECT with a SUMIF formula for a date range

Try this out and see if it works:

=SUMIFS(INDIRECT("'"&A1&"'!5:5"),INDIRECT("'"&A1&"'!2:2"),">="&B1,INDIRECT("'"&A1&"'!2:2"),"<="&C1)