Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Reference to a linked file

Hi. I have two files to which I would like to link cells to. Each week, the
file names will change based on the week number.

The name of one file is the current week (for example Week 3.xls).

The name of the other file is always one less than the first (for example
Week 2.xls).

Is there a way to do math within the cell reference?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Reference to a linked file

Maybe...

You could use some functions to find the number (like: =search(), =mid(),
=left(),...).

But the bad news is that you're going to have to use =indirect() to surround
your formula that evaluates to the workbook name/worksheet name/range address.
And =indirect() will only work if the sending workbook is open.

But the good news is that Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/

That includes =indirect.ext() that allows you to return values from closed
workbooks.

===
If none of this helped and you want to try, you'll want to post the real
workbook names so that the formulas can get built correctly.

Mike D. wrote:

Hi. I have two files to which I would like to link cells to. Each week, the
file names will change based on the week number.

The name of one file is the current week (for example Week 3.xls).

The name of the other file is always one less than the first (for example
Week 2.xls).

Is there a way to do math within the cell reference?


--

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
Displaying linked data in excel 2007 when linked file is not avail Eng_19 Excel Discussion (Misc queries) 0 December 7th 07 07:27 PM
Linked value to cell in different workbook + Relative File Reference [email protected] Excel Discussion (Misc queries) 0 February 8th 07 04:57 PM
Linked File Calcuation req. source file to be open smcd Excel Discussion (Misc queries) 1 April 19th 06 03:09 AM
In a linked calculation how do I lose the '0' in the linked file? Anita Excel Worksheet Functions 2 February 3rd 06 01:54 PM
Dynamically-linked formula, cell reference in the string 0-0 Wai Wai ^-^ Excel Worksheet Functions 4 December 12th 05 01:36 AM


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