+ Reply to Thread
Results 1 to 2 of 2

MAX formula for alphabetical letters

  1. #1
    Will Grattan
    Guest

    MAX formula for alphabetical letters

    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

  2. #2
    Forum Contributor
    Join Date
    10-14-2004
    Location
    San Diego, CA
    Posts
    213
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1