A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Indirect function returns #ref when source file is closed - Microsoft Community
The INDIRECT() will work only as long as the source data file is open. When the source file is closed, the INDIRECT() function cell will yield an error.
=SUM(INDIRECT("'C:\Users\Administrator\Desktop"&D2&"[Hours.xlsx]Sheet1'!$A$1:$A$5"))