LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Dynamic referencing to files

Hello users.

I'm trying to figure out a way to dynamically reference file names that have
different months. I am trying to do the following:

There is a master file and many slave files (organized into months).
Master.xls wants to vlookup data corresponding to date from corresponding
month file.

Example:
A B
1/1/2009 -- Vlookup from "Jan 09.xls" column one to find 1/1/2009 and
return Column B

Inside Master.xls file, I extracted each file extension ("Jan 09", "Dec 10",
etc) in column Z to reference.

So then I used this formular to start the dynamic referencing:

=vlookup($A1,INDIRECT("'[C:\...\"&$Z1&".xls]Sheet1'!A:B"),2,0)

This results in a #REF but it seems the
INDIRECT("'[C:\...\"&$Z1&".xls]Sheet1'!A:B") segment of the formular should
work fine. I'm not sure. Am I missing something? Could someone help me out
here?

Many thanks in advance.
 
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
Referencing External files with slightly different names PeteJ Excel Worksheet Functions 4 November 13th 09 02:04 AM
Dynamic file referencing? [email protected] Excel Worksheet Functions 1 October 9th 06 09:08 PM
Creating a Dynamic .XLS file from two other .XLS files Matt_PQ Excel Discussion (Misc queries) 1 October 9th 06 10:40 AM
Referencing Other Files - Formula Pattern? shakey1181 Excel Discussion (Misc queries) 4 May 12th 06 04:22 PM
Can I post dynamic line charts by swapping out .cvs files??? red_1953 Charts and Charting in Excel 4 February 6th 05 03:33 PM


All times are GMT +1. The time now is 02:11 AM.

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"