+ Reply to Thread
Results 1 to 5 of 5

Auto Filter Sorting Error

  1. #1
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Auto Filter Sorting Error

    Ok, So I have 2 formulas that I am using. 1 is to assign a score based on weighted averages. The other one is used to place those weighted scores in 1 of 3 buckets. When I try to sort the Rank column or the Rank % Column by ascending or Descending, it doesn't place them in the right order. Refer to the example pic.

    Formula in Rank column
    =RANK(J5,$J$5:$J$32)+COUNTIF($J$5:J5,J5)-1
    Formula in Rank % Column
    =(IF(K5<=(COUNT($K$5:$K$163)*0.35),"Top 35%",(IF(K5<=(COUNT($K$5:$K$163)*0.65),"Middle 35%","Bottom 30%"))))
    The Rank column is J and the Rank % column is K
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Auto Filter Sorting Error

    What happens is that the formulas automatically adjust when you sort and you end up with the same sequence. You'll need to Copy>Paste Special>Values first to remove the formulas and then you can sort. Will that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: Auto Filter Sorting Error

    Thats how I am doing it, is converting the formulas to their values. And the values do correctly if i sort them Ascending. Just not descending.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Auto Filter Sorting Error

    Hmmmmm, not sure what would cause that. Can you post example workbook (not jpg)? Or if you write out the steps you are taking step by step, maybe I can spot something.

  5. #5
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: Auto Filter Sorting Error

    Let me work on getting you a workable scenario.

+ 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