Spreadsheet Functions: SUM, AVERAGE, MAX, MIN and COUNT – Grade 10 ICT Notes 7.4

© 2026 schoolict.net (Ruwan Mangala Suraweera)

7.4 Spreadsheet Functions: SUM, AVERAGE, MAX, MIN and COUNTපැතුරුම්පත් Functions: SUM, AVERAGE, MAX, MIN සහ COUNT

G.C.E. O/L Grade 10 ICT · Lesson 7G.C.E. O/L ICT · 10 ශ්‍රේණිය · පාඩම 7

Prints all tabs in the language you are reading. Use “Save as PDF” in the print window to keep a copy.ඔබ කියවන භාෂාවෙන් සියලු tabs මුද්‍රණය වේ. පිටපතක් තියාගන්න print window එකේ “Save as PDF” තෝරන්න.
🎬Video coming soon in this language. Switch language to watch the other video.මේ භාෂාවෙන් වීඩියෝව ඉක්මනින් එනවා. අනෙක් වීඩියෝව බලන්න භාෂාව මාරු කරන්න.

In this videoමේ වීඩියෝවේ

  • Functions are built-in formulas: =NAME(arguments).Functions යනු ගොඩනැගූ සූත්‍ර: =NAME(arguments).
  • SUM adds, AVERAGE finds the mean.SUM එකතු කරයි, AVERAGE මධ්‍යන්‍යය සොයයි.
  • MAX highest, MIN lowest.MAX ඉහළම, MIN අඩුම.
  • COUNT counts numbers; COUNTA counts non-empty cells.COUNT අංක ගණන් කරයි; COUNTA හිස් නොවන cells ගණන් කරයි.
  • AutoSum (Alt+=) inserts SUM quickly.AutoSum (Alt+=) ඉක්මනින් SUM ඇතුළු කරයි.
SUMAVERAGEMAXMINCOUNTCOUNTAAutoSum

Notesසටහන්

A function is a ready-made formula with a name. You give it arguments (parameters) inside brackets and it returns an answer. In this note you will use the five basic statistical functions SUM, AVERAGE, MAX, MIN and COUNT on a mark sheet and on Colombo rainfall data, learn the difference between a range (B2:B6) and a list (B2,B4,B6), and see why COUNT counts numbers only.Function එකක් යනු නමක් සහිත සූදානම් සූත්‍රයකි. වරහන් තුළ arguments (parameters) දුන් විට එය පිළිතුරක් ලබා දෙයි. මෙම සටහනෙන් ලකුණු පත්‍රයක සහ කොළඹ වර්ෂාපතන දත්ත මත SUM, AVERAGE, MAX, MIN සහ COUNT මූලික සංඛ්‍යාන functions පහ භාවිත කර, range (B2:B6) සහ list (B2,B4,B6) අතර වෙනස සහ COUNT අංක පමණක් ගණන් කරන්නේ ඇයිදැයි ඉගෙන ගනිමු.

1. Syntax of a function1. Function එකක ව්‍යාකරණය (syntax)

=SUM(B2:B6)= starts the formulaFunction name( ) bracketsArgument: range B2:B6Lists: =SUM(B2,B4,B6) · range + list: =SUM(B2:B6,10)
=FUNCTION(arguments): equals sign, name, brackets, and one or more arguments separated by commas.=FUNCTION(arguments): සමාන ලකුණ, නම, වරහන්, සහ කොමා වලින් වෙන් කළ arguments එකක් හෝ කිහිපයක්.
  • Range argument: B2:B6 = all cells from B2 to B6.Range argument: B2:B6 = B2 සිට B6 දක්වා සියලු cells.
  • List argument: B2,B4,B6 = only those cells (commas).List argument: B2,B4,B6 = එම cells පමණි (කොමා).
  • Mixed: =SUM(B2:B6,10) adds the range and the number 10.මිශ්‍ර: =SUM(B2:B6,10) range එක සහ අංකය 10 එකතු කරයි.
  • Function names are not case-sensitive (=sum(b2:b6) works) but must be spelt correctly, otherwise #NAME?.Function නම් අකුරු ප්‍රමාණයට සංවේදී නොවේ (=sum(b2:b6) ක්‍රියා කරයි) නමුත් නිවැරදිව ලිවිය යුතුය, නැතහොත් #NAME?.

2. The data: Grade 10 mark sheet2. දත්ත: 10 ශ්‍රේණියේ ලකුණු පත්‍රය

