+ Reply to Thread
Results 1 to 3 of 3

min and char functions

  1. #1
    Registered User
    Join Date
    11-01-2011
    Location
    Barton, England
    MS-Off Ver
    Excel 2007
    Posts
    1

    min and char functions

    I am having problems with a formula
    I have columns each containing a letter grade eg ABCD
    I have a formula that will return the maximum or minimum garde in the column that is
    =char(min(code(a1),code(b1),code(c1),code(d1)))
    This works fine until I have unfilled/blank colums eg A_CD (for missing assignment grades) or A ___ (only first assignment complete)
    As soon as this is the case I just get #VALUE! error.

    Can anyone help?

    Thank you in anticipation
    Mark

    PS I would also like to use the MODE function on cells that contain a grade
    Last edited by MarkSidell; 11-01-2011 at 03:47 PM. Reason: Didn't finish writing it

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: min and char functions

    The information you have provided is not enough for anyone to offer you help. Please help us to help you by providing appropriate information.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: min and char functions

    Try

    =CHAR(IF(LEN(A1:A7)=1,MAX(CODE(A1:A7))))
    Entered as an Array (use CNTRL SHFT ENTER instead of ENTER)
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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