+ Reply to Thread
Results 1 to 8 of 8

Splitting data from one cell to 2 cells by formula

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    11

    Splitting data from one cell to 2 cells by formula

    Hi guys,

    I am looking to split data that comes into me through an adobe form questionnaire. When i paste the data into excel it all goes into one column and single cells. Rather than each time use the text to columns each time i am looking to paste in the data and have a formula in the next two cells that split the data. There is a common colon ':' where the data and answer is split on each question and answer. for example

    Title: mr
    Full Name: derek b
    Telephone: 555
    Full Address: 1234

    With each new form i just want to paste it into a single column and the data will be automatically split into two additional columns.
    I hope that I am explaining this right.

    Any help would be appreciated,
    Thanks in advance,

    Derek.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Splitting data from one cell to 2 cells by formula

    You can use Data/Data Tools/Text to Columns/other/:

    but this will leave a leading space in front of the text, which might be a nuisance later one... You can get rid of it using a formula =TRIM(cell ref).
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-23-2014
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    54

    Re: Splitting data from one cell to 2 cells by formula

    Hi Derek,

    try this:

    col A
    Title: mr

    col B
    =LEFT(A1,FIND(":",A1,1))

    col C
    =RIGHT(A1,LEN(A1)-FIND(":",A1,1)-1)
    drop the '-1' if you want to keep the space or if you don't always have a space after ':'

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Splitting data from one cell to 2 cells by formula

    Have you tried text to Columns?
    Check this out
    http://blog.contextures.com/archives...ames-in-excel/
    Use colon as the delimiter in your case.
    Last edited by davesexcel; 01-08-2015 at 05:56 AM.

  5. #5
    Registered User
    Join Date
    08-01-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Splitting data from one cell to 2 cells by formula

    tchock

    you are a legend. thanks very much and for your quick reply. much appreciated.
    Exactly what i needed

    Derek.

  6. #6
    Registered User
    Join Date
    01-23-2014
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    54

    Re: Splitting data from one cell to 2 cells by formula

    I'm glad I could help you!

  7. #7
    Registered User
    Join Date
    08-01-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Splitting data from one cell to 2 cells by formula

    I did thanks Dave but i was looking for something where i didn't have to run the wizard each time.

    tchock formulas above work great and just what i needed. thanks again.

  8. #8
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Splitting data from one cell to 2 cells by formula

    Here is a VBA solution,
    See attached.
    Attached Files Attached Files

+ 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. [SOLVED] Splitting formula Values from one cell into separate cells
    By thegrandmaster in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2013, 02:17 AM
  2. Splitting data in a cell in to multiple cells
    By Excelrookie_1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-17-2012, 08:33 AM
  3. Splitting Data in 1 cell into 3 cells
    By Sharon Hague in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-05-2012, 12:08 PM
  4. Splitting Data from cell into 2 cells
    By Frogger0102 in forum Excel General
    Replies: 4
    Last Post: 08-20-2010, 02:25 PM
  5. splitting data from a cell into different cells
    By jartzh in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-22-2009, 09:51 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