A: NameA: නමB: SinhalaB: සිංහලC: MathsC: ගණිතයD: ScienceD: විද්‍යාවE: ICTE: ICT
2 Nimal2 නිමල්7272656558588080
3 Sara3 සාරා8888919179799595
4 Kasun4 කසුන්5454474762627070
5 Dilini5 දිලිනි6767ab (absent)ab (නොපැමිණි)71718585
6 Ishan6 ඉෂාන්81817676(empty)(හිස්)6464

3. The five functions3. Functions පහ

FunctionFunctionDoesකරන්නේExampleඋදාහරණයResultප්‍රතිඵලය
SUMSUMAdds numbersඅංක එකතු කරයි=SUM(B2:B6)=SUM(B2:B6)362362
AVERAGEAVERAGESum ÷ how many numbersඑකතුව ÷ අංක ගණන=AVERAGE(B2:B6)=AVERAGE(B2:B6)72.472.4
MAXMAXLargest numberවිශාලතම අංකය=MAX(E2:E6)=MAX(E2:E6)9595
MINMINSmallest numberකුඩාම අංකය=MIN(E2:E6)=MIN(E2:E6)6464
COUNTCOUNTHow many cells hold numbersඅංක ඇති cells ගණන=COUNT(C2:C6)=COUNT(C2:C6)44

Nimal’s total: =SUM(B2:E2) = 275; his average =AVERAGE(B2:E2) = 68.75. Sara’s highest mark =MAX(B3:E3) = 95; Kasun’s lowest =MIN(B4:E4) = 47.නිමල්ගේ එකතුව: =SUM(B2:E2) = 275; සාමාන්‍යය =AVERAGE(B2:E2) = 68.75. සාරාගේ ඉහළම ලකුණ =MAX(B3:E3) = 95; කසුන්ගේ අඩුම =MIN(B4:E4) = 47.

4. COUNT counts numbers only4. COUNT අංක පමණක් ගණන් කරයි

Column C (Maths) holds C2:C6 = 65, 91, 47, ab, 76. =COUNT(C2:C6) = 4 because ‘ab’ is text. SUM and AVERAGE also ignore text, so =AVERAGE(C2:C6) = 279 ÷ 4 = 69.75. In column D the empty cell is ignored: =COUNT(D2:D6) = 4, =AVERAGE(D2:D6) = 67.5.C තීරුවේ C2:C6 = 65, 91, 47, ab, 76. ‘ab’ පෙළ නිසා =COUNT(C2:C6) = 4. SUM සහ AVERAGE ද පෙළ නොසලකයි, එබැවින් =AVERAGE(C2:C6) = 279 ÷ 4 = 69.75. D තීරුවේ හිස් cell එක නොසැලකේ: =COUNT(D2:D6) = 4, =AVERAGE(D2:D6) = 67.5.

NEW 20262026 නව Extra: COUNTA counts every non-empty cell, text too. =COUNTA(C2:C6) = 5 (includes ‘ab’); =COUNTA(A2:A6) = 5 students.අමතර: COUNTA පෙළ ද ඇතුළුව හිස් නොවන සෑම cell එකක්ම ගණන් කරයි. =COUNTA(C2:C6) = 5 (‘ab’ ඇතුළුව); =COUNTA(A2:A6) = සිසුන් 5.

5. Rainfall example and range vs list5. වර්ෂාපතන උදාහරණය සහ range එදිරිව list

Month (A)මාසය (A)JanJanFebFebMarMarAprAprMayMayJunJun
Rain mm (B2:B7)වර්ෂාව mm (B2:B7)58587373128128245245392392184184
  • Total: =SUM(B2:B7) = 1080 mmඑකතුව: =SUM(B2:B7) = 1080 mm
  • Average: =AVERAGE(B2:B7) = 180 mmසාමාන්‍යය: =AVERAGE(B2:B7) = 180 mm
  • Wettest: =MAX(B2:B7) = 392 (May); driest: =MIN(B2:B7) = 58 (Jan)වැඩිම: =MAX(B2:B7) = 392 (May); අඩුම: =MIN(B2:B7) = 58 (Jan)
  • List: =SUM(B2,B4,B6) = 58+128+392 = 578 (Jan, Mar, May only)List: =SUM(B2,B4,B6) = 58+128+392 = 578 (Jan, Mar, May පමණි)
  • Range of values (spread): =MAX(B2:B7)-MIN(B2:B7) = 334 mmඅගයන්ගේ පරාසය: =MAX(B2:B7)-MIN(B2:B7) = 334 mm
