+ Reply to Thread
Results 1 to 1 of 1

Sort Data based on multiple values

  1. #1
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    Sort Data based on multiple values

    I want to be able to organize the data based on certain values. I want to sort it based on the following priorities from column "I":

    1. Run (If there is more than one of this and the following two, sort by the earliest schedule start date)
    2. Interrupted
    3. On Machine
    4. Everything that doesn't have any of the following, sort them by the earliest schedule start date in Column "C"

    I have attached the dummy data.

    I have the following code which I got from recording the macro, but I can't seem to understand how to incorporate it with another code I have.
    Please Login or Register  to view this content.
    I want to be able to incorporate it with this code, but I cant seem to get it to work. I also don't know how to change the ranges so that it covers all the columns:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by thelegazy; 07-23-2013 at 01:51 PM.

+ 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. [SOLVED] how sort based on column with related data in multiple cells
    By sank1800 in forum Excel General
    Replies: 7
    Last Post: 02-18-2013, 11:28 AM
  2. [SOLVED] Group/sort rows based on values in multiple columns?
    By teitoku in forum Excel General
    Replies: 5
    Last Post: 08-07-2012, 02:20 PM
  3. Multiple sumif or if to find data based on many values.
    By culverhr in forum Excel General
    Replies: 4
    Last Post: 04-19-2012, 01:29 PM
  4. copy multiple rows and sort based on cell values
    By stevenwhite1968 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-18-2011, 03:12 AM
  5. Replies: 0
    Last Post: 11-19-2009, 11:48 AM

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