A
andyhofer
I am trying to reference an external workbook via a formulae.
=SUM('G:\express1\WORKDATA\EXCEL\USERS\Becks\WEEKLY\FUEL\[Ne
Fuel1.xls]FUEL CHARGES'!$O12:$P12)
The above works fine but I want the 1 in the file name to be picked u
from a cell rather then be hard coded into the formulae.
Therefore if column B is week 1, column C week 2, D week 3, and so on
when I copy the formulae that refers to week 1 across columns, it wil
automatically change the workbook reference to the new week number.
I have tried the below
=SUM('[="New Fuel"&C2&".xls]FUEL CHARGES"'!$O11:$P11)
but it returns #REF!
Tricky for me to explain, but I hope someone can helps from the above
Thank
Attachment filename: fuelconsumption.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=49464
=SUM('G:\express1\WORKDATA\EXCEL\USERS\Becks\WEEKLY\FUEL\[Ne
Fuel1.xls]FUEL CHARGES'!$O12:$P12)
The above works fine but I want the 1 in the file name to be picked u
from a cell rather then be hard coded into the formulae.
Therefore if column B is week 1, column C week 2, D week 3, and so on
when I copy the formulae that refers to week 1 across columns, it wil
automatically change the workbook reference to the new week number.
I have tried the below
=SUM('[="New Fuel"&C2&".xls]FUEL CHARGES"'!$O11:$P11)
but it returns #REF!
Tricky for me to explain, but I hope someone can helps from the above
Thank
Attachment filename: fuelconsumption.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=49464