LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Filename in formula

You could do this using the INDIRECT function. However, this requires that
the source file *MUST* be open. This is usually not desireable. One
possibility is to install an add-in that has a function that will (probably)
do what you want.

The add-in available he

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


Look for Morefunc.xll


This has a function called INDIRECT.EXT that will (probably) do what you
want. See the
add-in help on its use.


--
Biff
Microsoft Excel MVP


"Kim" wrote in message
...
I am trying to setup a template that summarizes data from other tabs within
the same spreadsheet. I have a proprietary application that spits out an
excel worksheet that has predefined tab names (eg. males, females). I
want
to insert a summary worksheet that has calculations based on the various
tabs.

When I first tried to do this I set up a template, then copied the
template
sheet into my datasheet. Problem is the filename reference appeared in
the
formulas, referring to the template sheet, not the data sheet I was
working
with.

Next I setup a formula to calculate the filename (this worked great)
loacted
in cell A2. My intention was to include the file name in the formulas
using
A2, but this didnt' work. Here is what I was trying to do:

='['&A2&']Males'!A2
where A2 contained the file name DataFileDec2007.XLS

Any ideas how I can do this?



 
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 find filename Kevin Excel Discussion (Misc queries) 2 August 5th 07 11:48 PM
Formula to find filename Kevin Excel Discussion (Misc queries) 3 August 2nd 07 10:12 PM
Using Range().Formula with a Filename & Path BJTex Excel Discussion (Misc queries) 1 November 11th 06 02:49 AM
set filename to <filename-date on open bob engler Excel Worksheet Functions 2 July 13th 06 05:11 AM
Referencing a filename in a formula ERR229 Excel Discussion (Misc queries) 2 May 12th 06 07:43 AM


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