#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
lynnc
 
Posts: n/a
Default Build Formula

I am looking for syntex that will build a formula.

I want to replace this reference
='[2006 Capacity PMHS Bourbonnais.xls]Capacity Synopsis'!L19

with a formula that will build the reference using data from another part of
the worksheet. It would be something like this CONCATENATE("='[2006 Capacity
PMHS Bourbonnais.xls]Capacity Synopsis'!",F$2,$A9). where F$2 = L and $A9 =
19. Only this doesn't work.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Build Formula

You need the INDIRECT() function. Bear in mind it doesn't work when the
workbook you're referencing is closed. If the referenced workbook is open it
will work just fine.

=INDIRECT("'[2006 Capacity PMHS Bourbonnais.xls]Capacity Synopsis'!"&F$2&$A9)



"lynnc" wrote:

I am looking for syntex that will build a formula.

I want to replace this reference
='[2006 Capacity PMHS Bourbonnais.xls]Capacity Synopsis'!L19

with a formula that will build the reference using data from another part of
the worksheet. It would be something like this CONCATENATE("='[2006 Capacity
PMHS Bourbonnais.xls]Capacity Synopsis'!",F$2,$A9). where F$2 = L and $A9 =
19. Only this doesn't work.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
lynnc
 
Posts: n/a
Default Build Formula

Is there a way to reference a closed file?

"Duke Carey" wrote:

You need the INDIRECT() function. Bear in mind it doesn't work when the
workbook you're referencing is closed. If the referenced workbook is open it
will work just fine.

=INDIRECT("'[2006 Capacity PMHS Bourbonnais.xls]Capacity Synopsis'!"&F$2&$A9)



"lynnc" wrote:

I am looking for syntex that will build a formula.

I want to replace this reference
='[2006 Capacity PMHS Bourbonnais.xls]Capacity Synopsis'!L19

with a formula that will build the reference using data from another part of
the worksheet. It would be something like this CONCATENATE("='[2006 Capacity
PMHS Bourbonnais.xls]Capacity Synopsis'!",F$2,$A9). where F$2 = L and $A9 =
19. Only this doesn't work.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default Build Formula

Is there a way to reference a closed file?

No, INDIRECT requires that the file be open.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"lynnc" wrote in message
...
Is there a way to reference a closed file?

"Duke Carey" wrote:

You need the INDIRECT() function. Bear in mind it doesn't
work when the
workbook you're referencing is closed. If the referenced
workbook is open it
will work just fine.

=INDIRECT("'[2006 Capacity PMHS Bourbonnais.xls]Capacity
Synopsis'!"&F$2&$A9)



"lynnc" wrote:

I am looking for syntex that will build a formula.

I want to replace this reference
='[2006 Capacity PMHS Bourbonnais.xls]Capacity Synopsis'!L19

with a formula that will build the reference using data from
another part of
the worksheet. It would be something like this
CONCATENATE("='[2006 Capacity
PMHS Bourbonnais.xls]Capacity Synopsis'!",F$2,$A9). where
F$2 = L and $A9 =
19. Only this doesn't work.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove
 
Posts: n/a
Default Build Formula

Chip Pearson wrote...
Is there a way to reference a closed file?


No, INDIRECT requires that the file be open.

....

But there are add-ins that *do* support this functionality. The best
choice would be Laurent Longre's MOREFUNC.XLL add-in, freely available
from

http://xcell05.free.fr/english/

Once installed, it provides an add-in function named INDIRECT.EXT which
works just like INDIRECT but supports references into closed workbooks.
And there are other ways to do it using SQL.REQUEST, user-defined
functions written in VBA, and constructing text formulas that look like
external references, then converting them to their values and repacing
= with = to enter then effectively as a batch.



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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
adding row to forumla carrera Excel Discussion (Misc queries) 9 August 23rd 05 10:24 PM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
How would I build an "if" formula... CMS1W8 Excel Worksheet Functions 1 January 28th 05 03:21 PM


All times are GMT +1. The time now is 11:57 PM.

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"