Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default creating a variable for file names

I am trying to create a file called x.xls where in x=cell A1
for example if in cell A1 the value is help
then the file name is help.xls
why?
I have a working vlookup formula =VLOOKUP(x.xls!NUM,x.xls!table,2)
this retreives values from a table in document x.xls
I want to put different values for "x" in cell A1
in order to always feed a form that I made from different copies of the
original x file x1,x2,x3 ets
it a toughy :(
thanks for reading
thanks
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default creating a variable for file names

thanks papou this works great you're the best!

"papou" wrote:

Hello
Use INDIRECT in your formula :
=VLOOKUP(INDIRECT(A1 & "!NUM"),INDIRECT(A1 & "!table"),2)

HTH
Cordially
Pascal

"BEAST" a écrit dans le message de news:
...
I am trying to create a file called x.xls where in x=cell A1
for example if in cell A1 the value is help
then the file name is help.xls
why?
I have a working vlookup formula =VLOOKUP(x.xls!NUM,x.xls!table,2)
this retreives values from a table in document x.xls
I want to put different values for "x" in cell A1
in order to always feed a form that I made from different copies of the
original x file x1,x2,x3 ets
it a toughy :(
thanks for reading
thanks




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
Variable names for named range Barb Reinhardt Excel Discussion (Misc queries) 4 March 19th 07 05:37 PM
variable file names Brettjg Excel Discussion (Misc queries) 2 March 2nd 07 10:56 AM
creating a variable Abe New Users to Excel 1 April 15th 06 06:41 AM
Variable Names in Formulas Paulo Excel Discussion (Misc queries) 2 March 29th 06 01:16 PM
Automatically creating file names TLerman Excel Discussion (Misc queries) 0 September 3rd 05 02:56 PM


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