+ Reply to Thread
Results 1 to 2 of 2

Reference a sheet as a key to insert data.

  1. #1
    Registered User
    Join Date
    09-16-2008
    Location
    Michigan
    Posts
    4

    Reference a sheet as a key to insert data.

    I have attached two xls files.

    "Area codes with zip codes" is the key that I need to use. Column A has a list of area codes. Column B has the zip code I would like to use for the corresponding area code. So, for example A1 is 201, and B1 is 07401.

    In the sheet "area codes" is a list of only area codes in column A. I need to take that sheet and reference the first, to say if for example, A28=603 it will look at the sheet with zip codes, find 603 (in "area codes with zip codes", and insert 03601 in B28.

    I would appreciate any assistance, and let me know if I need to clarify anything!

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi and welcome to the board
    Have a look at the VLOOKUP function. That should do the trick
    ( BTW your file "area codes with zip" seems empty)
    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can I speed up this slow macro?
    By rs2k in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2008, 08:34 PM
  2. Replies: 2
    Last Post: 02-14-2008, 05:02 PM
  3. Link data between Report Sheet and Form Sheet
    By JIBG in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2007, 10:30 AM
  4. Macro to reference data from one sheet to another
    By dushuodai in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-09-2007, 09:12 PM
  5. Macro to create new sheets from master data sheet
    By adsigel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2006, 09:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1