View Single Post
  #8   Report Post  
Bob Phillips
 
Posts: n/a
Default Numbering items from a list in order

Natalie,

Isn't that because it is referring to the rank, not the number. So when 2 is
in position 9, the third largest is 9, when it is in position 7, the 2nd
largest is in in 9?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Natalie" wrote in message
...
Thanks Bryan, So near yet so far.
unfortunately its a bad example because whilst your formula works
brilliantly for this example (i.e. the numbers are in descending order) if

I
swap the numbers 5 and 2 around in the list, 2 is still 9 using your

formula
instead of its new position 7, and 5 is still 7 instead of its new

position 9.
Any ideas? This ones really stumped me.
--
Natalie


"Bryan Hessey" wrote:


Try

=IF(LARGE(A$1:A$9,ROW())0,MATCH(LARGE(A$1:A$9,ROW ()),A$1:A$9,0),"")

and formula-copy down to row 9

It will present the position required, but in descending sort order.

Hope this helps


Natalie Wrote:
Does someone have a method for identifying a set of numbers by their
position
within in a list.
For example
0,0,0,10,0,0,5,0,2
If I want to identify all the items that are not equal to zero, by
their
position
10 would return 4, 5 would return 7, and 2 would return 9
I need to identify every occurance.
--
Natalie



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile:

http://www.excelforum.com/member.php...o&userid=21059
View this thread:

http://www.excelforum.com/showthread...hreadid=480372