+ Reply to Thread
Results 1 to 3 of 3

Parsing list of state names and abbreviations

Hybrid View

  1. #1
    Registered User
    Join Date
    01-28-2013
    Location
    Newark, DE
    MS-Off Ver
    Excel 2010
    Posts
    23

    Exclamation Parsing list of state names and abbreviations

    What am I doing wrong in setting up this formula?

    Vlookup Question.jpg

    I'm doing a State lookup from a colum that contains state names spelled out and 2 digit abbreviations. If the state is spelled out I want to find the abbreviation in the table. If it's already the abbreviation I just want to copy it to the next column to the right.

    IF(A1>2,"=Vlookup(A1,C1:C50,D1)",B1=A1)

    Thanks for your guidance!
    Steve

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Parsing list of state names and abbreviations

    In B1 cell

    Formula: copy to clipboard
    =IF(LEN(TRIM(A1))>2,IFERROR(VLOOKUP(A1,C1:D50,2,0),"No Match Found"),A1)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-28-2013
    Location
    Newark, DE
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Parsing list of state names and abbreviations

    Thanks so much!

+ 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