+ Reply to Thread
Results 1 to 10 of 10

split informations on single cell to multiple cells

  1. #1
    Registered User
    Join Date
    11-30-2014
    Location
    singapore
    MS-Off Ver
    office 2013
    Posts
    5

    split informations on single cell to multiple cells

    I have an excel with these information's:

    "Please register for me:

    NAME: Tan May
    PS NUMBER: 6787898
    DIETARY PREFERENCE (halal/vegetarian): VEGETARIAN
    LOCATION: KEPPEL TUAS (COMMERCIAL)


    ________________________________


    CONFIDENTIALITY: This e-mail (including any attachments) is confidential and may contain proprietary information. If you are not the intended recipient, be advised that you have received this e-mail in error. Any use, disclosure, dissemination, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please immediately contact the sender by return e-mail and then irretrievably delete it from your system.

    "


    and I want to extract the date for name, ps number, dietary preference and location to multiple cells.

    I tried the "convert text to column wizard" but it only shows this line "Please register for me:"

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: split informations on single cell to multiple cells

    Extract.xlsx

    This what you are looking for?

    Being that there is a ":" colon to separate what you want to extract you can utilize this to get everything off of the right.

    Take a look
    -If you think you are done, Start over - ELeGault

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: split informations on single cell to multiple cells

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    11-30-2014
    Location
    singapore
    MS-Off Ver
    office 2013
    Posts
    5

    Re: split informations on single cell to multiple cells

    Thanks everyone for your reply.

    However I cant seems to make it work. It basically compose of multiple entries as attached.

    for each cell entry I would like to extract information on Name,PS Number,Dietary and Location.

    Appreciate your help.
    Attached Files Attached Files

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: split informations on single cell to multiple cells

    B2=TRIM(MID(SUBSTITUTE(SUBSTITUTE($A2,":",REPT(" ",256)),CHAR(10),REPT(" ",256)),SEARCH(B$1,SUBSTITUTE(SUBSTITUTE($A2,":",REPT(" ",256)),CHAR(10),REPT(" ",256)))+256,256))
    Try this and copy towards right
    Last edited by samba_ravi; 12-01-2014 at 03:58 AM.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Registered User
    Join Date
    11-30-2014
    Location
    singapore
    MS-Off Ver
    office 2013
    Posts
    5

    Re: split informations on single cell to multiple cells

    Thank you so much Siva for your help.
    I managed to get the info needed but got error as attached.Attachment 362329
    Attached Files Attached Files

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: split informations on single cell to multiple cells

    If you change the Employee Number as PS Number in A4 it will give the correct answer

  8. #8
    Registered User
    Join Date
    11-30-2014
    Location
    singapore
    MS-Off Ver
    office 2013
    Posts
    5

    Re: split informations on single cell to multiple cells

    yes it gives the correct answer when changed to PS Number.
    Is there anything on the code that I needs to change to also applies if it is instead - "Employee Number"

  9. #9
    Registered User
    Join Date
    11-30-2014
    Location
    singapore
    MS-Off Ver
    office 2013
    Posts
    5

    Re: split informations on single cell to multiple cells

    i managed to do it.

    Thank you Siva for your help.

  10. #10
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: split informations on single cell to multiple cells

    You are welcome

+ 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. How to split date and time from single cell to two cells
    By taprico in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-21-2013, 12:14 PM
  2. Split a single cell into 2 or more cells
    By Shaun010 in forum Excel General
    Replies: 11
    Last Post: 02-22-2013, 09:01 AM
  3. Excel Split Single Cell Array into Multiple Cells
    By devinpitcher in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 12-07-2012, 07:13 AM
  4. Macro : Split text of a single cell into multiple cell
    By rampal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2012, 02:05 PM
  5. Want to split the data in single cell to multiple column
    By pradeepdeepu_001 in forum Excel General
    Replies: 4
    Last Post: 02-02-2010, 09:11 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