+ Reply to Thread
Results 1 to 6 of 6

Sorting Area Codes into time zones

  1. #1
    Registered User
    Join Date
    06-27-2013
    Location
    Vegas, NV
    MS-Off Ver
    Excel 2010
    Posts
    4

    Sorting Area Codes into time zones

    I am trying to sort area codes into time zones please help!

    I have 10 digit #'s (11 counting the 1+2135551212) in column A. I need to sort using the area codes that are already on sheet2 and sorted into their respective time zones. Can I do this with VLOOOKUP?

    Thanks

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Sorting Area Codes into time zones

    Suggest you post a copy of your workbook so that we can see the layout and provide a specific response.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-27-2013
    Location
    Vegas, NV
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Sorting Area Codes into time zones

    Please see the attached file ...
    Attached Files Attached Files

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Sorting Area Codes into time zones

    Look at the attached. I rearranged your sheet2 to allow for a vlookup. The formula to do the lookup is

    =VLOOKUP(MID(D1,3,3),Sheet2!$G$1:$H$314,2,FALSE)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-27-2013
    Location
    Vegas, NV
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Sorting Area Codes into time zones

    Alan,

    Thank you for the response, can you tell me what you did to the format. I am not getting any results. After loading data into sheet 1? Are you just adding the formula in the F column? The result is "Eastern" only. Can you help me understand?
    Last edited by 3dw4rd3; 07-01-2013 at 04:19 PM.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Sorting Area Codes into time zones

    Changed the format of the Sheet2 to two columns. first column has area code without comma and second column has time zone. On sheet1, I created the formula shown in thread above and copied down. No other changes made to sheet1. Be sure your formula has the correct references to sheet2.

    Suggest you reload your modified spreadsheet for analysis of the issues.

+ 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