max text\number

D

dwane101

a would like to get excel to calculate max. letter or max. number if it is possible
form =

a = a
ab = b
abc = c
abcd = d
abcd0 = 0
abcd01 = 1
abcd012 = 2
abcd0123 = 3

is there a typical excel formula to do this ?
 
J

J.E. McGimpsey

Don't know about typical, but here's one way. It must be
array-entered (using CTRL-SHIFT-ENTER or CMD-RETURN):

=CHAR(MAX(CODE(MID(A1,ROWS(INDIRECT("1:"&LEN(A1))),1))))
 
M

Michael Bednarek

a would like to get excel to calculate max. letter or max. number if it is possible
form =

a = a
ab = b
abc = c
abcd = d
abcd0 = 0
abcd01 = 1
abcd012 = 2
abcd0123 = 3

is there a typical excel formula to do this ?

=RIGHT(A1,1) should do it.
 

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