Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I need to link cells from many excel sheets into one master file. Is there a way to auto fill the cells so that A1 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F01\[HUN_F01.xlsx]GIS Details'!A3 And then A2 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F02\[HUN_F02.xlsx]GIS Details'!A3 and then A3 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F03\[HUN_F03.xlsx]GIS Details'!A3 and so on. i.e is there a way to automatically increase the numbers mid formula? Would be very appreciative of any help! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What you'd want to use is =indirect() and build a formula that results in the
string that points at the folder, file, sheet, location. But the bad thing is that =indirect() won't work if that sending file is closed. If that's a problem, then Laurent Longre has an addin (morefunc.xll) at: http://xcell05.free.fr/ or http://xcell05.free.fr/morefunc/english/index.htm That includes =indirect.ext() that may help you. ============= If I had to do this just a single time, I'd use this technique: I'd build a formula that would create a string that looked like your formula: Put this in A1: ="='\\Ausyd1fp002\projects\60097281_Pmatta_River\4 . Tech work area\" &"4.8. Field work\Asset Logs\Hunters Hill\Facilities\" &"[HUN_F" & text(row(),"00") & ".xlsx]GIS Details'!A3" Double check your typing now! Then drag down as far as you need. You'll end up with a string that looks like your formulas. Then select that range and convert it to values (Copy|paste special|values) Now select that column. Data|text to columns delimited (but don't choose anything) And plop it right back where you got it. Excel will see this as you re-editing each formula. And you should have your results after excel recalcs. Liz wrote: Hi I need to link cells from many excel sheets into one master file. Is there a way to auto fill the cells so that A1 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F01\[HUN_F01.xlsx]GIS Details'!A3 And then A2 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F02\[HUN_F02.xlsx]GIS Details'!A3 and then A3 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F03\[HUN_F03.xlsx]GIS Details'!A3 and so on. i.e is there a way to automatically increase the numbers mid formula? Would be very appreciative of any help! -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Great - that helped a lot and I know for next time too.
Thanks Liz "Dave Peterson" wrote: What you'd want to use is =indirect() and build a formula that results in the string that points at the folder, file, sheet, location. But the bad thing is that =indirect() won't work if that sending file is closed. If that's a problem, then Laurent Longre has an addin (morefunc.xll) at: http://xcell05.free.fr/ or http://xcell05.free.fr/morefunc/english/index.htm That includes =indirect.ext() that may help you. ============= If I had to do this just a single time, I'd use this technique: I'd build a formula that would create a string that looked like your formula: Put this in A1: ="='\\Ausyd1fp002\projects\60097281_Pmatta_River\4 . Tech work area\" &"4.8. Field work\Asset Logs\Hunters Hill\Facilities\" &"[HUN_F" & text(row(),"00") & ".xlsx]GIS Details'!A3" Double check your typing now! Then drag down as far as you need. You'll end up with a string that looks like your formulas. Then select that range and convert it to values (Copy|paste special|values) Now select that column. Data|text to columns delimited (but don't choose anything) And plop it right back where you got it. Excel will see this as you re-editing each formula. And you should have your results after excel recalcs. Liz wrote: Hi I need to link cells from many excel sheets into one master file. Is there a way to auto fill the cells so that A1 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F01\[HUN_F01.xlsx]GIS Details'!A3 And then A2 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F02\[HUN_F02.xlsx]GIS Details'!A3 and then A3 ='\\Ausyd1fp002\projects\60097281_Pmatta_River\4. Tech work area\4.8. Field work\Asset Logs\Hunters Hill\Facilities\HUN_F03\[HUN_F03.xlsx]GIS Details'!A3 and so on. i.e is there a way to automatically increase the numbers mid formula? Would be very appreciative of any help! -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
source sheet to auto fill 2 other sheets | New Users to Excel | |||
source sheet to auto fill 2 other sheets | New Users to Excel | |||
Auto Fill Different Sheets same cell on each sheet? | Excel Discussion (Misc queries) | |||
Auto Fill Links with a Pattern | Excel Discussion (Misc queries) | |||
How to auto-fill text based on text in another cell | Excel Discussion (Misc queries) |