Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Liz Liz is offline
external usenet poster
 
Posts: 133
Default Auto-fill text - links to other sheets

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Auto-fill text - links to other sheets

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   Report Post  
Posted to microsoft.public.excel.misc
Liz Liz is offline
external usenet poster
 
Posts: 133
Default Auto-fill text - links to other sheets

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
source sheet to auto fill 2 other sheets GetSFX New Users to Excel 1 August 9th 08 06:05 PM
source sheet to auto fill 2 other sheets GetSFX New Users to Excel 0 August 8th 08 03:49 PM
Auto Fill Different Sheets same cell on each sheet? confused Excel Discussion (Misc queries) 1 October 6th 07 08:54 AM
Auto Fill Links with a Pattern Gayla Excel Discussion (Misc queries) 1 November 9th 06 10:44 PM
How to auto-fill text based on text in another cell Jason Excel Discussion (Misc queries) 3 February 16th 05 08:40 PM


All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"