Results 1 to 7 of 7

Dividing a letters and numbers string

Threaded View

  1. #1
    Registered User
    Join Date
    01-25-2009
    Location
    Poland
    MS-Off Ver
    Excel 2000
    Posts
    4

    Dividing a letters and numbers string

    Hello,

    Recently I've stumbled upon a small problem, which I just cannot overcome.

    A given string of some letters (from three to five, six) is followed by a single number (1-4). Then it ends, or is followed by another such combination, up to a maximum of, let's say, four.

    Example:
    xxxx1
    yyy3yyyy1
    xyzxx1yxz4xzx1
    xxx2xxx2xxx2xxx2

    What I would like to do is to divide a given chain of characters into the smallest chains which contain only letters and one number. To the examples given above, I'd like to receive the following sets:
    xxxx1
    yyy3 and yyyy1
    xyzxx1 and yxz4 and xzx1
    ... and so on

    Is it somehow possible to do it with simple functions? Or is VB necessary (which sadly I don't know)?

    Thanks,
    Konkursor
    Last edited by konkursor; 01-25-2009 at 05:36 PM.

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