+ Reply to Thread
Results 1 to 6 of 6

Take values from a cell, and divide into several cells

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Take values from a cell, and divide into several cells

    I have a cell which contains multiple values such as

    A
    230, 200, 180, 170

    and I need to take each value and put them into separate cells such as


    A B C D
    230 200 180 170

    Is this possible to do, and if so, what would the command/macro be?

    Thank you

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Take values from a cell, and divide into several cells

    Try Text to Columns under the Data tab
    Click on star (*) below if this helps

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Take values from a cell, and divide into several cells

    hi engineerlady, welcome to the forum. you don't have to do it with VBA. select column A & go to Data -> Text to Columns -> Delimited -> Next -> check "Space" & "Comma" -> Finish

    that will separate the data by commas & spaces. if you need VBA, here's a recorded version:

    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Take values from a cell, and divide into several cells

    All you have to do is go to the DATA tab on excell, select TEXT TO COLUMNS and when the popup wizard comes up, select DELIMITED and then check the box marked next to the word COMMA. Then click FINISH. That will do it for you real quick. It works with any type of data, words or numbers or a combination of words and numbers.
    Thanks for your time and help!

    Jane

  5. #5
    Registered User
    Join Date
    01-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Take values from a cell, and divide into several cells

    Wow, thank you so much!!! Very much appreciated!

  6. #6
    Registered User
    Join Date
    08-22-2012
    Location
    Zagreb, Croatia
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: Take values from a cell, and divide into several cells

    Hi engineerlady,

    if you already have all data in one column, you can try with this user defined function:
    Please Login or Register  to view this content.
    You can find example of using it in attachment...

    Regards,
    Attached Files Attached Files
    If a post helps press star sign 4 my reputation

+ 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