+ Reply to Thread
Results 1 to 5 of 5

How to separate data from one cell !!

Hybrid View

  1. #1
    Registered User
    Join Date
    01-08-2016
    Location
    Toronto
    MS-Off Ver
    2015
    Posts
    7

    Lightbulb How to separate data from one cell !!

    I've got a small problem*
    There is some data i need to separate into 3 columns: Name, Hashtag and all that goes after the hashtag. So the data from A1 cell will be like (Finn Harries),(@FinnHarry ), (New York Good design) separately in 3 columns.


    StartFragment
    *(A1) Finn Harries @FinnHarry New York Good design.
    *(A2) Tumblr @tumblr New York CityFollow the world’s creators.*
    (A3) Joan Rivers @Joan_Rivers New York City, New York
    (A4) Andrea Pirlo @Pirlo_official Nato a Flero (BS) il 19 Maggio*

    For the first column i used*=LEFT(A1,FIND(" @",A1)-1) formula. Please help me with the other two !! i spend hours trying to do that.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to separate data from one cell !!

    I get the 1st split - at the @ sign
    I dont get where the 2nd/3rd comes?

    (have you tried Text2Columns for this?)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to separate data from one cell !!

    hmm maybe this?
    A
    B
    C
    D
    1
    Finn Harries @FinnHarry New York Good design. Finn Harries @FinnHarry New York Good design.
    2
    Tumblr @tumblr New York CityFollow the world’s creators.* Tumblr @tumblr New York CityFollow the world’s creators.*
    3
    Joan Rivers @Joan_Rivers New York City, New York Joan Rivers @Joan_Rivers New York City, New York
    4
    Andrea Pirlo @Pirlo_official Nato a Flero (BS) il 19 Maggio* Andrea Pirlo @Pirlo_official Nato a Flero (BS) il 19 Maggio*

    B1=LEFT(A1,FIND("@",A1,1)-2)
    C1=LEFT(TRIM(SUBSTITUTE(A1,B1,"")),FIND(" ",TRIM(SUBSTITUTE(A1,B1,""))))
    D1=MID(A1,FIND(C1,A1,1)+LEN(C1),99)
    all copied down

  4. #4
    Registered User
    Join Date
    01-08-2016
    Location
    Toronto
    MS-Off Ver
    2015
    Posts
    7

    Re: How to separate data from one cell !!

    You are genius. Thank you so much !

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to separate data from one cell !!

    haha not really, but thanks, I am happy to help, and thanks for the feedback

+ 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] Cut parts of data in cell with var delimiters to separate cells and copying adjacent data
    By Noah14 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-26-2015, 11:28 AM
  2. [SOLVED] Macro needed to Concatenate data in 2 separate tables of 2 separate sheets
    By 823 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-08-2015, 02:02 PM
  3. Replies: 1
    Last Post: 01-10-2013, 12:52 AM
  4. [SOLVED] separate data from one cell into two separate cells question
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-19-2012, 05:53 PM
  5. Separate data in a cell
    By Neilsen69 in forum Excel General
    Replies: 10
    Last Post: 09-02-2011, 01:33 PM
  6. Separate Data in one cell
    By waj42 in forum Excel General
    Replies: 5
    Last Post: 04-03-2011, 04:11 AM
  7. separate data from one cell
    By Sandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2006, 03:50 AM

Tags for this Thread

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