+ Reply to Thread
Results 1 to 5 of 5

Breaking a number/text cell into parts

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    earth
    MS-Off Ver
    Excel 2003
    Posts
    1

    Breaking a number/text cell into parts

    Hello all,

    I'm trying to break down a string of alphanumeric characters into something I can use.

    For example:
    ----column a---------------column b
    1---9391000ndw-------------wight
    2---963103sstaffor-----------stafford
    3---5696535ssnance---------nance

    The breakdown I need for the example above would be
    --column a------column b-----column c-------column d----------column e
    1---939-----------1000---------nd------------w-----------------wight
    2---963------------103----------s-------------staffor------------stafford
    3---569------------653---------ss-------------nance-------------nance

    Column A will always be three numbers, but the rest can be any amount of numbers or letters, and there are no spaces.

    Column D is the first part of the surname (column e), so I really don't need it.

    I'm wondering if there is a way to search Column A from the right and delete anything that corresponds to Column B (ie, remove the "w" in row 1, the "staffor" in row 2, and the "nance" in row 3)

    I've found some ideas for breaking out Column A, since it's always three numbers, but the rest has me stymied.

    Any help is appreciated.

    Sorry for the formatting, it looked good until it posted.
    Last edited by jjdtaylor; 02-06-2013 at 05:19 PM.

  2. #2
    Registered User
    Join Date
    02-10-2013
    Location
    PR
    MS-Off Ver
    Excel 2003
    Posts
    93

    Re: Breaking a number/text cell into parts

    I don't know if you have tried this, but maybe if you went to "Data" then "Text to Columns" it might separate the columns the way you want to and then you just delete the ones you don't want... I'm not sure if it helps, if not, user Rick Rothstein helped me with something similar!

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Breaking a number/text cell into parts

    You are saying the first is ALWAYS three numbers, so =LEFT(A1,3) gives you the first column, is the second column always a number as well? or can letters be involved there too?
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Breaking a number/text cell into parts

    what I see as the real problem here is the last 2 data items:
    2---963103sstaffor-----------stafford
    3---5696535ssnance---------nance

    separating a needed single 's' or a needed double 's'...that could be a major problem..

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Breaking a number/text cell into parts

    especially as your 3rd column is inconsistent with the data...sometimes it's a whole name, sometimes its a single letter...will be very hard to create a single solution that solves for all this...

+ 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