+ Reply to Thread
Results 1 to 5 of 5

Separate a String of #'s

  1. #1
    Coal Miner
    Guest

    Separate a String of #'s

    I have a column of #'s which are all somewhat similar. They are
    X-##-###-###-##-###-###. Let's say these #'s are in column A. In column B,
    I would like ONLY the 3rd string of #'s. Any easy way?

  2. #2
    ViestaWu
    Guest

    RE: Separate a String of #'s

    Please try mid(your_string, 10,3).

    "Coal Miner" wrote:

    > I have a column of #'s which are all somewhat similar. They are
    > X-##-###-###-##-###-###. Let's say these #'s are in column A. In column B,
    > I would like ONLY the 3rd string of #'s. Any easy way?


  3. #3
    Coal Miner
    Guest

    RE: Separate a String of #'s

    Perfect. Thank you.

    "ViestaWu" wrote:

    > Please try mid(your_string, 10,3).
    >
    > "Coal Miner" wrote:
    >
    > > I have a column of #'s which are all somewhat similar. They are
    > > X-##-###-###-##-###-###. Let's say these #'s are in column A. In column B,
    > > I would like ONLY the 3rd string of #'s. Any easy way?


  4. #4
    CLR
    Guest

    RE: Separate a String of #'s

    Another way would be to copy your column a over to column B and do Data >
    TextToColumns on column B using hyphen as delimiter and choosing not to
    import the columns not wanted........column B wil result in only your digits
    of interest...

    Vaya con Dios,
    Chuck, CABGx3



    "Coal Miner" wrote:

    > I have a column of #'s which are all somewhat similar. They are
    > X-##-###-###-##-###-###. Let's say these #'s are in column A. In column B,
    > I would like ONLY the 3rd string of #'s. Any easy way?


  5. #5
    Coal Miner
    Guest

    RE: Separate a String of #'s

    Cool!!! I had been messing with the textocolumns but did not see the do not
    import box. Pretty handy! Thanks for your help also.

    "CLR" wrote:

    > Another way would be to copy your column a over to column B and do Data >
    > TextToColumns on column B using hyphen as delimiter and choosing not to
    > import the columns not wanted........column B wil result in only your digits
    > of interest...
    >
    > Vaya con Dios,
    > Chuck, CABGx3
    >
    >
    >
    > "Coal Miner" wrote:
    >
    > > I have a column of #'s which are all somewhat similar. They are
    > > X-##-###-###-##-###-###. Let's say these #'s are in column A. In column B,
    > > I would like ONLY the 3rd string of #'s. Any easy way?


+ 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