Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 389
Default Linking to another file using file reference typed cell

I have a formula such as:

=COUNTA('C:\Accounting\[5010 Advertising.xls]Sheet1'!$C$209:$C$239)

I was wondering if there is a way for example to put in cell A10:
C:Accounting\[5010 Advertising.xls]Sheet1

and then in cell B10 use some sort of concatenation formula or something to
create the COUNTA function by referencing the value (ie filename) in A10
ie: =CountA(&A10&C209:C239) ... but that is not it and I cant figure it out.

Thank you for your help.

Steven





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 141
Default Linking to another file using file reference typed cell

On Apr 5, 4:03*am, Steven wrote:
I have a formula such as:

=COUNTA('C:\Accounting\[5010 Advertising.xls]Sheet1'!$C$209:$C$239)

I was wondering if there is a way for example to put in cell A10:
C:Accounting\[5010 Advertising.xls]Sheet1

and then in cell B10 use some sort of concatenation formula or something to
create the COUNTA function by referencing the value (ie filename) in A10
ie: *=CountA(&A10&C209:C239) ... *but that is not it and I cant figure it out.

Thank you for your help.

Steven


Hi Steven,

The INDIRECT function should do what you are after.

Cheers,
Ivan.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 389
Default Linking to another file using file reference typed cell

Thank you for your response. With INDIRECT does the file have to be open.
It works when the file is open but when I close the files and then open the
file that has the INDIRECT linking back to the other file it has a #REF#.

"Ivyleaf" wrote:

On Apr 5, 4:03 am, Steven wrote:
I have a formula such as:

=COUNTA('C:\Accounting\[5010 Advertising.xls]Sheet1'!$C$209:$C$239)

I was wondering if there is a way for example to put in cell A10:
C:Accounting\[5010 Advertising.xls]Sheet1

and then in cell B10 use some sort of concatenation formula or something to
create the COUNTA function by referencing the value (ie filename) in A10
ie: =CountA(&A10&C209:C239) ... but that is not it and I cant figure it out.

Thank you for your help.

Steven


Hi Steven,

The INDIRECT function should do what you are after.

Cheers,
Ivan.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 141
Default Linking to another file using file reference typed cell

On Apr 5, 5:35*am, Steven wrote:
Thank you for your response. *With INDIRECT does the file have to be open. *
It works when the file is open but when I close the files and then open the
file that has the INDIRECT linking back to the other file it has a #REF#.



"Ivyleaf" wrote:
On Apr 5, 4:03 am, Steven wrote:
I have a formula such as:


=COUNTA('C:\Accounting\[5010 Advertising.xls]Sheet1'!$C$209:$C$239)


I was wondering if there is a way for example to put in cell A10:
C:Accounting\[5010 Advertising.xls]Sheet1


and then in cell B10 use some sort of concatenation formula or something to
create the COUNTA function by referencing the value (ie filename) in A10
ie: *=CountA(&A10&C209:C239) ... *but that is not it and I cant figure it out.


Thank you for your help.


Steven


Hi Steven,


The INDIRECT function should do what you are after.


Cheers,
Ivan.- Hide quoted text -


- Show quoted text -


Hi Steven,

Sorrt, it is not something I have tried before. On investigation
though, Indirect does seem to have a limitation with closed workbooks.
Have a look he

http://www.dailydoseofexcel.com/arch...sed-workbooks/

for further info / potential workarounds.

That'll teach me for posting without trying it :)

Cheers,
Ivan.
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
cell reference to another file bubbles1611 Excel Worksheet Functions 0 March 23rd 06 11:50 PM
Turning a text file name into a search and linking the file as a hyperlink AlistairM Excel Discussion (Misc queries) 1 January 26th 06 04:55 AM
Change of File name within a cell reference Zuzana Excel Discussion (Misc queries) 3 November 30th 05 02:38 PM
linking a file to another linked file in excel buckeye Excel Discussion (Misc queries) 1 November 10th 05 12:53 AM
How do I reference external data from a file, file name found in . Clux Excel Discussion (Misc queries) 1 February 10th 05 10:52 PM


All times are GMT +1. The time now is 03:54 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"