+ Reply to Thread
Results 1 to 14 of 14

Split one cell to two cells

  1. #1
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Split one cell to two cells

    Hi ...
    i want one cell data to two cell splitting With Removal of "x" symbol. and column N should be formed. looking for help.

    Thank you...
    Attached Files Attached Files

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Split one cell to two cells

    Hi raje, welcome to the forum! Paste this in N2 and copy down:
    Please Login or Register  to view this content.
    If you're not sure how far down your values extend, wrap it in an IFERROR function and show blanks if column D is empty.
    Please Login or Register  to view this content.
    Last edited by leelnich; 11-19-2017 at 08:08 AM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Re: Split one cell to two cells

    Hi leelnich, Thank you for inviting.
    i have many rows and i want to go another step of sorting my data. i need split those columns by two columns mandatory. how to make as macro plz?

    Thank you!!
    Last edited by raje; 11-19-2017 at 08:14 AM.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Split one cell to two cells

    Give this a test on a copy of your workbook. Does this do what you desire?

    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  5. #5
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Re: Split one cell to two cells

    helo jeffreybrown ... good..thank you.

    how to minimize those rows to as my sample file. please reduce my rows by sorting.

    Thank you....
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Split one cell to two cells

    Please Login or Register  to view this content.
    Don't need to add and split columns.

  7. #7
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Re: Split one cell to two cells

    hi ... i have tested post#5 sample file. but showing debug error. or #1 sample file also not working.

    Thankyou...

    Best wishes.
    Last edited by raje; 11-19-2017 at 11:32 AM.

  8. #8
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Split one cell to two cells

    Don't know who or what you are referring to but the code in Post #6 works in the attachment in Post #1

  9. #9
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Re: Split one cell to two cells

    Quote Originally Posted by jolivanes View Post
    Don't know who or what you are referring to but the code in Post #6 works in the attachment in Post #1
    Hi sorry. i am new to this site and confused. yeah your code is working. and i need #5 sorting. please have a look.

  10. #10
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Split one cell to two cells

    Like this? Remember, this refers to the attachment in Post #1.

    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Re: Split one cell to two cells

    Quote Originally Posted by jolivanes View Post
    Like this? Remember, this refers to the attachment in Post #1.
    hi tested with #1, but not sorted like C1, C2 etc repeats many times. need single time only. like unique. see sample format

    Thank you.
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Split one cell to two cells

    Re: but not sorted like C1, C2 etc repeats many times
    Don't know what that means.
    In my example, the results go in Column N and that is the Column that is sorted.
    After you tried my code on the attachment from Post #1 and checked the result, let us know what needs changing.

  13. #13
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Split one cell to two cells

    You marked it solved but according to your last post (Post #11), it is not!
    How did you fix it? It is nice for someone that has the same problem to see the final result.

  14. #14
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Re: Split one cell to two cells

    yes, solved up to #4, from #5 not solved and making new post for that. that is rows sorting.
    Thank you..

+ 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. split a cell into 3,4 cells
    By iulinas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2014, 02:34 PM
  2. [SOLVED] Split cell value to two different cells
    By ropbasuel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-15-2013, 02:49 PM
  3. VBA Code to Split a cell value into 2 or more cells
    By SaurabhShri1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2013, 02:14 PM
  4. split on cell into two cells
    By siwelniffoc93 in forum Excel General
    Replies: 8
    Last Post: 02-15-2012, 10:30 AM
  5. Split one cell into more cells
    By AquaAli in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-22-2011, 08:21 AM
  6. [SOLVED] How do I split a cell into 3 different cells in excel?
    By K8 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 06-16-2009, 05:11 AM
  7. split cell into two cells
    By Jaymond Flurrie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-17-2007, 08:06 AM

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