Values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

From highest value in A1 to A5, I want a 10 then 8 etc inserted automatically
in B1 to B5
 
=INDEX({10,8,6,4,2},RANK(A2,$A$1:$A$5,FALSE)+COUNTIF($A$1:A2,A2)-1)

if you want different numbers for equal values in A1:A5, otherwise:

=INDEX({10,8,6,4,2},RANK(A2,$A$1:$A$5,FALSE))

HTH,
Bernd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top