+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Extract last characters from varying sized cells

  1. #1
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    317

    Extract last characters from varying sized cells

    Hi
    This should not be difficult. I have a list of cities State letters and zip in the US.
    I want to extract from the right a specific number of characters. so that I have the zip code.

    I have

    South Bend, IN 46628
    Evansville, IN 47712
    Washington, IN 47501
    Mishawaka, IN 46545

    I want

    46628
    47712
    47501
    46545

    And then

    IN
    IN
    IN
    IN

    Obviously if I can get the first then the second will be a repeat.

    Thanks
    Mark

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Extract last characters from varying sized cells

    Here try this:
    Attached Files Attached Files

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Extract last characters from varying sized cells

    Another way, assumes that "IN" is a std 2 character USA state abreviation

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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