+ Reply to Thread
Results 1 to 3 of 3

Need to move text from a single cell and spread them out amongst multiple columns

  1. #1
    Registered User
    Join Date
    03-23-2010
    Location
    Honolulu, HI
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need to move text from a single cell and spread them out amongst multiple columns

    Hi there, I apologize for this question but I hope there is an easier way to do this rather than deleting everything one by one and manually inputting everything in again.

    So my scenario is that I have in column A, for example:

    4'5" x 9'3"

    And then I have hundreds of rows below this with different measurements like this one.

    But for database reasons I want to move all the individual numbers into a different column. So I want the 4 (without the feet sign) in column A, I want the 5 in column B, I want the 9 in column C, and I want the 3 in column D. Again, without the ' and " signs.

    And of course, this has to go down hundreds of columns. I'm really not sure if this is possible. But if someone can give me an idea of how I can make this process easier on myself, I would be forever grateful. Thanks!!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need to move text from a single cell and spread them out amongst multiple columns

    You can do this in a few steps...

    First select the column and go to Edit|Replace

    Find What: {space}x{space} (actual spaces)
    Replace With: {leave blank}

    Then Repeat with: Find What: '
    Replace with: {space}

    Then Repeat with: Find What: "
    Replace with: {space}

    Then go to DATA|Text to Columns, select Delimited.. Next

    Select Space... click Finish.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    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,444

    Re: Need to move text from a single cell and spread them out amongst multiple columns

    Hi,

    Use this

    =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"'"," "),CHAR(34)," ")," x "," ")

    to remove all the odd characters,

    copy> paste special> values,

    then use

    data > text to columns > delimited > space to separate.
    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".

+ 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