Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default vlookup?? trying to get Excel to tell me a value

I have a list of zipcodes, and I want to be able to place this list on one
sheet and in another type in a certain zip, lets say 77059 and in the cell
next to that Excel tells me "Houston". I have done it before (long time ago)
and can't remember how I did it. I thought it was a VLOOKUP funtion.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default vlookup?? trying to get Excel to tell me a value

Hi, Jason. Perhaps this will jog your memory:
http://www.officearticles.com/excel/...soft_excel.htm

*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Jason Spence" wrote in message
...
I have a list of zipcodes, and I want to be able to place this list on one
sheet and in another type in a certain zip, lets say 77059 and in the cell
next to that Excel tells me "Houston". I have done it before (long time

ago)
and can't remember how I did it. I thought it was a VLOOKUP funtion.

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default vlookup?? trying to get Excel to tell me a value

Helped a little, now I am getting a "#REF!" message in my return field.

Here is what I have, 1st worksheet named "Markets", in column A I have a
list of SCF codes (ex. 336) in column B I have the cooresponding names of the
SCF (ex Tampa) in Column C I have the state (ex. FL)

In worksheet 2 I have the same headers (Zip, Market, ST)
In A2 (where I would type in "336" or whatever)
In B2 (the formula, which should give me my return)
formula as follows: =VLOOKUP(A3,Markets!$A$1:$A$938,2,TRUE)

Can anyone please tell me why I am getting the weird return in B2 (#REF!)



"Anne Troy" wrote:

Hi, Jason. Perhaps this will jog your memory:
http://www.officearticles.com/excel/...soft_excel.htm

*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Jason Spence" wrote in message
...
I have a list of zipcodes, and I want to be able to place this list on one
sheet and in another type in a certain zip, lets say 77059 and in the cell
next to that Excel tells me "Houston". I have done it before (long time

ago)
and can't remember how I did it. I thought it was a VLOOKUP funtion.

Thanks!




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default vlookup?? trying to get Excel to tell me a value

This formula:

=VLOOKUP(A3,Markets!$A$1:$A$938,2,TRUE)

Says to bring back column 2 of the range A1:A938, but there isn't a column 2!

So

=VLOOKUP(A3,Markets!$A$1:$B$938,2,TRUE)

and if you want A3 to find an exact match, maybe:

=VLOOKUP(A3,Markets!$A$1:$B$938,2,False)



Jason Spence wrote:

Helped a little, now I am getting a "#REF!" message in my return field.

Here is what I have, 1st worksheet named "Markets", in column A I have a
list of SCF codes (ex. 336) in column B I have the cooresponding names of the
SCF (ex Tampa) in Column C I have the state (ex. FL)

In worksheet 2 I have the same headers (Zip, Market, ST)
In A2 (where I would type in "336" or whatever)
In B2 (the formula, which should give me my return)
formula as follows: =VLOOKUP(A3,Markets!$A$1:$A$938,2,TRUE)

Can anyone please tell me why I am getting the weird return in B2 (#REF!)

"Anne Troy" wrote:

Hi, Jason. Perhaps this will jog your memory:
http://www.officearticles.com/excel/...soft_excel.htm

*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Jason Spence" wrote in message
...
I have a list of zipcodes, and I want to be able to place this list on one
sheet and in another type in a certain zip, lets say 77059 and in the cell
next to that Excel tells me "Houston". I have done it before (long time

ago)
and can't remember how I did it. I thought it was a VLOOKUP funtion.

Thanks!





--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default vlookup?? trying to get Excel to tell me a value

Jason,
You're problem is at the "A1:A938". This should include the other
columns, including the column you're looking up. So it should be
something like "A1:C938".

Jason Spence wrote:
Helped a little, now I am getting a "#REF!" message in my return field.

Here is what I have, 1st worksheet named "Markets", in column A I have a
list of SCF codes (ex. 336) in column B I have the cooresponding names of the
SCF (ex Tampa) in Column C I have the state (ex. FL)

In worksheet 2 I have the same headers (Zip, Market, ST)
In A2 (where I would type in "336" or whatever)
In B2 (the formula, which should give me my return)
formula as follows: =VLOOKUP(A3,Markets!$A$1:$A$938,2,TRUE)

Can anyone please tell me why I am getting the weird return in B2 (#REF!)



"Anne Troy" wrote:

Hi, Jason. Perhaps this will jog your memory:
http://www.officearticles.com/excel/...soft_excel.htm

*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Jason Spence" wrote in message
...
I have a list of zipcodes, and I want to be able to place this list on one
sheet and in another type in a certain zip, lets say 77059 and in the cell
next to that Excel tells me "Houston". I have done it before (long time

ago)
and can't remember how I did it. I thought it was a VLOOKUP funtion.

Thanks!





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
Excel Vlookup HELP [email protected] Excel Discussion (Misc queries) 3 September 4th 08 12:30 AM
VLOOKUP Conversion from Excel 2003 to Excel 2007 Michael D. Ober Excel Worksheet Functions 2 November 22nd 07 02:37 PM
Excel VLookup Cinny Excel Worksheet Functions 1 June 20th 07 07:56 AM
VLookUp in Excel [email protected] Excel Discussion (Misc queries) 3 May 5th 07 03:35 PM
VBA excel + Forms : Vlookup on database by form / VBA excel +formulaire : rechercheV sur base de données viaformulaire Dick Kusleika[_2_] Excel Programming 0 October 16th 04 02:30 AM


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