L
Lee
Hello,
I want a function to work with data in different
workbooks. Let's say I want to sum all data in a column in
a worksheet whose name I have in column A - e.g. in A1 I
have file1.xls, in A2 I have file2.xls etc. I want to
write the function into B1:
=SUM('c:\myfolder\[file1.xls]Sheet1'!$A1:$A10000)
But instead of writing manually file1.xls I want to just
reference the A1 cell with the workbook name. Because I
want to fill the formula down the column B and in each
cell of B column I want to have a corresponding filename
as it is written in A column.
Has anybody idea how to do it?
Lee
I want a function to work with data in different
workbooks. Let's say I want to sum all data in a column in
a worksheet whose name I have in column A - e.g. in A1 I
have file1.xls, in A2 I have file2.xls etc. I want to
write the function into B1:
=SUM('c:\myfolder\[file1.xls]Sheet1'!$A1:$A10000)
But instead of writing manually file1.xls I want to just
reference the A1 cell with the workbook name. Because I
want to fill the formula down the column B and in each
cell of B column I want to have a corresponding filename
as it is written in A column.
Has anybody idea how to do it?
Lee