+ Reply to Thread
Results 1 to 4 of 4

Splitting Multiple Text and Numbers in excel

Hybrid View

  1. #1
    Registered User
    Join Date
    01-04-2016
    Location
    uk
    MS-Off Ver
    10
    Posts
    49

    Splitting Multiple Text and Numbers in excel

    Hi

    I was wondering if anyone could help me split the text in the attached excel file.

    It has multiple numbers and text that need splitting up.

    Ideally Id like to use a formula rather than functions or VBA.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Splitting Multiple Text and Numbers in excel

    Enter formula in E2 and copy across and down
    Formula: copy to clipboard
    =TRIM(MID(SUBSTITUTE(" "&REPLACE($C2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},$C2&1/17)),," ")," ",REPT(" ",99)),99*COLUMNS($C:C),99))

    v C D E F G H
    1 Data
    2 Kemp8f std C4 Kemp 8f std C4
    3 Nkt9f Gd/Fm C2 Nkt 9f Gd/Fm C2
    4 Pont8f Gd/Fm C4 Pont 8f Gd/Fm C4
    5 Bri7f Gd/Sft C4 Bri 7f Gd/Sft C4
    6 Gwd9f Gd/Fm C3 Gwd 9f Gd/Fm C3
    7 Rip9f Gd C4 Rip 9f Gd C4
    8 Crl9f Gd/Sft C5 Crl 9f Gd/Sft C5
    9 Crl9f Gd/Sft C5 Crl 9f Gd/Sft C5
    10 Yar11f Gd/Fm C4 Yar 11f Gd/Fm C4
    11 Don12f Gd/Fm C4 Don 12f Gd/Fm C4
    12 Crl7f Gd/Fm C5 Crl 7f Gd/Fm C5
    13 Bev9f Gd C4 Bev 9f Gd C4
    14 Muss8f Gd/Fm C4 Muss 8f Gd/Fm C4
    15 Kemp8f std C4 Kemp 8f std C4
    16 Chfd10f std C4 Chfd 10f std C4
    17 Wnds10f Gd/Sft C4 Wnds 10f Gd/Sft C4
    18 Red10f Gd C4 Red 10f Gd C4
    19 Rip12f Gd C4 Rip 12f Gd C4
    20 York10f Gd C4 York 10f Gd C4
    21 Sand10f Gd/Sft C4 Sand 10f Gd/Sft C4
    22 Don7f Gd/Fm C5 Don 7f Gd/Fm C5
    23 Hayd7f Gd/Sft C5 Hayd 7f Gd/Sft C5
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    01-04-2016
    Location
    uk
    MS-Off Ver
    10
    Posts
    49

    Re: Splitting Multiple Text and Numbers in excel

    Quote Originally Posted by AlKey View Post
    Enter formula in E2 and copy across and down
    Formula: copy to clipboard
    =TRIM(MID(SUBSTITUTE(" "&REPLACE($C2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},$C2&1/17)),," ")," ",REPT(" ",99)),99*COLUMNS($C:C),99))

    v C D E F G H
    1 Data
    2 Kemp8f std C4 Kemp 8f std C4
    3 Nkt9f Gd/Fm C2 Nkt 9f Gd/Fm C2
    4 Pont8f Gd/Fm C4 Pont 8f Gd/Fm C4
    5 Bri7f Gd/Sft C4 Bri 7f Gd/Sft C4
    6 Gwd9f Gd/Fm C3 Gwd 9f Gd/Fm C3
    7 Rip9f Gd C4 Rip 9f Gd C4
    8 Crl9f Gd/Sft C5 Crl 9f Gd/Sft C5
    9 Crl9f Gd/Sft C5 Crl 9f Gd/Sft C5
    10 Yar11f Gd/Fm C4 Yar 11f Gd/Fm C4
    11 Don12f Gd/Fm C4 Don 12f Gd/Fm C4
    12 Crl7f Gd/Fm C5 Crl 7f Gd/Fm C5
    13 Bev9f Gd C4 Bev 9f Gd C4
    14 Muss8f Gd/Fm C4 Muss 8f Gd/Fm C4
    15 Kemp8f std C4 Kemp 8f std C4
    16 Chfd10f std C4 Chfd 10f std C4
    17 Wnds10f Gd/Sft C4 Wnds 10f Gd/Sft C4
    18 Red10f Gd C4 Red 10f Gd C4
    19 Rip12f Gd C4 Rip 12f Gd C4
    20 York10f Gd C4 York 10f Gd C4
    21 Sand10f Gd/Sft C4 Sand 10f Gd/Sft C4
    22 Don7f Gd/Fm C5 Don 7f Gd/Fm C5
    23 Hayd7f Gd/Sft C5 Hayd 7f Gd/Sft C5
    Thank you so much I've added reputation.

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Splitting Multiple Text and Numbers in excel

    Will the split always be determined as follows:

    Split at first numeric value
    Then
    Split at first space
    Then
    Split at 2nd space

    To always give 4 segments

+ 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. Joining Multiple excel sheet (Appending data), splitting text, Macro requied
    By chilli16 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 07-30-2018, 11:22 AM
  2. [SOLVED] Splitting Text and Numbers from the one cell
    By coach.32 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-28-2015, 04:06 PM
  3. [SOLVED] Splitting Inconsistent Text and Numbers With No Delimiters
    By clhockey5779 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 09-03-2014, 05:52 PM
  4. [SOLVED] Splitting numbers and text to their respective columns
    By JEAN1972 in forum Excel General
    Replies: 7
    Last Post: 07-31-2014, 06:48 AM
  5. Replies: 19
    Last Post: 07-20-2014, 04:55 PM
  6. Replies: 2
    Last Post: 06-23-2011, 04:24 AM
  7. Splitting a Text File and importing into multiple excel files
    By DhavokD in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2009, 02:44 PM

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