+ Reply to Thread
Results 1 to 16 of 16

Possible To Average Letters?

Hybrid View

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

    Possible To Average Letters?

    I need to average the following row of letters. Is it possible?


    A B D C C C C A B D A A A A A = AVERAGE OF THIS ROW (IE B)

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    If your letters are in A2:P2 and all in upper case try

    =CHAR(ROUND(SUMPRODUCT(CODE(A2:P2))/COUNTA(A2:P2),0))

  3. #3
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    This should work:

    =CHAR(ROUND(AVERAGE(IF(A1:Z1<>"",CODE(A1:Z1))),0))

    This is an array formula, so once you enter it, hit CTRL + SHIFT + ENTER, rather than just ENTER.

    HTH

    Jason

    Looks like I type too slow. LOL

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Hello Jason

    faster doesn't always equal better

    Your approach copes with blanks whilst mine doesn't

  5. #5
    Registered User
    Join Date
    12-29-2003
    Posts
    33
    Thank you both for your input. However, i forgot to mention that these cells are retrieving the "Letter Grade" based on another sheet via VLOOKUP command.

    So both do not work correctly. But I know you guys will have the answer!

    note:
    B4:U4 is my range we are dealing with, btw.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Quote Originally Posted by couger77
    Thank you both for your input. However, i forgot to mention that these cells are retrieving the "Letter Grade" based on another sheet via VLOOKUP command
    That shouldn't make any difference unless some of the cells return #N/A, is that the case? If not what results did you get with the above suggestions?

    What are the possible results in B4:U4?

  7. #7
    Registered User
    Join Date
    12-29-2003
    Posts
    33
    #VALUE! is what I am getting for a return in cell V4.

    The range of letters is simply A,B, or C.

    It is possible there might be an #N/A (will fix later) or blank in any given cell.

    Cheers

+ 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