I am using the formula below for averaging a student’s preparedness and it seems to work fine.
=IF(ISERR(COUNTIF(Progress!$D2:$O2,"y")/COUNTA(Progress!$D2:$O2)),"",COUNTIF(Progress!$D2:$O2,"y")/COUNTA(Progress!$D2:$O2))
Now I’d like to create a similar formula to determine average preparedness of an entire class, by month. Cells D2:D123 contain Y or N for preparedness for one month and cells A2:A123 identifies the class number. These cells are on the sheet titled Progress. I’ve spent days trying to write the formula but I finally gave up because I could not figure out how to add the class criteria. Below is an overview of the workbook.
Basically I'd like to display the monthly average of each class's preparedness. However, if a cell is blank (doesn't contain a Y or N), I do not want to count the cell as some students are not in attendance for certain months.
Workbook sheets:
Progess: Worksheet to enter data for student preparedness, by month.
Column A: Class Number
Column B: First Name
Column C: Last Name
Columns D-O: Months, beginning with July
Percentages: Worksheet to summarize average class preparedness by month. (I will populate new formula in cells beneath each month.)
Column A: Class Number (linked from Students worksheet)
Column B: Class Percentage To Date (linked from Students worksheet)
Column C: Headcount (Linked from Students Worksheet)
Columns D-O: Months of the school year, beginning with July
Students: Worksheet provides general date regarding student progress and classroom needs.
Column A: Class Number (used for calculations - numbers only)
Column B: Student's average preparedness based on data in worksheet Progress.
Column C: Class Number based on text (some classes contain test and numbers)
Column D: First Name
Column E: Last Name
Column F: Activity Date (Text field)
Columns G-I: Text fields for miscellaneous information
Bookmarks