+ Reply to Thread
Results 1 to 4 of 4

Average

  1. #1
    Spike
    Guest

    Average

    Does anyone know how one could get an average of a list of say exam marks in
    letter form ie; A,B,C,D so if it was a simple short list in a single column
    with say 10 letters in total with 6 A's, 2 B's, 1 C and 1 D then the average
    i would be looking for would be A though i know that is not a true average
    but it is the most recorded mark.
    --
    with kind regards

    Spike

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    You could use a helper column and convert the letter grades to numbers. Say if in column A1:A9 you had your grades (a,b,c,d,f). In cell b1 enter:

    =IF(A1="a",1,IF(A1="b",2,IF(A1="c",3,IF(A1="d",4,IF(A1="f",5)))))

    You can then drag this down in your range.

    In C1:C5 type 1-5 in ascending order. (1 representing a and so on).

    Select cells E1:E5 and type in this formula and commit with Ctrl-Shift-Enter:

    =FREQUENCY(B1:B9,C1:C5)



    Cheers,

    Steve

  3. #3
    Roger Govier
    Guest

    Re: Average

    Hi Spike

    One way
    {=CHAR(INT(AVERAGE(CODE(UPPER(A1:A10)))))}

    This is an array formula so commit with Ctrl+Shift+Enter not just Enter when
    setting up the formula or amending it.
    Excel will insert the curly braces { } do not type them yourself.

    Regards

    Roger Govier


    Spike wrote:
    > Does anyone know how one could get an average of a list of say exam marks in
    > letter form ie; A,B,C,D so if it was a simple short list in a single column
    > with say 10 letters in total with 6 A's, 2 B's, 1 C and 1 D then the average
    > i would be looking for would be A though i know that is not a true average
    > but it is the most recorded mark.


  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    See if this works:

    For grades in A1:A10

    B1: =SUMPRODUCT(SEARCH(A1:A10,"FDCBA")-1)/COUNTA(A1:A10)

    Note: that accounts for whole grades only: A,B,C,D,F
    Half-grades would need a variation.

    Does that help?
    Ron
    Last edited by Ron Coderre; 11-22-2005 at 04:17 PM. Reason: Removed unnecessar braces around FDCBA

+ 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