UNIHIVE

Study Hub UNIPORT CSC 182

CSC 182 · Computer Applications

Spreadsheet functions, charts, uses and limits

SUM, AVERAGE, IF and friends, a GPA sheet, charts, and where spreadsheets fall short.

Our notes

2 min read

Common functions

FunctionDoesExample
SUMAdds=SUM(B2:B10)
AVERAGEMean=AVERAGE(B2:B10)
MAX, MINLargest, smallest=MAX(B2:B10)
COUNTCounts numbers=COUNT(B2:B10)
COUNTIFCounts cells meeting a condition=COUNTIF(C2:C40,"Pass")
IFChooses by a test=IF(B2>=40,"Pass","Fail")
ROUNDRounds=ROUND(B2,2)
SUMPRODUCTMultiplies pairs, then adds=SUMPRODUCT(B2:B5,C2:C5)

Worked example: a GPA sheet

On UNIPORT's 5-point scale: A = 5, B = 4, C = 3, D = 2, E = 1, F = 0 (check your department's handbook for the score bands).

ABCD
1CourseUnitsGrade pointUnits × GP
2CSC 18225=B2*C2
3MTH 12034=B3*C3
4PHY 10233=B4*C4
5GES 10224=B5*C5
6Total=SUM(B2:B5)=SUM(D2:D5)
7GPA=D6/B6

D2 to D5: 10, 12, 9, 8. D6 = 39. B6 = 10. GPA = 39 ÷ 10 = 3.90.

Check another way: =SUMPRODUCT(B2:B5,C2:C5)/SUM(B2:B5) = (2×5 + 3×4 + 3×3 + 2×4) ÷ 10 = (10 + 12 + 9 + 8) ÷ 10 = 3.90. Same answer.

Nested IF for grades

=IF(B2>=70,"A",IF(B2>=60,"B",IF(B2>=50,"C",IF(B2>=45,"D",IF(B2>=40,"E","F")))))
For 63: not ≥ 70, but ≥ 60, so "B".

Charts

  1. Select the data with its labels.
  2. Insert → choose a chart.
ChartBest for
Column or barComparing amounts
LineChange over time
PieParts of one whole
ScatterRelation between two numbers

Add a title, axis titles and a legend.

Sorting and filtering

  • Sort: Data → Sort, by one or more columns (surname, then first name).
  • Filter: Data → Filter shows only rows that match ("all students with Fail").

Areas of application

Budgets, sales, payroll, result processing, stock records, loan repayments, lab data, attendance and simple statistics.

Limitations

  • Easy to make hidden errors: one wrong cell spoils every result that uses it.
  • Weak for many related tables; a database is better.
  • Hard for many users at once (online sheets help, but not fully).
  • Weak control: anyone can overwrite a formula.
  • Not designed for very large data sets.
  • No built-in record of who changed what in a basic file.

Exams usually ask

  • Write formulas for total, average and grade.
  • State four uses and four limitations of spreadsheets.

Common mistake

Averaging GPAs of two semesters without weighting by units. The CGPA uses the total units of all semesters.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All CSC 182 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.