27.14 Education: Pass Rate, Scores and Attendance
Example first. Shahrukh coordinates fictional training centres in four cities and wants pass rate, scores and attendance for the batch.
Education project — in 30 seconds
What: A Education tracker: one Table tblStudents, the calculated column Result, KPI cells, a PivotTable by City, a chart and a one-page dashboard.
Why: This is the shape of a real Education report: Pass %, Average Score, Average Attendance are the numbers a manager reads first.
Tiny example: From 6 rows: Pass % = 66.7%, Average Score = 59.2, Average Attendance = 81.8%.
Education project — 30 सेकंदात
काय: Education चा tracker: tblStudents नावाची एक Table, Result हा calculated column, KPI cells, City प्रमाणे PivotTable, एक chart आणि एका पानाचा dashboard.
का: खऱ्या Education report चा हाच आकार असतो: Pass %, Average Score, Average Attendance हे आकडे manager सगळ्यात आधी वाचतो.
छोटं उदाहरण: 6 rows मधून Pass % = 66.7%, Average Score = 59.2, Average Attendance = 81.8%.
Education project — 30 सेकंड में
क्या: Education का tracker: tblStudents नाम की एक Table, Result calculated column, KPI cells, City के हिसाब से PivotTable, एक chart और एक पन्ने का dashboard.
क्यों: असली Education report का यही आकार होता है: Pass %, Average Score, Average Attendance वे आँकड़े हैं जो manager सबसे पहले पढ़ता है.
छोटा उदाहरण: 6 rows से Pass % = 66.7%, Average Score = 59.2, Average Attendance = 81.8%.
First look at the data (before → after):
Expected result — Calculated column
| StudentID | Result |
|---|---|
| ST-401 | Pass |
| ST-402 | Fail |
| ST-403 | Pass |
| ST-404 | Fail |
| ST-405 | Pass |
| ST-406 | Pass |
Expected result — KPI cells (expected results)
| KPI | Formula | Result |
|---|---|---|
| Pass % | =COUNTIF(tblStudents[Result],"Pass")/ROWS(tblStudents[Result]) | 66.7% |
| Average Score | =AVERAGE(tblStudents[Score]) | 59.2 |
| Average Attendance | =AVERAGE(tblStudents[Attendance]) | 81.8% |
Before table and formula as text
Before — Table tblStudents (fictional sample rows)
| StudentID | City | Course | Attendance | Score |
|---|---|---|---|---|
| ST-401 | Pune | Excel | 92.0% | 78 |
| ST-402 | Pune | Power BI | 75.0% | 35 |
| ST-403 | Nashik | Excel | 88.0% | 64 |
| ST-404 | Nagpur | Excel | 60.0% | 38 |
| ST-405 | Kolhapur | Power BI | 95.0% | 88 |
| ST-406 | Nashik | Power BI | 81.0% | 52 |
Formula / click path
Result: =IF([@Score]>=40,"Pass","Fail")
Pass %: =COUNTIF(tblStudents[Result],"Pass")/ROWS(tblStudents[Result])
Average Score: =AVERAGE(tblStudents[Score])
Average Attendance: =AVERAGE(tblStudents[Attendance])
Do it step by step:
- Type the data and press Ctrl+T; name the Table
tblStudentsin Table Design › Properties › Table Name. - Add the column Result with
=IF([@Score]>=40,"Pass","Fail"); the Table fills it down. - On a KPI sheet type
=COUNTIF(tblStudents[Result],"Pass")/ROWS(tblStudents[Result])and the other KPI formulas from the table below. - Click Insert › PivotTable › From Table/Range, put City in Rows and Score in Values (Average).
- Click PivotTable Analyze › PivotChart › Clustered Column, then PivotTable Analyze › Insert Slicer › Course.
- Move the KPI cells, the chart and the slicer onto a sheet named Dashboard.
स्टेप बाय स्टेप करून बघा:
- Data type करा आणि Ctrl+T दाबा; Table Design › Properties › Table Name मध्ये Table ला
tblStudentsनाव द्या. - Result column
=IF([@Score]>=40,"Pass","Fail")ने जोडा; Table तो खाली भरते. - KPI sheet वर
=COUNTIF(tblStudents[Result],"Pass")/ROWS(tblStudents[Result])आणि खालच्या table मधले बाकीचे KPI formulas type करा. - Insert › PivotTable › From Table/Range वर click करा, Rows मध्ये City आणि Values मध्ये Score (Average) ठेवा.
- PivotTable Analyze › PivotChart › Clustered Column वर click करा, मग PivotTable Analyze › Insert Slicer › Course.
- KPI cells, chart आणि slicer Dashboard नावाच्या sheet वर हलवा.
स्टेप बाय स्टेप करके देखें:
- Data type करें और Ctrl+T दबाएँ; Table Design › Properties › Table Name में Table को
tblStudentsनाम दें. - Result column
=IF([@Score]>=40,"Pass","Fail")से जोड़ें; Table उसे नीचे भर देती है. - KPI sheet पर
=COUNTIF(tblStudents[Result],"Pass")/ROWS(tblStudents[Result])और नीचे की table के बाकी KPI formulas type करें. - Insert › PivotTable › From Table/Range पर click करें, Rows में City और Values में Score (Average) रखें.
- PivotTable Analyze › PivotChart › Clustered Column पर click करें, फिर PivotTable Analyze › Insert Slicer › Course.
- KPI cells, chart और slicer को Dashboard नाम की sheet पर ले जाएँ.
The brief. Build a results sheet: Pass/Fail per student (40 or more passes), pass %, average score, average attendance, average score by city (Value Field Settings › Average), a chart and a Course slicer.
Calculated column formulas:
| Column | Formula |
|---|---|
| Result | =IF([@Score]>=40,"Pass","Fail") |
KPI cells (check your numbers):
| KPI | Formula | Result |
|---|---|---|
| Pass % | =COUNTIF(tblStudents[Result],"Pass")/ROWS(tblStudents[Result]) | 66.7% |
| Average Score | =AVERAGE(tblStudents[Score]) | 59.2 |
| Average Attendance | =AVERAGE(tblStudents[Attendance]) | 81.8% |
PivotTable (expected):
| City | Average of Score |
|---|---|
| Kolhapur | 88.0 |
| Nagpur | 38.0 |
| Nashik | 58.0 |
| Pune | 56.5 |
| Grand Total | 59.2 |
Chart and dashboard (one under the other):
- Click inside the PivotTable, then PivotTable Analyze › PivotChart › Clustered Column › OK.
- Add a chart title and data labels with Chart Design › Add Chart Element.
- Click PivotTable Analyze › Insert Slicer, tick Course and click OK.
- Insert a new sheet named Dashboard. In it, link a card cell to each KPI (for example
=KPI!B2) and format it large and bold. - Cut and paste the chart and slicer onto the Dashboard sheet.
- On the View tab, untick Gridlines in the Show group. Select the dashboard area and click Page Layout › Print Area › Set Print Area.
Template and guide: download the practice template Education_Template.xlsx and read the step-by-step template guide. The template's sample rows may differ from the rows above; the method is the same.
Related ready-made dashboard: the Education dashboard guide and its workbook Education_Dashboard.xlsx show a finished version of this kind of report.
Practice task (try it before you open the answer):
- Which city has the highest average of Score?
- Filter the Table on City = Kolhapur (Data › Filter): what is Pass % for Kolhapur alone?
- Add the Clustered Column PivotChart and the Course slicer to your Dashboard sheet.
Answer
Kolhapur (88.0). For Kolhapur only (1 row): Pass % = 100.0%. The chart shows 4 bars, one per city.
Ravindra Bagale's Tip
Show Average Score next to the rupee total. A percentage or ratio without the size behind it can make a small city look like a big problem.
Ravindra Bagale's Tip – मराठी
Average Score रुपयांच्या total शेजारी दाखवा. मागचा आकार न दाखवता percentage किंवा ratio लहान city ला मोठी समस्या असल्यासारखं दाखवू शकतो.
Ravindra Bagale's Tip – हिंदी
Average Score को रुपये के total के पास दिखाएँ. पीछे का आकार दिखाए बिना percentage या ratio छोटी city को बड़ी समस्या जैसा दिखा सकता है.
Loading practice tasks...
- Pass or fail (Easy): "Pass" if B2 is at least 40, else "Fail". (sheet "Scores")
- Total (Easy): B2 plus C2. (sheet "Scores")
- Passed score 1 (Easy): How many in B2:B11 are 40 or more? (sheet "Scores")
- Days taken (Easy): C2 minus B2. (sheet "Dates")
- Start year (Easy): Year of B3. (sheet "Dates")
- Due month (Easy): Month number of C3. (sheet "Dates")
- Earliest start (Easy): Earliest date in B2:B9 (as a date number). (sheet "Dates")
- Passed both (Medium): TRUE if B3 and C3 are both at least 40. (sheet "Scores")
- Passed either (Medium): TRUE if B4 or C4 is at least 75. (sheet "Scores")
- Grade (Medium): Grade for the average of B2:C2: "A" 75+, "B" 60+, "C" 40+, else "F". (sheet "Scores")
- Working days (Medium): Working days from B2 to C2. (sheet "Dates")
- Weekday of due (Medium): Weekday number of C4 (Sunday = 1). (sheet "Dates")