Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default VLOOKUP Woes

Greetings all. I know the answer is here, but I can not get this to work.
On sheet 1 I have col A "ID" and col B "Name" which are data input columns.
On sheet 2 I have col A "ID" and col B "Name" which is the name of the person
corresponding to the ID on the same row in col A, and is to be used as my
lookup table. The values on sheet 2 are contained in the range A1:B15. What
I want is for the persons name to autopopulate on sheet 1 col B when I input
the ID in col A. I am confused by the syntax of VLOOKUP. Thank you for the
help.

Greg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default VLOOKUP Woes

Try this,

=VLOOKUP(A2,Sheet1!A$1:B$15,2,FALSE)

Mike

"Greg Snidow" wrote:

Greetings all. I know the answer is here, but I can not get this to work.
On sheet 1 I have col A "ID" and col B "Name" which are data input columns.
On sheet 2 I have col A "ID" and col B "Name" which is the name of the person
corresponding to the ID on the same row in col A, and is to be used as my
lookup table. The values on sheet 2 are contained in the range A1:B15. What
I want is for the persons name to autopopulate on sheet 1 col B when I input
the ID in col A. I am confused by the syntax of VLOOKUP. Thank you for the
help.

Greg

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default VLOOKUP Woes

Thanks for the quick reply Mike. I kept fiddling with it after I posted, and
got it to return always 0. The only way I could get it to work is by naming
the lookup range then referencing the name in the formula rather than the
range. Strange, but it works now. Thanks.

"Mike H" wrote:

Try this,

=VLOOKUP(A2,Sheet1!A$1:B$15,2,FALSE)

Mike

"Greg Snidow" wrote:

Greetings all. I know the answer is here, but I can not get this to work.
On sheet 1 I have col A "ID" and col B "Name" which are data input columns.
On sheet 2 I have col A "ID" and col B "Name" which is the name of the person
corresponding to the ID on the same row in col A, and is to be used as my
lookup table. The values on sheet 2 are contained in the range A1:B15. What
I want is for the persons name to autopopulate on sheet 1 col B when I input
the ID in col A. I am confused by the syntax of VLOOKUP. Thank you for the
help.

Greg

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
More RGB Woes Zone Excel Programming 3 August 19th 06 06:40 PM
HELP: Dir() time-out woes :( ..... KevinGPO New Users to Excel 2 January 17th 06 01:38 PM
Userform Woes gachett Excel Programming 2 December 29th 05 03:20 PM
Comma Woes Ruthki Excel Worksheet Functions 5 July 29th 05 12:01 AM
For Each Next woes AZ Analog Excel Programming 4 May 23rd 05 08:53 PM


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