+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Lookup:all area codes

  1. #1
    Registered User
    Join Date
    12-16-2009
    Location
    Missouri
    MS-Off Ver
    Excel 2007
    Posts
    2

    Lookup:all area codes

    I am wondering if it is possible to achieve the following. I currently have all area codes with states and time zones in an excel spreadsheet. my goal is to create a type of locked look up form where i can enter an area code and have it return the state and time zone. I want to lock it down to where the only viewable cells would be the Query cell as well as the result cells. Any ideas or tips? I have not used excel very much and have looked online for help to no avail. any and all help would be appreciated!

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Lookup from excel

    Hi hdlqepm,

    welcome to the forum.

    You're probably after a VLOOKUP formula. If your list of zip codes is in Sheet2, starting with a row of headers, area code in column A, state in column B and time zone in column C, then you could

    - enter the area code in Sheet1 cell A1
    - in B1 on sheet1 put this formula to return the state

    =vlookup(a1,Sheet2!$a$2:$c$1000,2,false)

    to look up the time zone, put this formula into C1

    =vlookup(a1,Sheet2!$a$2:$c$1000,3,false)

    Hope that helps

  3. #3
    Registered User
    Join Date
    12-16-2009
    Location
    Missouri
    MS-Off Ver
    Excel 2007
    Posts
    2

    Talking Re: Lookup from excel

    Thank you so much! gonna try it now! will let you know if that works!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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