+ Reply to Thread
Results 1 to 6 of 6

Tough problem! How can I average different columns based on student names??

  1. #1
    Registered User
    Join Date
    08-29-2016
    Location
    Brooklyn, NY
    MS-Off Ver
    2016
    Posts
    3

    Unhappy Tough problem! How can I average different columns based on student names??

    Hey everyone I have a really tricky problem, I'll try to be as clear as possible and I know I've been really close to the answer.

    I'm trying to create more of an automated grade tracker for my school.

    The first problem and can be totally bypassed if need be; having a list of students automatically generate on tab 2 based on student names and class names in tab 1, without having skipped cells. Yes confusing, I included pictures.
    Example: Tab 1 has student names, class names, and grades for all kinds of different tests as the columns. This will be a tracker for multiple grades and classes. I want a list to generate on tab 2 that sorts them into class lists. Tab 1 allows me to vlookup grades and I want tab 2 to average only specific test scores which....brings me to

    Problem 2; I'm having so much trouble averaging only certain columns based on student name. I honestly felt like a pivot table was going to solve this, but i only want two columns (student name and the average of specific tests). For example the average of test 1 and test 3 for based on student name. I've tried many versions of averageifs along with the combination of vlookups. I'm really struggling here. Any ideas???

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Tough problem! How can I average different columns based on student names??

    Hey there -

    Without seeing the file (or images as they did not show) I can only guess at the issues. Please clear sensitive data and post a sample file so that we can assist.

    Problem 1 Solution?
    Sounds like you would like Tab2 to be a report of sorts that is looking up and/or building a list of Classes and Students... Basically organizing a cluster of input data.
    Doable with helper columns and an understanding of how you want the data to appear

    Problem 2 Solution
    AVGIFS(AvgRange,CriteriaRange1,Criteria,CriteriaRange2,Criteria2) etc... this allows you to get an average where column 1 and 2 meet the two columns.


    HIDDEN SOLUTION
    Pivot Table!

    If this is a table of data, Just drop it into a pivot table. Rows put Classes Then Students. For Values Put Scores, Change it from sum or count that it starts as to Average.
    Then add a slicer so you can select your time frame.

    Pivot tables want to organize your data and display it based on filters you wish to apply.... such as tests, Grades, Classrooms, Teachers... Etc...

    Good Luck - (POST THAT FILE)
    -If you think you are done, Start over - ELeGault

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Tough problem! How can I average different columns based on student names??

    I can read PNG, so it is always usefull to add the excel file, in which forummembers can work.

    Nobody wants to recreate your data just to help you.

    I like the suggestion of the pivot table !!!
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    08-29-2016
    Location
    Brooklyn, NY
    MS-Off Ver
    2016
    Posts
    3

    Re: Tough problem! How can I average different columns based on student names??

    Hey guys thanks for the quick response. I'm going to post the excel file because there isn't any sensitive info just yet, all the grades and class names are made up right now. Also, ignore the ummm color choices for now, it was just to differentiate.

    What I currently have happening is teachers will paste their data on the "NHM Data", "Spelling Data" and "NS Data" tabs, then I want almost everything else to autogenerate. I may have been thinking about this incorrectly, so please just let me know if I was way off and there's actually an easy way to do this.
    I wanted the "Growth and Analysis" tab to autogenerate student names based on class and then also autogenerate averages based on the test name. For instance Student x would be placed under Oneonta and then it would average their NHM scores from column E, H, K, etc...throughout the year. I changed this slightly in the "Academic Other" tab because the test types weren't listed next to eachother and I thought it might be easier that way.

    This is all aimed at creating the least amount of work for the teachers. If I can have these averages autogenerate I will be able to do a ton more analysis for them. Like I said, I feel like I was really close to the right equation. First thing is I don't know how to populate the list of kids under each class without leaving spaces. And then I don't know how to get the averages of only NHM tests based on the student names.

    Any ideas? I'm going to try and use your answers for the time being and see if that will help me.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Tough problem! How can I average different columns based on student names??

    if you want to use pivot table (like you did) then you probalby will know the data needs to be aranged in a vertical way (table) instead of a horizontally way.

  6. #6
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Tough problem! How can I average different columns based on student names??

    Hey Greg,

    What oeldere is stating is that your data "Source" for your Pivot table is in a format that will not be optimal.
    You should lay it out in a format where each metric you are pivoting on and/or trying to view will be in a single column.
    This would also require that you keep class data in a single sheet in order to view it on a single pivot...
    Class Month Year Student Name OSIS # Score

    See Attached : Monthly Mastery Tracker_Example.xlsx

    Notice the Class_Log Tab is a single source of data that takes all of your classes into account and gives a column to each point you wish to view.
    Now when you go to the Pivot_Report Tab you should note the layout as this is like the optimal view for how you currently have presented your data and/or desire to view it.

    I went ahead and added Pivot Table Slicers. Those are those fancy filter buttons around the border that allow you to click a single or (CTRL or Shift Click Multiples) to view only that in which you choose to view at the given time. This allows you to choose NHM and suddenly the Pivot is your Academic scores or select all and it is Academic Other... Also allows you to click a single Student to break down their scores over all so that they can see a month by month, YTD and "School Year" Grand Total.

    Cheers
    ELeGault
    Last edited by ELeGault; 08-30-2016 at 10:56 AM.

+ 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] Student ranking based on pass or fail and average grade (multiple condition)
    By zalya in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-08-2021, 12:37 AM
  2. Generating student pass/fail average based on 4-point rubric
    By stuartgannon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-19-2015, 05:48 PM
  3. Replies: 1
    Last Post: 02-06-2014, 08:07 AM
  4. [SOLVED] I need to compare student quiz submission names/grades against a master list of names.
    By NoxExcel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-15-2013, 08:00 PM
  5. Tough Inventory Weighted Average Price Problem, Please Help!
    By 1337 Ninja in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2013, 10:15 PM
  6. Search For Student Names
    By pareshshah in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-12-2012, 05:26 PM
  7. Average based on names
    By mike001100 in forum Excel General
    Replies: 2
    Last Post: 06-25-2009, 04:56 AM

Tags for this Thread

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