+ Reply to Thread
Results 1 to 4 of 4

Thread: Pull part text from cell

  1. #1
    Registered User
    Join Date
    04-16-2004
    Posts
    32

    Question Pull part text from cell

    Hi there,

    I'm trying to pull data from Cell A1 and place it into A2,A3,A4,A5,A6, however, the range may differ form anywhere between A2-A10.

    I have created the below senario to help make it easy to understand...

    Any help would be much appreciated...

    Thanks for your time

    Regards

    SWM


    A1= "Computer & Video Games > Categories > Game Hardware > GameCube > Cables & Adapters >"

    A2="Computer & Video Games"
    A3="Categories"
    A4="Game Hardware"
    A5="GameCube"
    A6="Cables & Adapters"

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Apparently I can't say
    MS-Off Ver
    Apparently I can't say
    Posts
    8,274
    Hi,
    Have you looked at the Data->Text to columns feature? If those are meant to be '>' symbols in your post, then use that as the delimiter. if they are not, then you may want to use the Edit-Replace functionality to convert them to a delimiter that does not appear in your text, then use that to parse the data into columns.
    HTH

  3. #3
    Registered User
    Join Date
    04-16-2004
    Posts
    32

    Thumbs up

    thanks romperstomer... should have thought about that myself... great idea...

    Thanks

    SWM

  4. #4
    Forum Guru Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    You can also do it via formula should you wish (I would use TextToColumns though) - eg if your cell is in A1 then in A2 and copied down as far as required:

    =TRIM(MID(SUBSTITUTE(">"&TRIM(A$1),">",REPT(" ",100)),ROWS($A$1:$A1)*100+(SUMPRODUCT(LEN($A$1:$A1))-LEN($A$1)),100))

    Richard
    Richard Schollar
    Microsoft MVP - Excel

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0