+ Reply to Thread
Results 1 to 8 of 8

Average Function Limited to the Number of Students

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    61

    Average Function Limited to the Number of Students

    Hi Everybody,

    I am working on an excel master marksheet which will be distributed to many teachers to fill in their students marks. How can I enter an average function that can work out the mean for those different classes. For example I'd like the main average function to be like this =average(d5:d50) but if a teacher has thirty students in his list the mean will be only limited to the marks of those thirty students. Same thing I want for the mode function and the median function.

    Thanks in advance.

    Alya

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Average Function Limited to the Number of Students

    Hi,

    I'd need a sample file in order to understand structure of your file.

    An example: in column A names of classes (or Professors's names) in column B votes


    Please Login or Register  to view this content.


    Please Login or Register  to view this content.
    could be helpful too

    Just for sharing some examples.

    Regards
    Last edited by canapone; 02-05-2014 at 02:33 PM.
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    03-07-2013
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: Average Function Limited to the Number of Students

    Thanks a lot for your help. this is a sample file. Please help
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Average Function Limited to the Number of Students

    Hi,

    in W18

    =IFERROR(AVERAGEIF(N10:N159,">0"),0)


    could be ok

    Regards

  5. #5
    Registered User
    Join Date
    03-07-2013
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: Average Function Limited to the Number of Students

    Thanks a lot Canapone.

    What about the mode function?

  6. #6
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Average Function Limited to the Number of Students

    Hi,

    you could use an array MODE

    Please Login or Register  to view this content.
    This formula appears housed in curly brackets, it has been confirmed not simply with enter, but pressing control+shift together and hitting enter.

    Hope it helps
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-14-2014
    Location
    Baku
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Average Function Limited to the Number of Students

    Why Don't you use just =sum(d5:d50)/count(d5:d50)

  8. #8
    Registered User
    Join Date
    03-07-2013
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: Average Function Limited to the Number of Students

    Thank you so much Vugar and Canapone for your suggestions which were really helpful.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Count number of students depanding on their score.
    By moxeve in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2013, 06:01 AM
  2. [SOLVED] Remove the Absent Students from the List of Failing Students
    By alyaahmed in forum Excel General
    Replies: 2
    Last Post: 03-28-2013, 01:40 PM
  3. Replies: 3
    Last Post: 05-04-2011, 07:12 AM
  4. how to get the (average or sum) in a limited period of time
    By voltaire101 in forum Excel General
    Replies: 6
    Last Post: 01-23-2009, 07:35 AM
  5. [SOLVED] limited number of columns
    By Katja in forum Excel General
    Replies: 2
    Last Post: 02-05-2005, 12:06 PM

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