MAX formula for alphabetical letters

G

Guest

Seems like it must be simple! I have a row of alphabetical letters from A-Z
and I would like to be able to formulate what the highest alphabetical letter
in that row (Z being the highest). The result therefore is the letter that is
the MAX. Help much appreciated
 
F

Flintstone

Hi Will:

=CODE(LEFT(UPPER(B1),1))-64

Lets say cell B1 contains the word, “apple”, this formula will convert
it to upper case and return the ASCII code for the first left most
character which is A, and subtract 64, making letter A = 1.

Or

=FIND(LEFT(UPPER(B1),1),“ABCDEFGHIJKLMNOPQRSTUVWXYZ”,1)

Same thing as above except instead of returning the letters code it
will find its position in the formulas array,
“ABCDEFGHIJKLMNOPQRSTUVWXYZ”.

Matt
 

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