+ Reply to Thread
Results 1 to 3 of 3

Splitting Columns

  1. #1
    Registered User
    Join Date
    04-26-2007
    Posts
    1

    Splitting Columns

    I have a text column that i need to split into several columns, i need to know how to go about doing this in excel. I have tried using MS query with the following code:

    UPDATE `'export #3596765$'` SET name = Trim(Mid$([msgtext],InStrRev([msgtext]," ")))
    WHERE InStrRev([msgtext]," ")>0;

    when i run this is get the error 'Undefined function InStrRev in expression'

    the data i need to split is;

    msgtext
    Second Driver Start Mark Job1

    to

    msgtext Name Job
    Second Driver Start Mark Job1

    Thanks in advance

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    Hi,

    use the text to columns option in the data menu, and select space as the delimiter.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    Try running text to columns

    data=>text to columns

+ Reply to Thread

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