#1   Report Post  
q5
 
Posts: n/a
Default VLOOKUP problem

I am attempting to read a lookup value from another spreadsheet. I have a
spread sheet, test.xls which contains string data in column A and numeric
data in column B. I reference that spreadsheet in another spreadsheet,
test1.xls. I want to lookup up the numeric values in test.xls which
correspond to the string values contained in test1.xls.

My formula looks like this:

=VLOOKUP($A1,[test.xls]Sheet1!A1:A100,[test.xls]Sheet1!B1:B100)

I get an error: #REF.

What am I doing wrong?

Thanks for any help.


  #2   Report Post  
Matt Lunn
 
Posts: n/a
Default

Hi,

Try this

=VLOOKUP($A1,[test.xls]Sheet1!$A$1:$B$100,2,FALSE)

Notice the change to the second argument - it includes the whole test.xls
table.

The third argument (2) tells Excel from which column to return the matched
value from.

Thae fourrth (FALSE) tells EXCEL to look for an exact match.

Thanks,
Matt

"q5" wrote:

I am attempting to read a lookup value from another spreadsheet. I have a
spread sheet, test.xls which contains string data in column A and numeric
data in column B. I reference that spreadsheet in another spreadsheet,
test1.xls. I want to lookup up the numeric values in test.xls which
correspond to the string values contained in test1.xls.

My formula looks like this:

=VLOOKUP($A1,[test.xls]Sheet1!A1:A100,[test.xls]Sheet1!B1:B100)

I get an error: #REF.

What am I doing wrong?

Thanks for any help.



  #3   Report Post  
q5
 
Posts: n/a
Default

THANK YOU!


"Matt Lunn" wrote in message
...
Hi,

Try this

=VLOOKUP($A1,[test.xls]Sheet1!$A$1:$B$100,2,FALSE)

Notice the change to the second argument - it includes the whole test.xls
table.

The third argument (2) tells Excel from which column to return the matched
value from.

Thae fourrth (FALSE) tells EXCEL to look for an exact match.

Thanks,
Matt

"q5" wrote:

I am attempting to read a lookup value from another spreadsheet. I have

a
spread sheet, test.xls which contains string data in column A and

numeric
data in column B. I reference that spreadsheet in another spreadsheet,
test1.xls. I want to lookup up the numeric values in test.xls which
correspond to the string values contained in test1.xls.

My formula looks like this:

=VLOOKUP($A1,[test.xls]Sheet1!A1:A100,[test.xls]Sheet1!B1:B100)

I get an error: #REF.

What am I doing wrong?

Thanks for any help.





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
vlookup problem idcreek Excel Worksheet Functions 4 May 24th 05 01:07 PM
VLOOKUP problem Wazooli Excel Discussion (Misc queries) 5 March 26th 05 01:52 PM
Problem with VLOOKUP and drop-down lists! Vicki Excel Worksheet Functions 2 March 18th 05 10:52 PM
VLOOKUP problem Jason Excel Worksheet Functions 2 January 14th 05 10:39 PM
Excel Problem: VLookup andyp161 Excel Worksheet Functions 1 November 18th 04 12:29 PM


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