+ Reply to Thread
Results 1 to 4 of 4

Having an issue with an Array Formula sorting lists

  1. #1
    Registered User
    Join Date
    03-22-2014
    Location
    Columbus, OH
    MS-Off Ver
    Excel 2007
    Posts
    2

    Having an issue with an Array Formula sorting lists

    I am creating an assessment for work. As people rate their abilities, it will create a value. I am then trying to rank each value and the corresponding title. I have the values being sorted, but having an issue with my array formula sorting the corresponding title(text). Can anyone please take a look at this and help me? I was going to create a macro, but the field doesn't have access to macro enabled excel books.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Having an issue with an Array Formula sorting lists

    Here's a non-array method to get the labels list auto-sorted in descending order by the ratings

    In "Competency Self Assessment",
    Put in R6: =N6-ROW()/10^5
    Copy down to R15. This pegs onto the ratings in N6 down, the "-ROW()/10^5" is an incremental fraction term to act as tie-breaker (as there are possible ties in the ratings)


    Then place in S6:
    =INDEX(M$6:M$15,MATCH(LARGE($R$6:$R$15,ROWS($1:1)),$R$6:$R$15,0))
    Copy down to S15 to return the sorted competency text labels. Labels with tied ratings will appear in the same relative order that they are within the source column (M6:M15)
    -----------------------------------
    Success? Wave it, hit the little star at the bottom left of my responses

  3. #3
    Registered User
    Join Date
    03-22-2014
    Location
    Columbus, OH
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Having an issue with an Array Formula sorting lists

    Max,

    Thank you sir! That worked. Still not sure why my array wasn't working, but your way was easier anyway. :-) Nicely done!

  4. #4
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Having an issue with an Array Formula sorting lists

    welcome, glad it worked

    Btw, to do an ascending auto-sort (the reverse), these would be the slight tweaks required:
    In R6: =N6+ROW()/10^5
    In S6: =INDEX(M$6:M$15,MATCH(SMALL($R$6:$R$15,ROWS($1:1)),$R$6:$R$15,0))

+ 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] Array Formula? Lists?
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 07:05 PM
  2. Array Formula? Lists?
    By FB in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 05:05 PM
  3. [SOLVED] Array Formula? Lists?
    By FB in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 04:05 PM
  4. Array Formula? Lists?
    By FB in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  5. [SOLVED] Tricky array formula issue - Using array formula on one cell, then autofilling down a range
    By aspenbordr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2005, 11:05 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