Formula to find highest alphabetic name in a list of names

G

Grd

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
 
R

Ron Rosenfeld

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
 
D

Domenic

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!
 
G

Go

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
 
G

Go

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!
 
H

Harlan Grove

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)
 
D

Domenic

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

Top