Results 1 to 6 of 6

Thread: Using VLOOKUP to convert US State Abbreviations ...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi Greg,

    Welcome to ExcelFox !!

    Convert the list into a table. In Excel select the range > click on Insert menu > Table > OK.

    Now you can use this table across the workbook.

    The formula would be:

    =VLOOKUP(A2,Table1,2,0)
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  2. #2
    Junior Member
    Join Date
    Sep 2012
    Posts
    3
    Rep Power
    0
    Hi,

    Thanks, this reply is very helpful however I need to re-state my request. I wish to create a custom function (i.e. Abbrev2StName) which can be accessed from any Excel worksheet. The Abbrev2StName function would call a cell location containing the state abbreviation and the result is the State name in a different cell location. For example:

    The content of cell A2 contains CA
    The content of cell B2 contains =Abbrev2StName(A2)
    The result in cell B2 contains = California

    Thanks in advance for your reply.

    Kind regards,
    Greg

Similar Threads

  1. VBA Macro To Convert Text To Proper Case
    By Howardc in forum Excel Help
    Replies: 4
    Last Post: 05-31-2013, 12:38 AM
  2. Replies: 0
    Last Post: 08-23-2012, 10:32 PM
  3. Replies: 0
    Last Post: 08-23-2012, 08:00 AM
  4. Help with a Vlookup and SUMIF
    By Lucero in forum Excel Help
    Replies: 4
    Last Post: 07-24-2012, 05:03 AM
  5. Convert Series into Range.
    By ayazgreat in forum Excel Help
    Replies: 13
    Last Post: 03-26-2012, 08:49 PM

Tags for this Thread

Posting Permissions

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