+ Reply to Thread
Results 1 to 5 of 5

insert a hyphen between alpha and numeric in the same cell

  1. #1
    Registered User
    Join Date
    01-21-2012
    Location
    Utah
    MS-Off Ver
    2010
    Posts
    3

    insert a hyphen between alpha and numeric in the same cell

    Hello,
    My vendors send me files with alphanumeric part numbers.
    Is there a way to quickly insert a hyphen between the alpha and the number? Here are some examples:

    The vendors worksheet reads: I would like it to read:
    AR11A AR-11-A
    SBK870T SBK-870-T
    MBPT-123AB MBPT-123-AB

    If anyone could help me with this I would appreciate it.

    Thank You,
    JS Peterson
    Last edited by jspeterson; 02-09-2012 at 09:53 PM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: insert a hyphen between alpha and numeric in the same cell

    jspeterson,

    Is it always in the format of 'group of letters' - 'group of numbers' - group of letters'?
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  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: insert a hyphen between alpha and numeric in the same cell

    Try this in B2, assuming your data is in A2 down
    Please Login or Register  to view this content.
    Drag/Fill Down.
    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.

  4. #4
    Registered User
    Join Date
    01-21-2012
    Location
    Utah
    MS-Off Ver
    2010
    Posts
    3

    Re: insert a hyphen between alpha and numeric in the same cell

    Hello tigeravatar,
    Marcol answered my question. Thank you very much for your reply.
    JSPeterson

  5. #5
    Registered User
    Join Date
    01-21-2012
    Location
    Utah
    MS-Off Ver
    2010
    Posts
    3

    Re: insert a hyphen between alpha and numeric in the same cell

    Hello Marcol,
    That worked perfectly.
    Thank You very much for your help.
    JSPeterson

+ 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