+ Reply to Thread
Results 1 to 9 of 9

Row of numbers - need to average w/ grade letter

Hybrid View

  1. #1
    Registered User
    Join Date
    12-29-2003
    Posts
    33

    Row of numbers - need to average w/ grade letter

    I have a row of numbers:

    2.0 2.0 3.0 4.0 3.0

    I need to average this row and then assign a grade letter according to the result. I have a table that lists the Grade and Avg in two columns to accomplish the latter. (the table is named "SCALE")

    Thanks

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    can you please tell what each number translates to in letters? ie, is a 4.0 an A, etc

  3. #3
    Registered User
    Join Date
    12-29-2003
    Posts
    33
    0.00 F
    1.00 D
    1.67 C-
    2.00 C
    2.33 C+
    2.67 B-
    3.00 B-
    3.33 B+
    3.67 A-
    4.00 A-

  4. #4
    Registered User
    Join Date
    12-29-2003
    Posts
    33
    It also needs to ignore #N/A in any given cell.

    Thanks!

  5. #5
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Assuming your information is running in row A, columns 1-5:

    First, for the average, enter this formula into Cell F1:

    =AVERAGE(A1:E1)

    Then, in cell G1, enter this formula:

    =LOOKUP(F1,{0,1,1.67,2,2.33,2.67,3,3.33,3.67,4},{"F","D","C-","C","C+","B-","B","B+","A-","A+"})

    Let me know if that works

    EDITED TO ADD:
    I didnt see your request for it to ignore #N/A. Use this formula instead:

    =IF(ISERROR(F1),"",LOOKUP(F1,{0,1,1.67,2,2.33,2.67,3,3.33,3.67,4},{"F","D","C-","C","C+","B-","B","B+","A-","A+"}))
    Last edited by BigBas; 02-28-2007 at 05:47 PM.

  6. #6
    Registered User
    Join Date
    12-29-2003
    Posts
    33
    Avg works if there is no #N/A. Otherwise it returns #N/A.

    Can we make the average formula ignore same?

    Thanks

+ 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