+ Reply to Thread
Results 1 to 3 of 3

how to trim text in a single cell base on special character in string.

  1. #1
    Registered User
    Join Date
    12-02-2013
    Location
    Giza, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    1

    how to trim text in a single cell base on special character in string.

    Hello;

    Good morning, Kindly help me as i have a device that produce its data as following:
    NTFLog_D2013-02-12_T104016.csv
    I need to divide the single column to 7 column as separated by semicolon ";"

    Thanks in advance for your support

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: how to trim text in a single cell base on special character in string.

    Hi,

    Use Text to Columns (Data tab)/Delimited and check the box next to Semicolon.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: how to trim text in a single cell base on special character in string.

    Adding a bit more info to xor lx correct but rather brief description on how to do it I've added a little extra "how-to".

    Go to tab ”Data” click on ”From Text”

    Find folder where you csv file is stored and click on csv file then click “Import”

    This starts “Text Import Wizard”

    Check that “Delimited” is marked, click “Next” and tick box marked “Semicolon”

    Click “Next” then click on column 4 (UID) and select “Text” as format for this column.

    This stops a string like 001010111100000000010112 to be converted to a number using the scientific notion so it will not end up like this 1.01E+21

    Click “Finish” and select a target cell in you excel file. Click ok.

    Done!

    Alf

+ 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. Extract text after the LAST special character in a text string
    By phrankndonna in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2013, 11:16 AM
  2. [SOLVED] extract string after nth string (special character)
    By itselflearn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-24-2013, 03:18 PM
  3. Replies: 3
    Last Post: 04-17-2010, 05:02 AM
  4. Replies: 3
    Last Post: 01-02-2010, 09:07 AM
  5. [SOLVED] Trim special charcters from start of string
    By John Michl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-24-2006, 05:45 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