O
ouija
Hi all
I have an array of data, i want to find the 1st to 5th largest numbers
in each line but if there are 2 values of the same size i want the
first that occurs to be returned as highest and the second instance to
be returned as 2nd highest.
so far when i try this it returns the same value for both 1st and 2nd
highest using hlookup
my table looks like so;
______________________________________________________________
A B C D E F G H I J K L
1. 1 2 3 4 5 0-0 1-0 0-1 2-0 1-1 0-2 3-0
2. 0.5 0.4 0.5 0.3 0.4 0.1 0.2
3. 0.5 0.3 0.2 0.4 0.6 0.1 0.0
4. 0-0 1-0 0-1 2-0 1-1 0-2 3-0
______________________________________________________________
I want;
A2 to return 0-0 (in reference to F2),
B2 to return 0-1 (in reference to H2),
C2 to return 1-0 (in reference to G2),
D2 to return 1-1 (in reference to J2),
E2 to return 2-0 (in reference to I2)
So far i have tried using HLOOKUP to say;
=HLOOKUP(LARGE(F2:L2,1),F2:L4,3,FALSE in A2
=HLOOKUP(LARGE(F2:L2,2),F2:L4,3,FALSE in B2
=HLOOKUP(LARGE(F2:L2,3),F2:L4,3,FALSE in C2
=HLOOKUP(LARGE(F2:L2,4),F2:L4,3,FALSE in D2
=HLOOKUP(LARGE(F2:L2,5),F2:L4,3,FALSE in E2
But this returns;
0-0 0-0 1-0 1-0 2-0
When what i actually want is;
0-0 0-1 1-0 1-1 2-0
Please help, if this makes sense
Ouija
I have an array of data, i want to find the 1st to 5th largest numbers
in each line but if there are 2 values of the same size i want the
first that occurs to be returned as highest and the second instance to
be returned as 2nd highest.
so far when i try this it returns the same value for both 1st and 2nd
highest using hlookup
my table looks like so;
______________________________________________________________
A B C D E F G H I J K L
1. 1 2 3 4 5 0-0 1-0 0-1 2-0 1-1 0-2 3-0
2. 0.5 0.4 0.5 0.3 0.4 0.1 0.2
3. 0.5 0.3 0.2 0.4 0.6 0.1 0.0
4. 0-0 1-0 0-1 2-0 1-1 0-2 3-0
______________________________________________________________
I want;
A2 to return 0-0 (in reference to F2),
B2 to return 0-1 (in reference to H2),
C2 to return 1-0 (in reference to G2),
D2 to return 1-1 (in reference to J2),
E2 to return 2-0 (in reference to I2)
So far i have tried using HLOOKUP to say;
=HLOOKUP(LARGE(F2:L2,1),F2:L4,3,FALSE in A2
=HLOOKUP(LARGE(F2:L2,2),F2:L4,3,FALSE in B2
=HLOOKUP(LARGE(F2:L2,3),F2:L4,3,FALSE in C2
=HLOOKUP(LARGE(F2:L2,4),F2:L4,3,FALSE in D2
=HLOOKUP(LARGE(F2:L2,5),F2:L4,3,FALSE in E2
But this returns;
0-0 0-0 1-0 1-0 2-0
When what i actually want is;
0-0 0-1 1-0 1-1 2-0
Please help, if this makes sense
Ouija