Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Reference in a filename..
I need to create a filename based on the value in a cell for reference to
another worksheet. Is there any way I can do this with a formula? ='[Manager0"D4".xls]1A'!D4:D22 D4 contains the value I want into the filename and the stuff outside the brackets is a reference within the ManagerXX.xls document.. If D4=3, the formula should get the referenced cells at the Manager03.xls worksheet... |
#3
|
|||
|
|||
Thanks a lot Bob!
Bob Umlas skrev: =INDIRECT("'[Manager0"&D4&".xls]1A'!D4:D22") "Frode Hjoennevaag" <Frode wrote in message ... I need to create a filename based on the value in a cell for reference to another worksheet. Is there any way I can do this with a formula? ='[Manager0"D4".xls]1A'!D4:D22 D4 contains the value I want into the filename and the stuff outside the brackets is a reference within the ManagerXX.xls document.. If D4=3, the formula should get the referenced cells at the Manager03.xls worksheet... |
#4
|
|||
|
|||
Hey again,
I can only get the INDIRECT to work once.. I need to use the formula for many cells, each with a different filename (thats what the D4 does as the value increase for each row and thus liks a different worksheet).. When I try to use the INDIRECT formula on several rows, only the first one works. The rest of them only return with a 0 value... Help! Bob Umlas skrev: =INDIRECT("'[Manager0"&D4&".xls]1A'!D4:D22") "Frode Hjoennevaag" <Frode wrote in message ... I need to create a filename based on the value in a cell for reference to another worksheet. Is there any way I can do this with a formula? ='[Manager0"D4".xls]1A'!D4:D22 D4 contains the value I want into the filename and the stuff outside the brackets is a reference within the ManagerXX.xls document.. If D4=3, the formula should get the referenced cells at the Manager03.xls worksheet... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Maintaining cell reference after sorting | Excel Discussion (Misc queries) | |||
Absolute Worksheet reference number | Excel Discussion (Misc queries) | |||
Cell Reference Math | Excel Worksheet Functions | |||
Weekly Transaction Processing | Excel Worksheet Functions | |||
Insert value of a cell as a filename | Excel Worksheet Functions |