Formula to find highest alphabetic name in a list of names

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

Guest

Hi,

I tried using the max function to find the highest name eg Zachary but it
only seems to work with numbers. I am I doing something wrong?

Is there some function to find the highest name in a list of names.

Its driving me crazy. Any help greatly appreciated.

Thanks

Sandra
 
Hi,

I tried using the max function to find the highest name eg Zachary but it
only seems to work with numbers. I am I doing something wrong?

Is there some function to find the highest name in a list of names.

Its driving me crazy. Any help greatly appreciated.

Thanks

Sandra

What do you mean by "highest"?

If you mean the text string that will sort last in an Excel text sorted range,
then one way would be to download and install Longre's free morefunc.xll add-in
from http://xcell05.free.fr

Then use the formula:

=VSORT(rng)


--ron
 
Try...

=INDEX(A2:A10,MATCH(0,IF(A2:A10<>"",COUNTIF(A2:A10,">"&A2:A10)),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!
 
thanks ron

s

Ron Rosenfeld said:
What do you mean by "highest"?

If you mean the text string that will sort last in an Excel text sorted range,
then one way would be to download and install Longre's free morefunc.xll add-in
from http://xcell05.free.fr

Then use the formula:

=VSORT(rng)


--ron
 
Thanks this is what i was after. Works nicely
s

Domenic said:
Try...

=INDEX(A2:A10,MATCH(0,IF(A2:A10<>"",COUNTIF(A2:A10,">"&A2:A10)),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!
 
Domenic wrote...
Try...

=INDEX(A2:A10,MATCH(0,IF(A2:A10<>"",COUNTIF(A2:A10,">"&A2:A10)),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.
....

You could shrink that to the nonarray formula

=LOOKUP(2,1/(COUNTIF(A2:A10,">"&A2:A10&"*")=0),A2:A10)
 
Thanks Harlan! Very interesting...

Harlan Grove said:
Domenic wrote...
...

You could shrink that to the nonarray formula

=LOOKUP(2,1/(COUNTIF(A2:A10,">"&A2:A10&"*")=0),A2:A10)
 

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