+ Reply to Thread
Results 1 to 4 of 4

sorting time in a column

Hybrid View

Guest sorting time in a column 05-24-2005, 05:06 PM
bhofsetz After you sort the data a-z... 05-24-2005, 05:45 PM
Guest RE: sorting time in a column 05-24-2005, 08:09 PM
Guest RE: sorting time in a column 05-25-2005, 03:06 AM
  1. #1
    mattguerilla
    Guest

    sorting time in a column

    I want to sort time in a column using a macro, but instead of the time
    running in order from midnight (00:00) I want the starting point to be 06:00
    and run until 05:59.

    At the moment I have the macro copying data and sorting the time a-z and am
    manually resorting the data.

    Matt

  2. #2
    Forum Contributor
    Join Date
    01-21-2005
    Location
    Colorado
    MS-Off Ver
    2000,2003,2007
    Posts
    481
    After you sort the data a-z why don't you copy everything before 6:00 and then paste it to the end of your sorted list?

  3. #3
    Jim Thomlinson
    Guest

    RE: sorting time in a column

    How about using a hidden column. In that column use an if formula to
    determine if the cell value is > 5:59. If so then return 1 otherwise return
    0. Now just sort on this column last and you will be in the order you want.
    Or if you want a macro solution let me know and I can get you the same result
    that way (using the same general logic) I would want to know how many columns
    are in your spreadsheet so that I could use one of the unused columns for a
    sort flag.
    --
    HTH...

    Jim Thomlinson


    "mattguerilla" wrote:

    > I want to sort time in a column using a macro, but instead of the time
    > running in order from midnight (00:00) I want the starting point to be 06:00
    > and run until 05:59.
    >
    > At the moment I have the macro copying data and sorting the time a-z and am
    > manually resorting the data.
    >
    > Matt


  4. #4
    mattguerilla
    Guest

    RE: sorting time in a column


    Thanks, I will give that a try.

    Matt

+ 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