+ Reply to Thread
Results 1 to 5 of 5

parsing a cell using |

  1. #1
    Registered User
    Join Date
    02-08-2006
    Posts
    11

    parsing a cell using |

    I have many cells with values like this

    43543|F|ib315|RAS|98B8016BB4B12|stamp

    I need to parse each cell using | and place the parsed values into new cells for each row while still maintaing the unparsed cell. Any help is appreciated.

  2. #2
    Pete_UK
    Guest

    Re: parsing a cell using |

    If these are in column A, then copy this to column B to retain the
    original data. Then highlight column B and do Data | Text-to-columns
    and specify | as the delimiter.

    Hope this helps.

    Pete


  3. #3
    Nick Hodge
    Guest

    Re: parsing a cell using |

    I would highlight the data and use Data>Text to columns... and use the |
    character as the 'other' delimiter. Then when you have parsed it all, use a
    helper column to put the original back together with

    =A1&"|"&B1&"|"&C1...etc

    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    www.nickhodge.co.uk
    [email protected]HIS


    "exceluser2" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have many cells with values like this
    >
    > 43543|F|ib315|RAS|98B8016BB4B12|stamp
    >
    > I need to parse each cell using | and place the parsed values into new
    > cells for each row while still maintaing the unparsed cell. Any help
    > is appreciated.
    >
    >
    > --
    > exceluser2
    > ------------------------------------------------------------------------
    > exceluser2's Profile:
    > http://www.excelforum.com/member.php...o&userid=31338
    > View this thread: http://www.excelforum.com/showthread...hreadid=516042
    >




  4. #4
    RagDyer
    Guest

    Re: parsing a cell using |

    There's really *no* need to "put the original back together", since TTC has
    an option to separate the data *without* touching (changing) the original
    data.

    In the 3rd step of the TTC wizard, just change the destination column
    address from the default (original data location) to any *other* empty
    column.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "Nick Hodge" <[email protected]> wrote in message
    news:[email protected]...
    > I would highlight the data and use Data>Text to columns... and use the |
    > character as the 'other' delimiter. Then when you have parsed it all, use

    a
    > helper column to put the original back together with
    >
    > =A1&"|"&B1&"|"&C1...etc
    >
    > --
    > HTH
    > Nick Hodge
    > Microsoft MVP - Excel
    > Southampton, England
    > www.nickhodge.co.uk
    > [email protected]HIS
    >
    >
    > "exceluser2" <[email protected]>

    wrote
    > in message news:[email protected]...
    > >
    > > I have many cells with values like this
    > >
    > > 43543|F|ib315|RAS|98B8016BB4B12|stamp
    > >
    > > I need to parse each cell using | and place the parsed values into new
    > > cells for each row while still maintaing the unparsed cell. Any help
    > > is appreciated.
    > >
    > >
    > > --
    > > exceluser2
    > > ------------------------------------------------------------------------
    > > exceluser2's Profile:
    > > http://www.excelforum.com/member.php...o&userid=31338
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=516042
    > >

    >
    >



  5. #5
    Nick Hodge
    Guest

    Re: parsing a cell using |

    RD

    Of course...you'll notice I like re-inventing a wheel from time to time ;-)

    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    www.nickhodge.co.uk
    [email protected]HIS


    "RagDyer" <[email protected]> wrote in message
    news:[email protected]...
    > There's really *no* need to "put the original back together", since TTC
    > has
    > an option to separate the data *without* touching (changing) the original
    > data.
    >
    > In the 3rd step of the TTC wizard, just change the destination column
    > address from the default (original data location) to any *other* empty
    > column.
    > --
    > Regards,
    >
    > RD
    >
    > ---------------------------------------------------------------------------
    > Please keep all correspondence within the NewsGroup, so all may benefit !
    > ---------------------------------------------------------------------------
    >
    > "Nick Hodge" <[email protected]> wrote in message
    > news:[email protected]...
    >> I would highlight the data and use Data>Text to columns... and use the |
    >> character as the 'other' delimiter. Then when you have parsed it all,
    >> use

    > a
    >> helper column to put the original back together with
    >>
    >> =A1&"|"&B1&"|"&C1...etc
    >>
    >> --
    >> HTH
    >> Nick Hodge
    >> Microsoft MVP - Excel
    >> Southampton, England
    >> www.nickhodge.co.uk
    >> [email protected]HIS
    >>
    >>
    >> "exceluser2" <[email protected]>

    > wrote
    >> in message
    >> news:[email protected]...
    >> >
    >> > I have many cells with values like this
    >> >
    >> > 43543|F|ib315|RAS|98B8016BB4B12|stamp
    >> >
    >> > I need to parse each cell using | and place the parsed values into new
    >> > cells for each row while still maintaing the unparsed cell. Any help
    >> > is appreciated.
    >> >
    >> >
    >> > --
    >> > exceluser2
    >> > ------------------------------------------------------------------------
    >> > exceluser2's Profile:
    >> > http://www.excelforum.com/member.php...o&userid=31338
    >> > View this thread:

    > http://www.excelforum.com/showthread...hreadid=516042
    >> >

    >>
    >>

    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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