💡 AutoSum (Σ) on the Home tab inserts =SUM( ) for you; its arrow gives Average, Count Numbers, Max and Min. In Google Sheets use the Σ Functions button.Home tab හි AutoSum (Σ) ඔබ වෙනුවෙන් =SUM( ) ඇතුළු කරයි; එහි ඊතලය Average, Count Numbers, Max සහ Min දෙයි. Google Sheets හි Σ Functions බොත්තම භාවිත කරන්න.

Key Wordsප්‍රධාන පද

FunctionFunction
A named, ready-made formula such as SUM.SUM වැනි නමක් ඇති සූදානම් සූත්‍රයක්.
ArgumentArgument
Value or range given to a function inside brackets.වරහන් තුළ function එකකට දෙන අගය හෝ range.
SyntaxSyntax
The correct way to write a function: =NAME(arguments).Function එකක් ලිවීමේ නිවැරදි ක්‍රමය: =NAME(arguments).
SUMSUM
Adds all the numbers in its arguments.Arguments වල සියලු අංක එකතු කරයි.
AVERAGEAVERAGE
Total of the numbers divided by how many numbers.අංකවල එකතුව අංක ගණනින් බෙදීම.
MAXMAX
Returns the largest number.විශාලතම අංකය ලබා දෙයි.
MINMIN
Returns the smallest number.කුඩාම අංකය ලබා දෙයි.
COUNTCOUNT
Counts the cells that contain numbers.අංක ඇති cells ගණන් කරයි.
COUNTACOUNTA
Counts all non-empty cells (text too).හිස් නොවන සියලු cells ගණන් කරයි (පෙළ ද).
Range argumentRange argument
A block such as B2:B6.B2:B6 වැනි කොටසක්.
List argumentList argument
Separate cells with commas such as B2,B4,B6.B2,B4,B6 වැනි කොමා වලින් වෙන් කළ cells.
AutoSumAutoSum
Σ button that inserts SUM quickly.SUM ඉක්මනින් ඇතුළු කරන Σ බොත්තම.

Sample Q&Aආදර්ශ ප්‍රශ්න සහ පිළිතුරු

1Write the syntax of the SUM function.SUM function හි syntax ලියන්න.

Answerපිළිතුර: =SUM(number1, number2, …) or =SUM(range), e.g. =SUM(B2:B6).=SUM(number1, number2, …) හෝ =SUM(range), උදා =SUM(B2:B6).

2What is an argument?Argument එකක් යනු කුමක්ද?

Answerපිළිතුර: The data (values, cells or ranges) given to a function inside its brackets.Function එකක වරහන් තුළ දෙන දත්ත (අගයන්, cells හෝ ranges).

3Why does =COUNT(C2:C6) give 4 and not 5?=COUNT(C2:C6) 5 නොව 4 දෙන්නේ ඇයි?

Answerපිළිතුර: C5 contains the text ‘ab’; COUNT counts numbers only.C5 හි ‘ab’ පෙළ ඇත; COUNT අංක පමණක් ගණන් කරයි.

4Find the average rainfall Jan–Jun.Jan–Jun සාමාන්‍ය වර්ෂාපතනය සොයන්න.

Answerපිළිතුර: =AVERAGE(B2:B7) = 180 mm.=AVERAGE(B2:B7) = 180 mm.

5Difference between B2:B6 and B2,B6?B2:B6 සහ B2,B6 අතර වෙනස?

Answerපිළිතුර: B2:B6 is a range of 5 cells; B2,B6 is a list of only 2 cells.B2:B6 cells 5 ක range එකකි; B2,B6 cells 2 ක list එකක් පමණි.

6Difference between COUNT and COUNTA?COUNT සහ COUNTA අතර වෙනස?

Answerපිළිතුර: COUNT counts numbers only; COUNTA counts all non-empty cells.COUNT අංක පමණි; COUNTA හිස් නොවන සියලු cells.

MCQබහුවරණ ප්‍රශ්න

Choose the correct answer for each question.සෑම ප්‍රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.

Scoreලකුණු: 0 / 15

1=SUM(B2:B6) for Sinhala marks 72, 88, 54, 67, 81 gives…සිංහල ලකුණු 72, 88, 54, 67, 81 සඳහා =SUM(B2:B6)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Add all five.පහම එකතු කරන්න.

