Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Zip Code/Service Area help

In one spreadsheet, I have a list of zip codes in Column A. In a second
worksheet I have a list of zip codes in Column A and a Service Area name in
Column B.

In my first spreadsheet I want to fill in the service area name from the
second spreadsheet that corresponds to the zip code.

is there some function that will allow me to do that in excel?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Zip Code/Service Area help

The VLOOKUP() function is what you want to use in column B on the first
worksheet.
Lets say that on the SECOND sheet your list of zip codes (and service areas)
goes from row 2 down to row 141. I will assume that the first zip code on
the first sheet is also in row 2. In B2 on the first sheet enter this
formula:

=VLOOKUP(A2,'Sheet2'!$A$2:$B$141,2,0)

You'll need to change 'Sheet2' to use the actual name of that second sheet.
From this point, you can fill that formula on down the column on the first
sheet and it will do the job for you.

CAVEAT: If a zip code is listed more than one time on the second sheet, the
formula will always return the service area associated with the first
occurance of that zip code on the second sheet.

Hope this helps some.


"BStacy" wrote:

In one spreadsheet, I have a list of zip codes in Column A. In a second
worksheet I have a list of zip codes in Column A and a Service Area name in
Column B.

In my first spreadsheet I want to fill in the service area name from the
second spreadsheet that corresponds to the zip code.

is there some function that will allow me to do that in excel?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Zip Code/Service Area help

Yes.

See VLOOKUP in Excel Help
--
Gary''s Student - gsnu200842


"BStacy" wrote:

In one spreadsheet, I have a list of zip codes in Column A. In a second
worksheet I have a list of zip codes in Column A and a Service Area name in
Column B.

In my first spreadsheet I want to fill in the service area name from the
second spreadsheet that corresponds to the zip code.

is there some function that will allow me to do that in excel?

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
Adding area codes only to phone numbers missing an area code RC Excel Discussion (Misc queries) 5 May 3rd 23 05:06 PM
Phone with/without area code format barnabas Excel Worksheet Functions 2 September 4th 07 06:15 PM
Can you call a Web Service from Excel 2007 without writing code? BigBadBubba Excel Discussion (Misc queries) 0 March 14th 07 03:32 AM
adding a phone area code that is not there Kelly Excel Discussion (Misc queries) 4 December 13th 06 12:15 AM
Integration/area under a curve VBA code? WAYNEL Excel Discussion (Misc queries) 0 January 1st 06 10:02 PM


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