Home › GWA in Excel

Weighted Average in Excel and Google Sheets (GWA Formula)

One formula gives your GWA. Below are versions for leaving out subjects, matching your registrar’s rounding and adding up several semesters, plus a free template.

To get a weighted average in Excel, put units in column B and grades in column C, then use =SUMPRODUCT(B2:B10,C2:C10)/SUM(B2:B10). The same formula works in Google Sheets and LibreOffice.

A weighted average Excel sheet does what your registrar does by hand: it multiplies each grade by its units, adds the products and divides by the total units. You need four columns and one formula, and you can copy the layout below as is.

Set up the GWA sheet

Sample layout for a GWA calculator in Excel
ABCD
1SubjectUnitsGradeInclude
2Calculus 151.751
3Physics 142.001
4NSTP 131.000

Type units and grades as plain numbers. A grade typed as text, such as '1.75 or 1.75 with a trailing space, is skipped by SUMPRODUCT without any warning, so your GWA comes out wrong.

The weighted average formula

=SUMPRODUCT(B2:B10, C2:C10) / SUM(B2:B10)

SUMPRODUCT multiplies each grade by its units and adds the results. SUM adds up the units. With the first two rows above, that is (5 × 1.75 + 4 × 2.00) ÷ 9 = 16.75 ÷ 9 = 1.86.

Leave out NSTP or PE

Put 1 in column D for subjects that count and 0 for ones that don’t. Then use:

=SUMPRODUCT(B2:B10, C2:C10, D2:D10) / SUMPRODUCT(B2:B10, D2:D10)

The bottom half matters. If you divide by plain SUM(B2:B10), the NSTP units still sit in the denominator and pull your GWA toward a better grade than you earned.

Handle INC, blank rows and errors

The free template below applies all three rules for you: a row counts only when its units are a positive number, its grade is a number and Include is exactly 1.

Match your registrar’s rounding

Wrap the formula in ROUND(…, 2) to round, or TRUNC(…, 2) to cut off without rounding. A 1.756 becomes 1.76 with ROUND but 1.75 with TRUNC, and that can decide a Latin honors cut-off. Check which one your school uses on your grade slip, or compare against the honors GWA cut-offs your registrar posts.

Cumulative GWA across semesters

Do not average the semester GWAs. A 15-unit semester and a 24-unit semester should not count the same. Instead, add each sheet’s grade × units total and divide by the sum of units:

=('Sem 1'!H6 + 'Sem 2'!H6) / ('Sem 1'!H2 + 'Sem 2'!H2)

In the template, H6 on each semester sheet holds the grade × units total and H2 the units counted. The template’s Summary sheet already does this for eight semesters.

Use it in Google Sheets

  1. Open Google Drive and upload the .xlsx file.
  2. Right-click it and choose Open with › Google Sheets.
  3. Type your grades. SUMPRODUCT, ROUND and TRUNC work the same way there.

Weighted average Excel formulas also run in Numbers on a Mac and in LibreOffice Calc without changes.

Weighted average for class standing

The same pattern works for any weighted average: =SUMPRODUCT(scores, weights)/SUM(weights). For class standing where quizzes are 30%, exams 40% and projects 30%, put the three scores in one column and 30, 40, 30 in the next.

Download the free GWA template

Download the GWA Excel template (.xlsx, 12 KB). It opens in Excel, Google Sheets, Numbers and LibreOffice, with no macros and no sign-up.

Prefer to type grades on your phone? The GWA calculator runs the same math and exports a CSV you can open in Excel.

Official references

Frequently asked questions

Does SUMPRODUCT work in Google Sheets?

Yes. It works the same in Google Sheets, Excel, Numbers and LibreOffice.

Is the GWA Excel template free?

Yes. It is a plain .xlsx file with formulas only, no macros, and it works offline once downloaded.

Why does my Excel GWA differ from the portal?

Usually NSTP is in your sheet but not in the portal, the portal truncates while your sheet rounds, or a grade was typed as text.

Can I use AVERAGE instead of SUMPRODUCT?

Only if every subject has the same units. AVERAGE ignores units, so a 5-unit subject counts the same as a 1-unit one.

How do I compute a cumulative GWA in Excel?

Add the grade × units totals of every semester and divide by the total included units. Do not average the semester GWAs.