=SUMIF('[filename1.xlsx]Sheet1'!$A:$A,C12,'[filename1.xlsx]Sheet1'!$Y:$Y)+SUMIF('[filename2.xlsm]Data from ABC'!$A:$A,C12,'[filename2.xlsm]Data from ABC'!$Y:$Y)
The above formula is being used in filename3
, however, if filename1
and filename2
are closed it gives and error and I have to set the entire formula again. To avoid this, how can we give the file name as a cell reference to sumif formula
I am using the following formula, wherein I have given the entire file name in cells A10, A11, B10, B11, but it is not working.
=SUMIF(A10,C12,A11+SUMIF(B10,C12,B11)
Can you please suggest a crack to this?