+ Reply to Thread
Results 1 to 4 of 4

Sorting data based on filter

Hybrid View

  1. #1
    Registered User
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2003
    Posts
    32

    Sorting data based on filter

    Hello,

    I would like to sort the data's in a sheet based on the values in a column. And column has 4 values S, M, MI, SI.

    First the data should be sorted by the values S, M, MI, SI, like all S first then M, then MI and the SI.

    Now only the rows contain S should be filtered and select the next column which has some values and sort the data in filter from largest to smallest.

    Then, filter only the rows has M and then sort the data in filter based on next column.

    and the same for the rest two (MI and SI) also.

    Please help.

    thank you.

  2. #2
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Sorting data based on filter

    So I can't see what you're working with, but this sounds like could just do it with the custom sort. Make level 1 the column with S, M, MI, SI, and make level 2 the column with the values. It will sort alphabetically, but if you really need it to be S, M, MI, and then SI in that order, you could either copy and paste or create another column which is S->1, M->2, MI->3, SI->4 and sort by that.

  3. #3
    Registered User
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Sorting data based on filter

    Hello,

    have attached an example. could you plz look into it.

    thank you
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Sorting data based on filter

    Highlight the data. Choose custom sort. Level 1: Helper, Level 2: Column 2.
    Attached Files Attached Files

+ 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] Sorting A Filter...Not keeping data the same
    By buddha in forum Excel General
    Replies: 2
    Last Post: 03-16-2013, 01:21 PM
  2. Replies: 3
    Last Post: 12-20-2012, 06:16 AM
  3. Second Advanced Filter does not work based on the data generated from the filter
    By mucc1928 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2011, 02:42 PM
  4. Sorting data and moving data using Advanced filter
    By Gooford in forum Excel General
    Replies: 1
    Last Post: 05-27-2010, 11:29 AM
  5. does sorting based on a large filter list require a macro?
    By nimbenja in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2007, 06:36 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