Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Searching...

Status
Not open for further replies.

dodgyone

Technical User
Jan 26, 2001
431
GB
I have a main Excel file which lists codes and addresses. I would like to be able to link into that spreadsheet from another Excel spreadheet, search down the lista and then enter the correct address depending upon whether the code was found.

I have the code to do this in the same Excel file but on a different worksheet but not using an external Excel file.

Any help or suggestions would be appreciated
 
Hi,
Here's what you can do...
In your Address column type = then menu item Window and select the target workbook and corresponding column -- the formula wind shoud look something like this
Code:
=[MyAddressList.xls]Sheet1!$A:$A
THAT is your lookup target reference. It's that simple! :) Skip,
metzgsk@voughtaircraft.com
 
Skip,

I tried using your example, but perhaps it's been "toooo long a week"... I couldn't get it to work.

The option I used was the following, which DOES work.

=VLOOKUP(A1,Address_List.xls!address_table,2,FALSE)

This formula is in B1, and refers to the "code" the user would enter into A1. The "other" file is called "Address_List", and contains a "database" named "address_table". By using the range name for the table, it means not having to use the Sheet name.

I'd appreciate your feedback on this.

Thanks again,

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca
 
Dale,
I was a long week, and I was getting ready to whisk away my wife for an anniversary weekend. My solution is NOT. Sorry, dodgyone. :-( Skip,
metzgsk@voughtaircraft.com
 
dodgyone,

Curious to know how you made out.

Can you please advise.

Thanks.

...Dale Watson dwatson@bsi.gov.mb.ca

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top