3,000人の成績をExcelで集計:AIで加重平均と順位を計算
GetSheetAI で3つの成績表を学籍番号で照合。20/30/50の配点で成績を計算し、クラス・学年順位と欠席ステータスをまとめる実演です。
開発者のローカル環境で撮影した実際の画面です。顧客情報ではなく模擬データを使用し、元のアプリ画面をそのまま掲載しています。短い動画には早送りの処理場面が含まれます。
▶ YouTube で短いデモを見る3つの成績ファイルに3,000人。しかも行の順番が違います。この実演では、GetSheetAI が学籍番号で照合し、Grade Summary に成績と順位をまとめます。
先に採点ルールを決める
Coursework、Midterm、Final の3表には中国語・数学・英語の点数があります。ブックには添付と同じデータがあるため、再取り込みは不要と指定しました。
各科目は20%、30%、50%で加重し、小数第1位に丸めます。3科目の合計で降順の競技順位を計算し、同点は同順位、次の順位を飛ばします。欠試の科目は Absent、合計と順位は空欄。その他は1科目でも60未満なら Needs attention、それ以外は Complete です。
実際に送った指示
最初の指示で計算と順位のルールを伝え、その後に数式や値を変えないレイアウト調整を依頼しました。以下に英語の原文を残しています。
The active workbook already contains all three complete source sheets, identical to the uploaded files; do not import them again. Match the three uploaded grade files by Student ID and summarize all 3,000 students in Grade Summary. For each subject, weight Coursework 20%, Midterm 30%, and Final 50%, rounded to one decimal; calculate the three-subject Total, Class Rank, and Year Rank. Only rows whose Total is numeric may be counted in either ranking; ignore blanks and text totals. Use descending competition ranks (ties share a rank and skip the next). An Absent entry makes that subject grade Absent; leave Total and both ranks blank and exclude incomplete students from ranking. Status is Absent for missing exams, Needs attention if any subject grade is below 60, otherwise Complete; color the status cells pale yellow, pale red, and pale green respectively. Columns: Student ID, Name, Class, Chinese Grade, Math Grade, English Grade, Total, Class Rank, Year Rank, Status. Sort by Student ID and keep source sheets unchanged.
Please tidy the Grade Summary layout without changing any formulas or values. Names and status labels should fit on one line. Use column widths A=17, B=20, C=14, D=18, E=16, F=18, G=14, H=15, I=15, J=23; set rows 2:3001 to height 24, turn off text wrapping, and keep the header readable. Show D:G to one decimal and H:I as whole numbers without thousands separators. Keep all status colors.
3つの一覧を1つの集計表に
全3,000人を学籍番号順に整理。Complete は2,079人、Needs attention は903人、Absent は18人でした。不完全な成績は順位から除外し、欠試を0点として扱いません。元の3表は変更していません。
自分の成績表に合わせる
科目、配点、欠試と同点の扱いを学校のルールに置き換えてください。手作業の照合や数式入力を減らすための例です。模擬データによるローカル開発者デモで、追加の整形指示も含みます。1回の指示や31秒で処理が終わるという意味ではありません。

