+ Reply to Thread
Results 1 to 6 of 6

Sort Formula multiple criteria

  1. #1
    Registered User
    Join Date
    08-06-2016
    Location
    Oklahoma city, Oklahoma, USA
    MS-Off Ver
    2016
    Posts
    30

    Sort Formula multiple criteria

    Hello and thanks for taking time to look at my situation.

    I need help figuring out my situation as this is beyond my excel knowledge.

    Will try my best to explain as clearly as possible.

    Here is a picture of the data that is manually entered in while im working. Because I have duplicate names or same owners owning in different group and severance had to create column column c with the formula shown to separate the duplicate names.
    \1

    So while I am working entering data in the data tab, I want the names from column c to automatically display and update and be sorted in a separate worksheet, pic below.
    \1

    The owners need to sort first by group letter a-z, then it needs to sort by severance letter a-z, then needs to sort by acres highest to lowest.

    I do want any blank owners in column c showing in the result tab, however because technically those blank owners have "" in the cell due to the formula, im not sure if it can be eliminated from displaying in the results tab, so in that case I want all the cells with "" in column c of data tab to show up at the end of the owners in the result tab and not be displayed in between any names.

    attached is my example.

    I found this article that shows at the very end a long formula that will automatically display and update and sort names alphabetically which is nice but i need this to work for my situation.
    http://trumpexcel.com/2015/02/sort-d...order-formula/


    Please help, thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Sort Formula multiple criteria

    You can use 4 helper column for that. I have written the formulas on your sample file. Check the attachment. Hope this will help.


    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-06-2016
    Location
    Oklahoma city, Oklahoma, USA
    MS-Off Ver
    2016
    Posts
    30

    Re: Sort Formula multiple criteria

    Hey Sanram,

    Much appreciation. from spending a couple of days on this, what you showed me in the example was what I kind of figured I would have to do, now things are clearer on how to go about it, thanks to you. Ill just end up hiding the helper columns after I get it working on my work template.

    Thanks for the help

  4. #4
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Thumbs up Re: Sort Formula multiple criteria

    You are most welcomed. It's feeling warm that it helps.

  5. #5
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Sort Formula multiple criteria

    Please mark your post as solved if you think that the above solution solved your problem. Also give a reputation score to the person who solved your problem.

    Last edited by sanram; 08-07-2016 at 08:36 PM.

  6. #6
    Registered User
    Join Date
    08-06-2016
    Location
    Oklahoma city, Oklahoma, USA
    MS-Off Ver
    2016
    Posts
    30

    Re: Sort Formula multiple criteria

    Will do. I actually rep you the other day, just tried again and telling me to spread some reputation around first.

+ 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] Multiple criteria sort (criteria parsed from string) macro
    By rynofrowan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-18-2014, 09:59 PM
  2. [SOLVED] Sort by multiple columns with sort criteria cell dependent
    By BRISBANEBOB in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-24-2014, 02:22 AM
  3. [SOLVED] Sort by multiple criteria even if it has a duplicate value
    By TlgKill in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-09-2013, 05:12 PM
  4. [SOLVED] Query Multiple Web Pages> Sort For Specific Criteria > Save Lists of Sort in txt files
    By Tlandress in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 01-15-2013, 12:09 AM
  5. multiple column , multiple criteria autofilter sort
    By jseufert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2009, 06:18 PM
  6. MACROS: Sort by multiple criteria - Create tabs based off of criteria
    By svineyard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2009, 10:48 AM
  7. Using VBA To Sort Multiple Criteria
    By DCSwearingen in forum Excel General
    Replies: 1
    Last Post: 06-12-2006, 03:20 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