rank text

  • Thread starter Thread starter Duane
  • Start date Start date
D

Duane

I'd like to mimic the RANK function with an array of text values.

Can I get a numerical value from each of a list of names?

For example:

A1 = George Bush
A2 = Barack Obama
A3 = Abraham Lincoln
A4 = James K. Polk

TEXTRANK(A1)=3
TEXTRANK(A2)=2
TEXTRANK(A3)=1
TEXTRANK(A4)=4
 
in B1:

=COUNTIF($A$1:$A$26,"<"&A1)+1 and copy down to display:

George Bush 3
Barack Obama 2
Abraham Lincoln 1
James K. Polk 4
 
Hm. Well, that certainly was simple! Thanks a ton for replying. I guess I
didn't realize that a text string could be < or > than another. I'll
remember that.
By the way, your answer just helped finish a cub scout pinewood derby
utility. Many thanks.
 

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

Similar Threads

Cell References 1
Conditional Printing 2
Combining Text From Cells 3
Change Cell colour on click 5
Numerating Cells. 2
How to make Weighted Average 3
Reversing text 11
Identify Text on two cells 1

Back
Top