LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How to VLOOKUP in XCEL across different workbooks each named d

That was vrey helpful. Thank you. Now if I can only figure out how to lookup
the date in the source files, without having to open them..

"Bernard Liengme" wrote:

In Book2.CSV I have
a 1
b 2
c 3
d 4
e 5
f 6

In an Excel file I have
In A1, the text: Book Two
In C1 the text: c ..... this is what I want to look up
In D1 I have the formula:
=VLOOKUP(C1,INDIRECT("'"&A1&".csv'!A1:B6"),2,FALSE )
This does the lookup and returns the value 3

The function INDIRECT requires the CSV file to be open (Edit | Links may
help)

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"kool" wrote in message
...
Two things;
1) what if "Book two" is in .csv format
2) Since "book two" has a different name for each LOOKUP, what I did was
set-up a list in book one that has the unique names, for example; Cell
A2;[book three.csv], Cell A3;[book four.csv], and so on. so now I wanted
to
somehow pull in the cell in book one with the each name as to tell VLOOKUP
the source in my function.

something like this; =VLOOKUP(A1,[Cell A2.csv]Sheet2'!A1:B15,2, FALSE)

"Bernard Liengme" wrote:

=VLOOKUP(A1,'[Book Two.xls]Sheet2'!A1:B15,2,FALSE)

If in doubt: enter the formula on the same sheet and the table;
now CUT and Paste it to the other book
You will get something like
=VLOOKUP('[Book Two.xls]Sheet2'!A1,'[Book
Two.xls]Sheet2'!A1:B15,2,FALSE)
Edit this to remove reference to the second workbook for the first
argument
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"kool" wrote in message
...
I am trying to set-up a VLOOKUP in one workbook to find data in other
workbooks, each with a different filename. The location of the files is
the
same. I don't know how to incorporate the different source filename in
my
LOOKUP Function.

Thx







 
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 Use A Dynamic Named Ranges With VLOOKUP On Different Workbooks Minitman Excel Worksheet Functions 6 August 28th 07 12:18 AM
named arrays in other workbooks Newbie Excel Discussion (Misc queries) 0 April 25th 06 04:52 PM
Can excel recognize a word and auto format a formula, on diffe she brooke Excel Worksheet Functions 0 October 20th 05 08:11 PM
How do you point to a named range in linked workbooks? KG Excel Discussion (Misc queries) 5 February 18th 05 09:55 PM
How can i create pivot table from different worksheets with diffe. SANKUL Excel Worksheet Functions 2 January 25th 05 01:13 PM


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