On Fri, 29 Oct 2004 13:51:01 -0700, "JBoulton"
wrote:
Hi, all.
My data looks like this:
Code Value1 Value2
1 100 1000
2 125 999
3 110 25
How can I list the codes for the 25 largest numbers in Value1? The data
changes constantly.
TIA
You may use the LARGE worksheet function.
Assuming your table is in A1:Cn and you want the results in E2:F25,
Name the first two columns Code and Value1.
In E2:E26 enter the numbers 1-25
In F2 place the formula:
=INDEX(Code,MATCH(LARGE(Value1,E2),Value1,0))
Copy/Drag this down as far as needed.
--ron
|