+ Reply to Thread
Results 1 to 4 of 4

How do I sort in Excel by the no. of characters in a cell?

  1. #1
    yasmingeo
    Guest

    How do I sort in Excel by the no. of characters in a cell?

    Hi there,

    I have some alpha-numeric codes which I need to order in terms of how long
    they are in characters. Ie. a 15-character code corresponds to a certain
    item, so I would like them all grouped together.

    Thanks,
    Yasmin

  2. #2
    Ron Rosenfeld
    Guest

    Re: How do I sort in Excel by the no. of characters in a cell?

    On Thu, 20 Oct 2005 18:42:01 -0700, yasmingeo
    <[email protected]> wrote:

    >Hi there,
    >
    >I have some alpha-numeric codes which I need to order in terms of how long
    >they are in characters. Ie. a 15-character code corresponds to a certain
    >item, so I would like them all grouped together.
    >
    >Thanks,
    >Yasmin


    If your codes are in B2:Bn, in an adjacent column enter the formula =LEN(B2)
    and copy/drag down to row n. Then sort on this "helper" column.


    --ron

  3. #3
    yasmingeo
    Guest

    Re: How do I sort in Excel by the no. of characters in a cell?

    Thanks Ron, perfect, and so easy.
    Much appreciated,
    Yasmin

    "Ron Rosenfeld" wrote:

    > On Thu, 20 Oct 2005 18:42:01 -0700, yasmingeo
    > <[email protected]> wrote:
    >
    > >Hi there,
    > >
    > >I have some alpha-numeric codes which I need to order in terms of how long
    > >they are in characters. Ie. a 15-character code corresponds to a certain
    > >item, so I would like them all grouped together.
    > >
    > >Thanks,
    > >Yasmin

    >
    > If your codes are in B2:Bn, in an adjacent column enter the formula =LEN(B2)
    > and copy/drag down to row n. Then sort on this "helper" column.
    >
    >
    > --ron
    >


  4. #4
    Ron Rosenfeld
    Guest

    Re: How do I sort in Excel by the no. of characters in a cell?

    On Thu, 20 Oct 2005 20:58:02 -0700, yasmingeo
    <[email protected]> wrote:

    >Thanks Ron, perfect, and so easy.
    >Much appreciated,
    >Yasmin


    You're welcome. Glad to help.
    --ron

+ 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