+ Reply to Thread
Results 1 to 7 of 7

Ranking with letters

  1. #1
    Registered User
    Join Date
    08-17-2012
    Location
    Serbia
    MS-Off Ver
    Excel 2010
    Posts
    85

    Ranking with letters

    Is there a function like rank() that enables ranking with letters e.g, A-F?
    Last edited by Jovica; 11-08-2012 at 06:28 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Ranking with letters

    Why not use sorting A to F?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-17-2012
    Location
    Serbia
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Ranking with letters

    I don't need to sort values I need to compare them (numerical values) and give rank to the reference values, but rank() just doesn't look good to me. I could replace 1-7 ranking results with A-G via IF function but I thought that there must be some other solution. And besides that I'm trying to avoid unnecessary nesting with if function 'cause my workbook calculations are already so slow.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Ranking with letters

    I bet you get better help if you add an excel file without confidentional information.

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Ranking with letters

    One way is to use CHAR function.

    =CHAR(Your_Rank_Formula+64)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  6. #6
    Registered User
    Join Date
    08-17-2012
    Location
    Serbia
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Ranking with letters

    Char() function is working like charm, thank you so much.

  7. #7
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Ranking with letters

    CHAR() only give you betwen A-Z, if you want to return AA, Ab etc. then,

    =SUBSTITUTE(ADDRESS(1,Your_Rank_Formula,4),1,"")

    Will work in Excel 2007 or higher A-XFD

    Excel 2003 A-IV

+ 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