G
Guest
Is there anyway possible to get the filename from a cell? I have workbooks
that are all named with a date corresponding to the end of the week. Is there
anyway possible for a cell to look up the date that is used on the current
sheet then take away seven days from that date and use this new date as a
link to a workbook, and bring back values.This would save me alot of trouble
not having to manually put in the previous weeks date.
An example of this is:
=SUM(SUM([C37.xls]'Sausage Butchery (Lower)'!$I:$I)+SUM([C37.xls]'Sausage
Butchery TW (Higher)'!$I:$I)+SUM([C37.xls]'Sausage Butchery
(Higher)'!$I:$I))+SUM([C37.xls]'Sausage Butchery TW (Lower)'!$I:$I)
where C37 would be the cell where the previous weeks date is held, and
therefore the filename
that are all named with a date corresponding to the end of the week. Is there
anyway possible for a cell to look up the date that is used on the current
sheet then take away seven days from that date and use this new date as a
link to a workbook, and bring back values.This would save me alot of trouble
not having to manually put in the previous weeks date.
An example of this is:
=SUM(SUM([C37.xls]'Sausage Butchery (Lower)'!$I:$I)+SUM([C37.xls]'Sausage
Butchery TW (Higher)'!$I:$I)+SUM([C37.xls]'Sausage Butchery
(Higher)'!$I:$I))+SUM([C37.xls]'Sausage Butchery TW (Lower)'!$I:$I)
where C37 would be the cell where the previous weeks date is held, and
therefore the filename