#1   Report Post  
Posted to microsoft.public.excel.misc
AJL AJL is offline
external usenet poster
 
Posts: 18
Default Vlookup 2,false

I have used the vlookup function many times to compare 2 different list using
1,false. What I am trying to do now is create an on call form where if I have
a persons name in cell D5 it will fill in their contact info. I understand
that I need to use 2,false to get the info from column B, but I am getting
the #REF! error code
An example would be

In sheet 1 I have
A B C etc
Name phone cell phone etc
jim 1234
ellen 2345

Sheet 2

In cell D5 I have the name jim
I want cell B6 to be the Phone # 1234

The formula I entered in cell B6 is the same that i always used except for
the 2,false
vlookup(D5,SHEET1!A:A,2,FALSE)
This should look in column A for the value in cell D5 and return the value
in column B but I am getting the #ref! error
From what I can figur out this error means that the function is not
reconizing that there is any info in column B

That is what has me stumped

Any help would be greatly appreciated

Jim
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default Vlookup 2,false

Jim,

#Ref means you're making reference to cells that don't exist. Your VLOOKUP is looking in a
1-column range (A:A) and trying to retrieve data from the second column (the third
argument -- 2). Maybe you meant for it to look in A:B

--
Earl Kiosterud
www.smokeylake.com

Note: Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"AJL" wrote in message
...
I have used the vlookup function many times to compare 2 different list using
1,false. What I am trying to do now is create an on call form where if I have
a persons name in cell D5 it will fill in their contact info. I understand
that I need to use 2,false to get the info from column B, but I am getting
the #REF! error code
An example would be

In sheet 1 I have
A B C etc
Name phone cell phone etc
jim 1234
ellen 2345

Sheet 2

In cell D5 I have the name jim
I want cell B6 to be the Phone # 1234

The formula I entered in cell B6 is the same that i always used except for
the 2,false
vlookup(D5,SHEET1!A:A,2,FALSE)
This should look in column A for the value in cell D5 and return the value
in column B but I am getting the #ref! error
From what I can figur out this error means that the function is not
reconizing that there is any info in column B

That is what has me stumped

Any help would be greatly appreciated

Jim



  #3   Report Post  
Posted to microsoft.public.excel.misc
AJL AJL is offline
external usenet poster
 
Posts: 18
Default Vlookup 2,false


Thank you Earl, you were right, your suggestion worked

have a great evening
Jim



"Earl Kiosterud" wrote:

Jim,

#Ref means you're making reference to cells that don't exist. Your VLOOKUP is looking in a
1-column range (A:A) and trying to retrieve data from the second column (the third
argument -- 2). Maybe you meant for it to look in A:B

--
Earl Kiosterud
www.smokeylake.com

Note: Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"AJL" wrote in message
...
I have used the vlookup function many times to compare 2 different list using
1,false. What I am trying to do now is create an on call form where if I have
a persons name in cell D5 it will fill in their contact info. I understand
that I need to use 2,false to get the info from column B, but I am getting
the #REF! error code
An example would be

In sheet 1 I have
A B C etc
Name phone cell phone etc
jim 1234
ellen 2345

Sheet 2

In cell D5 I have the name jim
I want cell B6 to be the Phone # 1234

The formula I entered in cell B6 is the same that i always used except for
the 2,false
vlookup(D5,SHEET1!A:A,2,FALSE)
This should look in column A for the value in cell D5 and return the value
in column B but I am getting the #ref! error
From what I can figur out this error means that the function is not
reconizing that there is any info in column B

That is what has me stumped

Any help would be greatly appreciated

Jim




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
FALSE argument in VLOOKUP Dave F Excel Worksheet Functions 2 August 30th 06 10:27 PM
VLOOKUP - WISH TO SUBSTITUTE FALSE FOR A VALUE David Excel Discussion (Misc queries) 6 July 13th 06 01:43 AM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? bchilt Excel Worksheet Functions 6 January 20th 06 09:21 AM
Can I do this? =VLOOKUP(A4,D1,2,FALSE); Where D1 has "$A$4:$B$18" Saravan Excel Worksheet Functions 3 June 27th 05 04:29 PM


All times are GMT +1. The time now is 04:01 PM.

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"