2=AVERAGE(B2:B6) for the same marks gives…එම ලකුණු සඳහා =AVERAGE(B2:B6)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

362/5.362/5.

3=MAX(E2:E6) for ICT marks 80, 95, 70, 85, 64 is…ICT ලකුණු 80, 95, 70, 85, 64 සඳහා =MAX(E2:E6)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Largest.විශාලතම.

4=MIN(E2:E6) for the same marks is…එම ලකුණු සඳහා =MIN(E2:E6)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Smallest.කුඩාම.

5C2:C6 = 65, 91, 47, ab, 76. =COUNT(C2:C6) is…C2:C6 = 65, 91, 47, ab, 76. =COUNT(C2:C6)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Text not counted.පෙළ ගණන් නොකෙරේ.

6For the same cells =COUNTA(C2:C6) is…එම cells සඳහා =COUNTA(C2:C6)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Text counted too.පෙළ ද ගණන් වේ.

7For the same cells =AVERAGE(C2:C6) is…එම cells සඳහා =AVERAGE(C2:C6)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

279/4; text ignored.279/4; පෙළ නොසැලකේ.

8Rainfall 58, 73, 128, 245, 392, 184. =SUM(B2:B7) is…වර්ෂාව 58, 73, 128, 245, 392, 184. =SUM(B2:B7)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Total.එකතුව.

9For the same rainfall =AVERAGE(B2:B7) is…එම වර්ෂාව සඳහා =AVERAGE(B2:B7)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

1080/6.1080/6.

10=SUM(B2,B4,B6) with the rainfall data gives…වර්ෂාපතන දත්ත සමඟ =SUM(B2,B4,B6)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Only B2, B4, B6.B2, B4, B6 පමණි.

11In =SUM(B2:B6), B2:B6 is the…=SUM(B2:B6) හි B2:B6 යනු…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Inside the brackets.වරහන් තුළ.

12=SUMM(B2:B6) shows…=SUMM(B2:B6) පෙන්වන්නේ…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Misspelt name.වැරදි නම.

13Which counts how many students have a Maths mark?ගණිත ලකුණක් ඇති සිසුන් ගණන ගණන් කරන්නේ කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Numbers only.අංක පමණි.

14=SUM(B2:B6,10) with Sinhala marks gives…සිංහල ලකුණු සමඟ =SUM(B2:B6,10)…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Range + 10.Range + 10.

15The Σ button on the Home tab is…Home tab හි Σ බොත්තම…

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Inserts SUM.SUM ඇතුළු කරයි.

MCQ answer keyMCQ පිළිතුරු

  1. A – Add all five.පහම එකතු කරන්න.
  2. B – 362/5.362/5.
  3. C – Largest.විශාලතම.
  4. C – Smallest.කුඩාම.
  5. D – Text not counted.පෙළ ගණන් නොකෙරේ.
  6. C – Text counted too.පෙළ ද ගණන් වේ.
  7. D – 279/4; text ignored.279/4; පෙළ නොසැලකේ.
  8. A – Total.එකතුව.
  9. B – 1080/6.1080/6.
  10. A – Only B2, B4, B6.B2, B4, B6 පමණි.
  11. D – Inside the brackets.වරහන් තුළ.
  12. C – Misspelt name.වැරදි නම.
  13. A – Numbers only.අංක පමණි.
  14. B – Range + 10.Range + 10.
  15. B – Inserts SUM.SUM ඇතුළු කරයි.

Structured Questionsව්‍යුහගත ප්‍රශ්න

1Using the mark sheet, write a formula and give the result for: (i) total of Sara (B3:E3) (ii) average Sinhala mark (iii) highest ICT mark (iv) lowest Science mark.ලකුණු පත්‍රය භාවිතයෙන් සූත්‍රය සහ ප්‍රතිඵලය දෙන්න: (i) සාරාගේ එකතුව (B3:E3) (ii) සාමාන්‍ය සිංහල ලකුණ (iii) ඉහළම ICT ලකුණ (iv) අඩුම විද්‍යා ලකුණ. (8 marksලකුණු 8)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(i) =SUM(B3:E3) = 353 (ii) =AVERAGE(B2:B6) = 72.4 (iii) =MAX(E2:E6) = 95 (iv) =MIN(D2:D6) = 58.(i) =SUM(B3:E3) = 353 (ii) =AVERAGE(B2:B6) = 72.4 (iii) =MAX(E2:E6) = 95 (iv) =MIN(D2:D6) = 58.

