+ Reply to Thread
Results 1 to 4 of 4

Convert state abbreviations in a column into regions in another column

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    SoCal, California
    MS-Off Ver
    Excel 2010
    Posts
    2

    Convert state abbreviations in a column into regions in another column

    Excel 2010

    Thank you in advance, maybe this action is not that difficult for savvy users.

    I have a column containing the regular state abbreviations in a CSV document. I would like to create a formula to convert individual cells containing these abbreviations into grouped geographical regions for sales territories. Crudely thinking, run the formula on Col A and populate the result in Col B.

    COL A COL B
    CA PACIFIC
    OR PACIFIC
    WA PACIFIC
    FL SOUTHEAST
    AL SOUTHEAST
    NY NORTHEAST

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Convert state abbreviations in a column into regions in another column

    You would use VLOOKUP for this. Set up a table somewhere (eg in columns X and Y) which contains all those abbreviations in the first column and the corresponding region in the second column. Then in B1 you could have this formula:

    =VLOOKUP(A1,X:Y,2,0)

    then just copy down to cover the amount of data that you have in column A.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-10-2012
    Location
    SoCal, California
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Convert state abbreviations in a column into regions in another column

    Awesome! I know exactly how to do this as you suggested.
    This is going to save me a bunch of time on this task, and for similar purposes.

    Thank you very much.

    Quote Originally Posted by Pete_UK View Post
    You would use VLOOKUP for this. Set up a table somewhere (eg in columns X and Y) which contains all those abbreviations in the first column and the corresponding region in the second column. Then in B1 you could have this formula:

    =VLOOKUP(A1,X:Y,2,0)

    then just copy down to cover the amount of data that you have in column A.

    Hope this helps.

    Pete

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Convert state abbreviations in a column into regions in another column

    You're welcome, Steve - thanks for feeding back.

    Pete

+ 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