+ Reply to Thread
Results 1 to 5 of 5

Split text and number field with no delimiter

  1. #1
    Registered User
    Join Date
    12-13-2013
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    4

    Split text and number field with no delimiter

    I am looking for a solution to split text from numbers.
    I have found a couple examples on the web but I cannot get the examples to work with the correct syntax to function.

    Sample cells. The string could be any integer or floating point number with text. (The text is always after the number.)

    1234txt
    12.222txv
    102.1hknn

    Result needed
    col1
    1234
    12.222
    102.1

    col2
    txt
    tvx
    hknn

    Thanks in advance.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Split text and number field with no delimiter

    here are 2 ways with formulas
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Split text and number field with no delimiter

    Here's a function:
    Please Login or Register  to view this content.
    Now, to convert your range, select the appropriate range, and run this macro:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Registered User
    Join Date
    12-13-2013
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Split text and number field with no delimiter

    Thanks Guys. Working as intended.

  5. #5
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Split text and number field with no delimiter

    Here's another one just for fun...

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Split Text using numbers as Delimiter.
    By ksalsaadi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-26-2012, 12:42 AM
  2. Replies: 3
    Last Post: 10-27-2010, 03:11 AM
  3. Split field based on number of characters and space
    By william_mailer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-08-2006, 01:22 PM
  4. [SOLVED] Showing Group Delimiter in text field
    By Rob F in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-16-2005, 04:05 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