2Label the parts of =SUM(B2:B6).=SUM(B2:B6) හි කොටස් නම් කරන්න. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
= sign, function name SUM, brackets with the argument (range) B2:B6.= ලකුණ, function නම SUM, argument (range) B2:B6 සහිත වරහන්.
=SUM(B2:B6)= starts the formulaFunction name( ) bracketsArgument: range B2:B6Lists: =SUM(B2,B4,B6) · range + list: =SUM(B2:B6,10)
Model answer.ආදර්ශ පිළිතුර.

3C2:C6 holds 65, 91, 47, ab, 76. Give the results of COUNT, COUNTA, SUM and AVERAGE for this range and explain the difference between COUNT and COUNTA.C2:C6 හි 65, 91, 47, ab, 76 ඇත. මෙම range සඳහා COUNT, COUNTA, SUM, AVERAGE ප්‍රතිඵල දී COUNT සහ COUNTA අතර වෙනස පැහැදිලි කරන්න. (5 marksලකුණු 5)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
COUNT 4, COUNTA 5, SUM 279, AVERAGE 69.75. COUNT counts numbers only; COUNTA counts all non-empty cells.COUNT 4, COUNTA 5, SUM 279, AVERAGE 69.75. COUNT අංක පමණක්; COUNTA හිස් නොවන සියලු cells.

4Rainfall Jan–Jun is in B2:B7 (58, 73, 128, 245, 392, 184). Write formulas for the total, average, wettest and driest months and give the answers.Jan–Jun වර්ෂාව B2:B7 හි ඇත (58, 73, 128, 245, 392, 184). එකතුව, සාමාන්‍යය, වැඩිම සහ අඩුම සඳහා සූත්‍ර ලියා පිළිතුරු දෙන්න. (4 marksලකුණු 4)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
=SUM(B2:B7) = 1080; =AVERAGE(B2:B7) = 180; =MAX(B2:B7) = 392; =MIN(B2:B7) = 58.=SUM(B2:B7) = 1080; =AVERAGE(B2:B7) = 180; =MAX(B2:B7) = 392; =MIN(B2:B7) = 58.

5Explain the difference between a range and a list argument with examples.Range සහ list argument අතර වෙනස උදාහරණ සමඟ පැහැදිලි කරන්න. (2 marksලකුණු 2)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Range uses a colon for a block: =SUM(B2:B7); list uses commas for separate cells: =SUM(B2,B4,B6).Range කොටසක් සඳහා colon භාවිත කරයි: =SUM(B2:B7); list වෙන් cells සඳහා කොමා: =SUM(B2,B4,B6).

🎮 Game🎮 ක්‍රීඩා

Pick a game. Each one uses words from this lesson.ක්‍රීඩාවක් තෝරන්න. හැම එකක්ම මේ පාඩමේ වචන පාවිච්චි කරනවා.

Summary & Downloadsසාරාංශය සහ බාගත කිරීම්

Key pointsප්‍රධාන කරුණු

  • Function = named ready-made formula: =NAME(arguments).Function = නමක් ඇති සූදානම් සූත්‍රය: =NAME(arguments).
  • Arguments go in brackets; range uses :, list uses commas.Arguments වරහන් තුළ; range : , list කොමා.
  • SUM adds; AVERAGE = sum ÷ count of numbers.SUM එකතු කරයි; AVERAGE = එකතුව ÷ අංක ගණන.
  • MAX largest; MIN smallest.MAX විශාලතම; MIN කුඩාම.
  • COUNT counts numbers only; COUNTA counts all non-empty cells.COUNT අංක පමණි; COUNTA හිස් නොවන සියලු cells.
  • Text and empty cells are ignored by SUM, AVERAGE, MAX, MIN.SUM, AVERAGE, MAX, MIN පෙළ සහ හිස් cells නොසලකයි.
  • Misspelt function → #NAME?.වැරදි function නම → #NAME?.
  • AutoSum Σ inserts SUM, AVERAGE, COUNT, MAX, MIN quickly.AutoSum Σ SUM, AVERAGE, COUNT, MAX, MIN ඉක්මනින් ඇතුළු කරයි.

Downloadsබාගත කිරීම්

Full Lesson 7 PDFසම්පූර්ණ පාඩම 7 PDF: English · සිංහල

Next noteඊළඟ සටහන 7.5 →

© 2026 schoolict.net (Ruwan Mangala Suraweera). All rights reserved.සියලු හිමිකම් ඇවිරිණි.