+ Reply to Thread
Results 1 to 13 of 13

Mass text isolation and copying

  1. #1
    Registered User
    Join Date
    08-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Question Mass text isolation and copying

    OK, I've just cut and pasted a large block of information into Excel 2010

    This has all dropped into one column and I'm slowly sorting through it all.

    But one lot of information in over 500 cells in column starts with an @ symbol (It's a twitter handle). I want to isolate that string of text @(twitterhandle), remove it from column A and move it into column B.

    Is there a quicker way to do this without having to individually going through all 500 cells in column A by hand without ruining the other text in those cells?


    Once again, thank you.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mass text isolation and copying

    You just want to isolate the handle so there will be no spaces in it. It could appear anywhere in your block of text or is always at the beginning or end?

    This should extract that substring
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Does that work for you?
    Last edited by ChemistB; 11-15-2013 at 10:26 AM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Mass text isolation and copying

    Since it's a Twitter handle the text has no spaces in it. It is pretty much "@KineticEntity" that I want harvest and move, for example. Sometimes the text is at the end, but if the Twitter account is protected it is in the middle of the block of text.


    That account is my own and is therefore safe for me to share!

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Mass text isolation and copying

    Going by what I could find out about twitter handles, the "@dsfsdfd" starts the message. If that is the case, then this will extract that portion to column B if the text is in column A

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you need the rest of the text without the "handle" then enter this in column C and copy down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    08-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Mass text isolation and copying

    Ok, I did that and the wrong text got moved. What am I doing wrong here?

    And the moved text wasn't removed from column A, just copied.

    TwitterDirectoryTestBed.xlsx


    Edit to add: This is a response to Newdoverman's response

    Secondary edit: ChemistB, this is what I got with your string.

    TwitterDirectoryTestBed2.xlsx
    Last edited by NightSprite; 11-15-2013 at 11:00 AM.

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mass text isolation and copying

    Okay, some of your spaces are regular spaces (ASCII Code 32) and others are "internet" spaces (Code 160). My formula will only find the regular spaces so we need to replace the internet spaces with regular spaces.

    If you have a numberpad, you can use FIND/Replace
    Select Column A where your text is.
    CNTRL H to open up find and replace window
    In the FIND box, on the numberpad, hold down ALT and type 0160
    You should see the cursor move to the right as it types the internet space
    Then in the Replace box, just put a space
    Replace all.

    Also, we need to put a space at the end of your string in the formula to avoid that error you got in B2. Modify as so;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mass text isolation and copying

    If you don't have a number pad, try this formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    08-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Mass text isolation and copying

    That is awesome, thank you.

    Now I have to figure out how to remove that text from column A.

    Thanks for the hard part though.

  9. #9
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mass text isolation and copying

    Once you have what you want in B, Copy and Paste Special > Values to remove the formulas. Then you can clear A

    Glad to help

  10. #10
    Registered User
    Join Date
    08-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Mass text isolation and copying

    Ahh, but I still want to keep the name in column A, seperate from the handles!

  11. #11
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mass text isolation and copying

    Where is the name in relationship to the handle? Does it move around also?

  12. #12
    Registered User
    Join Date
    08-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Mass text isolation and copying

    The name is always at the start of the string of text.

  13. #13
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mass text isolation and copying

    If the name doesn't have spaces, you could use a similar formula to the ones above. If sometimes it does have spaces and sometimes it doesn't, then it's a bit tougher.

+ 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. Removing text from item descriptions on mass?
    By Prince Dakkar in forum Excel General
    Replies: 2
    Last Post: 10-28-2013, 12:01 PM
  2. Mass editing of turning text to numbers
    By no.18shirt in forum Excel General
    Replies: 5
    Last Post: 04-11-2013, 09:08 AM
  3. Newbie with a Zip Code Isolation Question
    By drnewland in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-11-2013, 05:05 PM
  4. Web Query (Table Cell Isolation)
    By TSierra in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-25-2008, 06:28 PM
  5. [SOLVED] Can you recalculate an individual excel cell in isolation?
    By Dobey Kweeg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2005, 09:55 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