+ Reply to Thread
Results 1 to 4 of 4

tricky sorting question

Hybrid View

Guest tricky sorting question 01-18-2006, 08:50 PM
Guest Re: tricky sorting question 01-18-2006, 09:15 PM
Guest Re: tricky sorting question 01-18-2006, 11:00 PM
Guest RE: tricky sorting question 01-19-2006, 09:40 AM
  1. #1
    Beege
    Guest

    Re: tricky sorting question

    RobR,

    I suggest a helper column, with a formula like =RIGHT(A1,4)
    Bring the formula down as far as needed, and sort on that column.

    Beege




    "RobR" <nospam@nospam.com> wrote in message
    news:OlHIPIJHGHA.1100@TK2MSFTNGP10.phx.gbl...
    >I need to sort all records by the last 4 digits in a particular column.
    > ie, my data looks like
    >
    > alskjflkja0023
    > lkahsflkjf0021
    > mnslfkjas0019
    >
    > I need to order all records by the last 4 digits. Any ideas on
    > how to go about doing that? All entries are 17 characters
    > long so it would be the right most 4 digits of the 17 character
    > string. Thanks!
    >
    >




  2. #2
    RobR
    Guest

    Re: tricky sorting question

    Brilliant, worked perfectly. Thanks!

    "Beege" <bwgilmanhah@comcast.net> wrote in message
    news:43cee600_1@newsfeed.slurp.net...
    > RobR,
    >
    > I suggest a helper column, with a formula like =RIGHT(A1,4)
    > Bring the formula down as far as needed, and sort on that column.
    >
    > Beege
    >
    >
    >
    >
    > "RobR" <nospam@nospam.com> wrote in message
    > news:OlHIPIJHGHA.1100@TK2MSFTNGP10.phx.gbl...
    >>I need to sort all records by the last 4 digits in a particular column.
    >> ie, my data looks like
    >>
    >> alskjflkja0023
    >> lkahsflkjf0021
    >> mnslfkjas0019
    >>
    >> I need to order all records by the last 4 digits. Any ideas on
    >> how to go about doing that? All entries are 17 characters
    >> long so it would be the right most 4 digits of the 17 character
    >> string. Thanks!
    >>
    >>

    >
    >




+ 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