+ Reply to Thread
Results 1 to 2 of 2

Nested Sorting (Sorting by one variable while already sorted by another variable)

  1. #1
    Registered User
    Join Date
    05-05-2016
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    4

    Nested Sorting (Sorting by one variable while already sorted by another variable)

    I have a spreadsheet that lists different operations performed on a work order. Each operation is a different row and the column headers are "Order", "Operation", "Start Date", and "Finish Date". Each order could have as many as 10 rows associated with it. The start times of operations within an order will be sequential but start times of operations of different orders will not be sequential. I would like to sort the rows by order to keep each orders operations grouped together. I would also like to sort the operations within an order by the start date of the operation. So basically, how can I perform nested sorting?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,083

    Re: Nested Sorting (Sorting by one variable while already sorted by another variable)

    Please attach a sample workbook - and not a picture of one. Make sure there is enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary. Remember to remove ALL confidential information first!!!

    However, nothing on this Forum works quite as well as you might expect. The attachment icon doesn't work!! (Helpful, isn't it!!). Instead, just before you submit your post, click on GO ADVANCED (near the bottom) and then scroll down to Manage Attachments to open the upload window. The relevant instructions are at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Variable Ranges when sorting
    By Austex_egger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2013, 03:08 PM
  2. Sorting with variable row length
    By heather1023 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-16-2013, 09:02 AM
  3. Object variable or With block variable not set Error during sorting program
    By BlahBlahBlahBlahBlah in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-17-2012, 07:57 AM
  4. sorting changes the value of range-variable
    By HarryKlein in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-05-2012, 06:55 AM
  5. Sorting by variable column
    By henboffman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-07-2011, 11:48 AM
  6. Sorting by variable keys
    By jgmiddel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2008, 09:30 AM
  7. Sorting - use of variable sort key
    By BernzG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2006, 07:16 PM
  8. Sorting variable rows
    By light in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2005, 12:27 PM

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