[mso] Re: Excel Ranked List Problem
- From: "All About Office" <webmaster@xxxxxxxxxxxxxxxxxxxx>
- To: <mso@xxxxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 22:02:17 +0100
Here's the readable version (I hope):
I've only had a quick look at this, I used RANK to get the values as you
showed and then used the formula shown below to give the results =
displayed
(the formula shown is the one for row 12, if you enter the values in =
column
G to tell the formula where the bottom row is in the HLOOKUP then you =
should
be able to copy the formula).
Col A B C D E F
G
8 Name =09
9 Partridge 2 4 3 1
IT,English,Science,Math 5
10 Hare 4 2 1 3
Science,Math,IT,English 4
11 Smith 1 3 2 4
English,Science,Math,IT 3
12 Jones 4 1 1 3
Math,Science,IT,English 2
13 English Math Science IT =09
=3DCONCATENATE(IF(COUNTIF($B12:$E12,"=3D1")>0,HLOOKUP(1,$B12:$E$13,G12,0)=
,HLOOKU
P(1,$B12:$E$13,G12,1)),",",IF(COUNTIF($B12:$E12,"=3D2")>0,HLOOKUP(2,$B12:=
$E$13
,G12,0),HLOOKUP(2,$B12:$E$13,G12,1)),",",IF(COUNTIF($B12:$E12,"=3D3")>0,H=
LOOKU
P(3,$B12:$E$13,G12,0),HLOOKUP(3,$B12:$E$13,G12,1)),",",IF(COUNTIF($B12:$E=
12,
"=3D4")>0,HLOOKUP(4,$B12:$E$13,G12,0),HLOOKUP(4,$B12:$E$13,G12,1)))
I can't guarantee it would work in all situations, if you haven't got an
exact match for HLOOKUP then you have to settle for the nearest unless =
you
want to develop the formula further to prevent #N/A being returned but =
it
seems to work OK for this data.
(I hope this comes to you free of the dreaded =3D3Ds)
Andrea Jones
www.allaboutoffice.co.uk
--=20
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: =
28/04/2006
=20
*************************************************************
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
*************************************************************
- Follow-Ups:
- [mso] Re: Excel Ranked List Problem
- From: Andrew
Other related posts:
- » [mso] Re: Excel Ranked List Problem
- » [mso] Re: Excel Ranked List Problem
- [mso] Re: Excel Ranked List Problem
- From: Andrew