Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jon
 
Posts: n/a
Default Using text in cells to build a link to within another file

BACKGROUND:

I have a file called summary.xls and 80 data files called data1.xls,
data2.xls, etc. Let's say that in the summary.xls file, cells A1-A80 contain
the text "data1.xls", "data2.xls", etc.

I'd like cells B1-B80 of summary.xls to equal cell C50 on Sheet1 of
data1.xls, cell C50 on Sheet1 of data2.xls, etc. One way to do this is to
type "=" into A2 of summary.xls and then open the file data1.xls and click in
cell C50 of Sheet1. Then repeat this process for all 80 files. Obviously,
that's a lot of work.


MY QUESTION:

I'd like to build a formula to put in cells B1-B80 that will pull the
filename from column A and create a formula like:

= '[data1.xls]Sheet1'!$C$50

To do this, I tried just putting the cell location in place of the
"data1.xls" in the example above so it looked like:

= '[A1]Sheet1'!$C$50

But the result was Excel trying to open a file called "A1". I also tried
converting the "A1" string above by putting:

= [T(A1)]Sheet1'!$C$50

But then Excel just tried to open a file called "T(A1)".

There must be a way to do this. Any ideas?
  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

Jon wrote...
....
There must be a way to do this. Any ideas?


See

http://groups-beta.google.com/group/...5?dmode=source

(or http://makeashorterlink.com/?N12F25A8B ).

  #3   Report Post  
RagDyer
 
Posts: n/a
Default

Check out this old post for an expansion of Harlan's first example, which I
use extensively in a large dB type WB.

http://tinyurl.com/8v8e5

The end of the thread is the pertinent post.
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"Harlan Grove" wrote in message
ups.com...
Jon wrote...
...
There must be a way to do this. Any ideas?


See


http://groups-beta.google.com/group/...5?dmode=source

(or http://makeashorterlink.com/?N12F25A8B ).


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
Formula to strip figures from cells text strings mikeburg Excel Discussion (Misc queries) 5 August 15th 05 10:31 PM
Macro or Formula to remove Text from Cells smck Excel Worksheet Functions 6 May 11th 05 03:22 AM
Referencing cells text output if it meets specific conditions Chersie Excel Worksheet Functions 3 April 18th 05 04:34 PM
Adding two text cells together Audrey Excel Discussion (Misc queries) 4 February 24th 05 09:57 PM
How do I get merged cells to display all text. Excel problem Excel Discussion (Misc queries) 2 November 30th 04 04:29 AM


All times are GMT +1. The time now is 02:48 AM.

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

About Us

"It's about Microsoft Excel"