I've built a formula like this using the CONCATENATE
function:
=CONCATENATE("=SUM('D:\Tour\", TEXT(A2,"yyy"), "\", TEXT(A2,"mmmm"), "\", TEXT(A2,"mmm"), " ", TEXT(A2,"d"), "\[", B2, ".xlsx]Sheet1'!E:E)")
and it returns output like the following:
=SUM('D:\Tour\2017\February\Feb 1[11043.xlsx]Sheet1'!E:E)
Column A contains the date, and column B contains the filename.
At this point, I am copying the formula into notepad and then pasting back into Excel. Is there any way I can use the formula directly?
(I tried indirect formula but it doesn't work.)