+ Reply to Thread
Results 1 to 4 of 4

Separate unique alpha numeric references and customer codes

  1. #1
    Registered User
    Join Date
    08-04-2020
    Location
    Ipswich
    MS-Off Ver
    2007
    Posts
    2

    Separate unique alpha numeric references and customer codes

    Hi, I receive an exported dump of data which contains an alpha numeric string of characters which I manually have to separate.

    The logic is column B needs to display the code (prefixed with 'A10'). I need this to return the full 9 character code, plus any numbers which immediately follow the semicolon.

    Column C shows the Customer code - this is an alpha numeric code which contains 7 characters.

    Any other parts of the string which is outside of this logic, such as 'ABC' or '256464565465465' needs to be ignored.

    Many thanks for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Separate unique alpha numeric references and customer codes

    Welcome to the excel forum.

    With text to column and | and space as seperator.

    See the attached result in the green cells in the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,401

    Re: Separate unique alpha numeric references and customer codes

    Here is formula solution. Put these formulas in the indicated cells and copy down...

    B2: =SUBSTITUTE(TRIM(SUBSTITUTE(LEFT(A2,FIND(" ",A2)-1),";", " "))," ",";")

    C2: =MID(LEFT(A2,FIND("|",A2)-1),FIND(" ",A2)+1,99)

  4. #4
    Registered User
    Join Date
    08-04-2020
    Location
    Ipswich
    MS-Off Ver
    2007
    Posts
    2

    Re: Separate unique alpha numeric references and customer codes

    This is perfect - thanks very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 03-07-2014, 08:58 PM
  2. [SOLVED] Generate a range of sequential alpha numeric codes based on a from and to value
    By kenny.fsw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-17-2013, 09:53 AM
  3. Separate Alpha and numeric characters
    By sivdin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-09-2013, 02:50 AM
  4. Formula to separate text from alpha numeric codes
    By Greed in forum Excel General
    Replies: 2
    Last Post: 02-17-2012, 03:48 PM
  5. Alpha Numeric Codes
    By Caddock01 in forum Excel General
    Replies: 2
    Last Post: 07-28-2011, 12:37 PM
  6. How can I change my column references from Alpha to Numeric?
    By Danelle Boling, Sales Analyst in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2006, 02:50 PM
  7. Replies: 5
    Last Post: 09-27-2005, 12:05 PM
  8. [SOLVED] Separate numeric and alpha
    By Chuck Davis in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 06-14-2005, 02:05 PM

Tags for this Thread

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