[mso] FW: Excel: Ranked List problem

I have a list of names in Col A with scores for (as an example) 4 subjects
in Cols B to E.  The columns are headed with 'Name', 'English', 'Math',
'Science', 'IT'.  I need to rank the scores for each name (that I can do
with RANK) and thus produce a ranked list (as a string)against each name,
for example, "Math, English, IT, Science", if the ranking were 2,1,4,3.

Example Table A1:E5

Name       English     Math  Science       IT
Partridge       19       15       18       20
Hare            12       19       20       18
Smith           16       14       15       12
Jones           13       17       17       14

I can rank these scores for each Name with RANK, which produces (as you
would expect):

English     Math  Science     IT
      2        4        3      1
      4        2        1      3
      1        3        2      4
      4        1        1      3

What I would like to do, however, is to produce a string for each name as:

IT, English, Science, Math
Science, Math, IT, English
...

I might do this, perhaps with a CHOOSE dependent on an INDEX (i.e. using
INDEX to select the column containing 1 and CHOOSE to print the header of
that column), but a problem arises in the 4th row where Jones should have:

=Math, =Science, IT, English

I am not so concerned about the '=' sign (though it would be nice).  The
bugbear is that CHOOSE won't do it!

I wonder if anyone can help (if not immediately, then it should prove a nice
puzzle for a long weekend!)

Andrew Kendon 

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: