Describe the syntax and practical application of any ten functions in Excel.
10 marks
Question source
- Exam year
- 2081 BS / 2025 AD
- Level
- Level 4
- Paper
- Subjective
- Section
- Technical & Applied Questions (100 Marks)
Model answer
An Excel function is a predefined formula that performs a particular calculation. It begins with =, followed by the function name and arguments inside parentheses:
=FUNCTION_NAME(argument1, argument2, ...)
Arguments may be numbers, text, conditions, cell references or ranges. Assume the examples below use a worksheet containing employee or student data.
1. SUM
Purpose: Adds numbers or the numeric values in one or more ranges.
Syntax: =SUM(number1, [number2], ...)
Example: =SUM(D2:D11) calculates the total salary or total marks stored in cells D2 through D11. If the values are 40, 55 and 65, =SUM(D2:D4) returns 160. It is preferable to a long expression such as =D2+D3+D4 because the range is clearer and easier to expand.
2. AVERAGE
Purpose: Returns the arithmetic mean of numeric arguments, ignoring empty cells and text in referenced ranges.
Syntax: =AVERAGE(number1, [number2], ...)
Example: =AVERAGE(D2:D11) finds the average marks of ten students. If D2:D4 contains 40, 55 and 65, =AVERAGE(D2:D4) returns approximately 53.33. This is useful for class performance, average monthly sales or average employee attendance.
3. COUNT
Purpose: Counts cells containing numbers. It does not count ordinary text or blank cells.
Syntax: =COUNT(value1, [value2], ...)
Example: =COUNT(D2:D11) reports how many numeric marks have been entered. If eight cells contain numbers, one contains Absent, and one is blank, the result is 8. This helps detect missing numeric entries because text and empty cells are not included in the result.
4. MAX
Purpose: Returns the largest numeric value from the supplied arguments.
Syntax: =MAX(number1, [number2], ...)
Example: =MAX(D2:D11) gives the highest mark or salary in the range. If the marks are 72, 85, 64 and 91, the result is 91. It is useful for identifying a top score, peak monthly sale or maximum recorded temperature.
5. MIN
Purpose: Returns the smallest numeric value from the supplied arguments.
Syntax: =MIN(number1, [number2], ...)
Example: =MIN(D2:D11) finds the lowest mark in the class. If the values are 72, 85, 64 and 91, the result is 64. In inventory or finance, it can identify the lowest stock level, smallest expense or minimum quotation.
6. IF
Purpose: Tests a condition and returns one value when the condition is true and another when it is false.
Syntax: =IF(logical_test, value_if_true, value_if_false)
Example: =IF(D2>=40,"Pass","Fail") checks whether the mark in D2 is at least 40. A mark of 55 returns Pass, whereas 32 returns Fail. The function is widely used for grading, eligibility, tax decisions, bonuses and status labels. The true and false results may be text, numbers, formulas or other calculated values.
7. SUMIF
Purpose: Adds values only for records that satisfy one condition.
Syntax: =SUMIF(range, criteria, [sum_range])
Example: If department names are in C2:C20 and salaries in D2:D20, =SUMIF(C2:C20,"Accounts",D2:D20) totals salaries only for the Accounts department. The criteria range and sum range should cover corresponding rows. It can similarly total sales above a threshold: =SUMIF(B2:B20,">=10000",C2:C20).
8. COUNTIF
Purpose: Counts cells in a range that satisfy one condition.
Syntax: =COUNTIF(range, criteria)
Example: =COUNTIF(E2:E31,"Present") counts the number of students marked Present. =COUNTIF(D2:D31,">=40") counts students who obtained at least 40 marks. Criteria containing comparison operators are written as text inside quotation marks.
9. VLOOKUP
Purpose: Searches vertically for a value in the first column of a table and returns a value from another column in the same row.
Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Example: Suppose H2:J20 stores Employee ID, Name and Department. =VLOOKUP(A2,$H$2:$J$20,2,FALSE) searches for the ID in A2 and returns the employee name from the second column. $H$2:$J$20 is absolute so the table does not move when the formula is copied. FALSE requires an exact match; if none exists, Excel returns #N/A. The lookup value must appear in the first column of the selected table.
10. TODAY
Purpose: Returns the computer's current date and updates when the workbook recalculates.
Syntax: =TODAY()
Example: =TODAY() may display 2026-08-26, depending on the cell's date format. If a due date is in B2, =B2-TODAY() calculates the number of days remaining; a negative result indicates that the date has passed. The function takes no arguments, so its parentheses remain empty.
These functions illustrate mathematical, statistical, logical, conditional, lookup and date operations. Correct cell references and suitable criteria are as important as memorizing the syntax.