+ Reply to Thread
Results 1 to 2 of 2

Text to Column issue

  1. #1
    Registered User
    Join Date
    01-09-2015
    Location
    DUBLIN
    MS-Off Ver
    Excel Windows 2019
    Posts
    32

    Text to Column issue

    Hi All,

    I have a text to column problem.

    text;text;text;12345;12345

    I am using the text to column function to separate them but I dont want to separate the numbers I want them to remain in the one cell.

    Can you tell me if there is a way of doing this in the text to column function.

    thank you.

    Jason

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Text to Column issue

    Not directly. You can, however, use a formula such as this:

    =SUBSTITUTE(A2,";","|",LEN(A2)-LEN(SUBSTITUTE(A2,";","")))

    Then copy and paste the formula as Values.

    Now you can do the Text to Columns while keeping the two numbers together.

+ 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. VBA: Look for partial text in Column A from Column B and paste text offset Column A
    By coryspeth in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-07-2018, 05:53 AM
  2. Text to Column Issue
    By Parth007 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-10-2015, 04:02 AM
  3. Replies: 3
    Last Post: 08-28-2012, 10:09 AM
  4. Text to Column issue
    By Ozwilly in forum Excel General
    Replies: 2
    Last Post: 04-01-2012, 10:20 PM
  5. Text to column issue
    By punter in forum Excel General
    Replies: 2
    Last Post: 12-06-2007, 12:52 PM
  6. Autofit Column Headers with wrapped text (Not a merged cell issue)
    By Mark in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-12-2005, 08: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