+ Reply to Thread
Results 1 to 4 of 4

Text to columns

  1. #1
    Registered User
    Join Date
    04-03-2009
    Location
    yorkshire
    MS-Off Ver
    Office 365
    Posts
    87

    Text to columns

    Hi

    I am wanting to separate names to create an e-mail list. so if i use text to columns on Alan Jones the space separator in the wizard leaves the space as the last character of the first name. how can eliminate the space at the end of Alan?

    Example: Cell A1= Alan Jones, text to column then becomes A1 = Alan , Cell B1 = Jones Cell C1 = A1&"@email" the result is:

    Alan @email

    thanks
    Last edited by Pickygame; 07-28-2014 at 10:13 AM. Reason: solved

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Text to columns

    Instead, you can use the following formula in C1

    =LEFT(A1, SEARCH(" ",A1,1)-1)&"@email.com"

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

    Re: Text to columns

    no it doesn't unless you have 2 spaces in between ,checking the treat consecutive delimiters as one would fix that
    or maybe you have a space and some other character that you cant see
    what does after splitting =CODE(RIGHT(A1)) return
    "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

  4. #4
    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: Text to columns

    may this

    =REPLACE(A1,FIND(" ",A1),255,"")&"@email.com"

    A
    B
    1
    Alan Jones [email protected]
    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

+ 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. pull text from 2 columns based on finding text in other columns
    By jimcuk in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-03-2013, 09:21 AM
  2. Replies: 1
    Last Post: 03-09-2013, 02:55 PM
  3. MAcro to - copy, transpose, text to columns, remove column A, combine all columns in 1
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-07-2013, 08:48 AM
  4. Formula to align two columns with nearly similar text and attached numeric columns
    By Benefits Recon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2012, 12:03 AM
  5. [SOLVED] Linking text columns with text and data columns
    By Edd in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-17-2005, 01:06 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