PracWork perCAT ExamGuideline2022
PracWork perCAT ExamGuideline2022
ASSESSMENT IN PAPER 1
as per the
2022 Examination Guidelines Grade 12
SPREADSHEETS
This booklet attempts to unpack the 'new' functions as listed in the Computer Application Technology
Grade 12 Exam Guidelines.
The DATE and TIME functions are not listed in the same order as the Computer Application Technology
Grade 12 Exam Guidelines. The reason for this was to follow a logical sequence, i.e. DAY MONTH
YEAR, and HOUR MINUTE SECOND, etc.
You are strongly advised to work through ALL the DATE and TIME functions first and do only the Level 1
activities of ALL the DATE and TIME functions, before attempting the Level 2 and 3 activities.
1. DATE and TIME FUNCTIONS
It can be used to calculate a value based on the current date and time. The current date and time is
displayed according to the date settings in the Control Panel.
SYNTAX =NOW()
EXAMPLE/S
It can be used to calculate a value based on the current date. The current date is displayed according
to the date settings in the Control Panel.
SYNTAX =TODAY()
EXAMPLE/S
Function Description Result
=TODAY(B1) Returns the current date of the The result depends on the
computer system. current computer system date.
Example:
SYNTAX =DAY(serial_number)
AND The DAY function has one argument, serial_number, which represents a date that contains the day you
ARGUMENT/S want to find.
The DAY function returns the day from the date argument serial_number.
EXAMPLES
NOTE:
● Activities involving a combination of functions, giving a formula, are generally cognitive level 3 (C3).
1.4 MONTH FUNCTION
PURPOSE The MONTH function returns the month of a date represented by a serial number. The month is
returned as an integer, ranging from 1 (represents January) to 12 (represents December).
SYNTAX =MONTH(serial_number)
AND
ARGUMENT/S
The MONTH function has one argument, serial_number, which represents a date that contains the
month you want to find.
The MONTH function returns the month from the date argument serial_number.
EXAMPLES
SYNTAX =YEAR(serial_number)
AND
ARGUMENT/S
The YEAR function has one argument, serial_number which represents the date that contains the year
you want to find.
The YEAR function returns the year from the date argument serial_number.
EXAMPLES
SYNTAX =DATE(year,month,day)
AND The DATE function has three compulsory arguments namely year, month and day which represent the
ARGUMENT/S year, month and day in a date.
Example:
=DATE(2017,02,14) will return the serial number 42780 if the cell has a General formatting, else the
cell will display 2017-02-24 in the Date formatting.
EXAMPLES
SYNTAX =DAYS(end_date,start_date)
AND
ARGUMENT/S
The DAYS function has two compulsory arguments namely end_date and start_date.
EXAMPLES
NOTE:
The DAYS function is the same as subtracting the start date from the end date, i.e.:
The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.).
SYNTAX =HOUR(serial_number)
AND
ARGUMENT/S
The HOUR function has ONE compulsory argument serial_number which represents the time that
contains the hour you want to find.
The HOUR function returns the hour from the time argument serial_number.
NOTE:
Time values make up a portion of a date value and are represented by a decimal number (for example,
12:00 PM is represented as 0.5 because it is half of a day).
EXAMPLES
AND
ARGUMENT/S
The MINUTE function has one compulsory argument namely serial_number which represents the time.
The MINUTE function returns the minute from the time argument serial_number.
Times may be entered as text strings within quotation marks (for example, "6:45 PM") or as decimal
numbers (for example, 0.78125).
NOTE:
Time values make up a portion of a date value and are represented by a decimal number (for example,
12:00 PM is represented as 0.5 because it is half of a day).
EXAMPLES
If the cell format was General before the function was entered, the result is formatted as a date.
The decimal number returned by TIME is a value ranging from 0 (zero) to 0.99988426, representing
the times from 0:00:00 (12:00:00 AM) to 23:59:59 (11:59:59 P.M.).
SYNTAX =TIME(hour,minute,second)
AND
The TIME function syntax has the following arguments:
ARGUMENT/S
1. Hour Required. A number from 0 (zero) to 32767 representing the hour.
(Any value greater than 23 will be divided by 24 and the remainder will be treated as the hour
value. For example, TIME(27,0,0) = TIME(3,0,0) = 0.125 or 3:00 AM.)
2. Minute Required. A number from 0 to 32767 representing the minute.
(Any value greater than 59 will be converted to hours and minutes. For example, TIME(0,750,0)
= TIME(12,30,0) = 0.520833 or 12:30 PM.)
3. Second Required. A number from 0 to 32767 representing the second.
(Any value greater than 59 will be converted to hours, minutes, and seconds. For example,
TIME(0,0,2000) = TIME(0,33,22) = 0.023148 or 12:33:20 AM.)
EXAMPLES
FURTHER READING
http://www.exceltactics.com/definitive-guide-using-dates-times-excel/
A formula (also known as an equation) is something that the user defines, and can use/refer to various functions in it. A
formula starts with an = sign, such as =(D1+D2)/A$3.
They are similar in that both return a result based on the calculations that each performs. The difference is that a function is
a built-in calculation, while a formula is a user-defined calculation. A formula could just use a single function together with
another calculation.
For example, if you enter =SUM(G4+A5) - 25 * MIN(B3:B6), it is a formula which uses both the SUM function and the MIN
function, as well as standard mathematical operators (-, +, *).
2. MATH AND TRIG FUNCTIONS
2.1 RANDBETWEEN FUNCTION
PURPOSE The RANDBETWEEN function returns a random integer number between the numbers you specify.
A new random integer number is returned every time the worksheet is calculated.
AND
ARGUMENT/S
The RANDBETWEEN function has two compulsory arguments, i.e. bottom and top.
Bottom refers to the smallest random number that will be returned (includes the bottom number)
and top refers to the highest random number that will be returned (includes the top number).
EXAMPLES
Function Description Result
Returns any integer number in the range 1
=RANDBETWEEN(1,100) to 100 varies
NOTE:
AND
ARGUMENT/S
The SUBTOTAL function has the following arguments:
1. Function_num Required. The number 1-11 or 101-111 that specifies the function to use for the
subtotal.
When function is between 1-11, SUBTOTAL includes values that are hidden.
When function is between 101-111, SUBTOTAL excludes values that are hidden.
Filtered values are always excluded.
Function_num Function_num
Function
(includes hidden values) (ignores hidden values)
1 101 AVERAGE
2 102 COUNT
3 103 COUNTA
4 104 MAX
5 105 MIN
9 109 SUM
2. Ref1 Required. The first named range or reference for which you want the subtotal.
3. Ref2,... Optional. Named ranges or references 2 to 254 for which you want the subtotal.
REMARKS
1. The table above indicates the only functions examinable.
2. If there are other subtotals within ref1, ref2,… (or nested subtotals), these nested subtotals are
ignored to avoid double counting.
3. The SUBTOTAL function ignores any rows that are not included in the result of a filter, no matter
which function_num value you use.
4. The SUBTOTAL function is designed for columns of data, or vertical ranges. It is not designed for
rows of data, or horizontal ranges. For example, when you subtotal a horizontal range using a
function_num of 101 or greater, such as SUBTOTAL(109,B2:G2), hiding a column does not affect
the subtotal. But, hiding a row in a subtotal of a vertical range does affect the subtotal.
EXAMPLES Suppose you have the data below and want to determine the total number of trips undertaken by
female and the total number of trips undertake by males using the SUBTOTAL feauture:
Step 1: Because the totalling of the number of trips is based on the gender, then the data in the
spreadsheet must be sorted in either ascending or descending order according to gender.
Step 2: Click in any cell in column C. Click the SUBTOTAL button in the Outline Group on the Data
tab.
The Subtotal dialog box will appear. You must do the following:
● From the At each change in: dropdown list select Gender – because you are totalling
number of trips based on Gender.
● From the Use function dropdown list select SUM – because you are adding Number of
Trips.
● From the Add subtotal to: dropdown list select Number of Trips – because the totalling with
take place on this column.
Note you can perform a single function on multiple columns. For example you can
determine the sum on the Number of Trips and Amount Spent columns
● You can then choose to replace current subtotals, add a page break between groups and
select whether you want the summary below the data or not
● Click OK to accept all your changes and Excel automatically inserts Female Total, Male Total
and Grand totals.
● The Remove All button will remove all subtotals.
● In level 2 outline only the Female Total, Male Total and Grand Total will be displayed (test it
by clicking on the 2 at the top)
Level 2: Work in the Sub2 worksheet. Use the subtotal feature to determine the total amount spent
and the total number of trips made by each category (column J) of travellers.
Level 3: Work in the Sub3 worksheet. Use the subtotal feature to do the following for each category
(column J):
AND
ARGUMENT/S 1. criteria_range1 Required. The first range in which to evaluate the associated criteria.
2. criteria1 Required. The criteria in the form of a number, expression, cell reference, or text that
define which cells will be counted.
For example, criteria can be expressed as 32, ">32", B4, "apples" or "32".
3. criteria_range2, criteria2, ... Optional. Additional ranges and their associated criteria. Up to 127
range/criteria pairs are allowed.
NOTE:
Each additional range must have the same number of rows and columns as the criteria_range1
argument. The ranges do not have to be adjacent to each other.
REMARKS:
● Each range's criteria is applied one cell at a time. If all of the first cells meet their associated criteria,
the count increases by 1. If all of the second cells meet their associated criteria, the count increases
by 1 again, and so on until all of the cells are evaluated.
● If the criteria argument is a reference to an empty cell, the COUNTIFS function treats the empty cell
as a 0 value.
● You can use the wildcard characters— the question mark (?) and asterisk (*) — in criteria. A question
mark matches any single character, and an asterisk matches any sequence of characters. If you want
to find an actual question mark or asterisk, type a tilde (~) before the character.
EXAMPLES
For example, if you want to sum the numbers in the range A1:A20 only if the corresponding
numbers in B1:B20 are greater than zero (0) and the corresponding numbers in C1:C20 are
less than 10, you can use the following formula:
ARGUMENT/S 1. Sum_range Required. One or more cells to sum, including numbers or names, ranges, or
cell references (cell reference: The set of coordinates that a cell occupies on a worksheet.
For example, the reference of the cell that appears at the intersection of column B and
row 3 is B3.) that contain numbers. Blank and text values are ignored.
2. Criteria_range1 Required. The first range in which to evaluate the associated criteria.
3. Criteria1 Required. The criteria in the form of a number, expression, cell reference, or
text that define which cells in the Criteria_range1 argument will be added. For example,
criteria can be expressed as 32, ">32", B4, "apples", or "32."
4. Criteria_range2, criteria2, … Optional. Additional ranges and their associated criteria. Up
to 127 range/criteria pairs are allowed.
REMARKS
● Each cell in the Sum_range argument is summed only if all of the corresponding criteria
specified are true for that cell. For example, suppose that a formula contains two
Criteria_range arguments. If the first cell of Criteria_range1 meets Criteria1, and the first
cell of Criteria_range2 meets Critera2, the first cell of Sum_range is added to the sum, and
so on, for the remaining cells in the specified ranges.
● Cells in the Sum_range argument that contain TRUE evaluate to 1; cells in Sum_range that
contain FALSE evaluate to 0 (zero).
● Unlike the range and criteria arguments in the SUMIF function, in the SUMIFS function,
each Criteria_range argument must contain the same number of rows and columns as the
Sum_range argument.
● You can use the wildcard characters — the question mark (?) and asterisk (*) — in criteria.
A question mark matches any single character; an asterisk matches any sequence of
characters. If you want to find an actual question mark or asterisk, type a tilde (~) before
the character.
EXAMPLES
The letter "V" in VLOOKUP stands for "vertical". The VLOOKUP function looks up a value in the first
column of the specified range of cells. Once it finds a match, it will return a value from a specified
column in the same row.
SYNTAX =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
AND ARGUMENT/S
lookup_value – the value to search for. This can be either a value (number, date or text) or a cell
reference (reference to a cell containing a lookup value), or the value returned by some other Excel
function.
table_array – two or more columns of data. Remember, the VLOOKUP function always searches for
the lookup value in the first column of table_array. Your table_array may contain various values such
as text, dates, numbers, or logical values. Values are case-insensitive.
col_index_num – the column number in table_array from which the value in the corresponding row
should be returned. The left-most column in the specified table_array is 1, the second column is 2, the
third column is 3, and so on.
range_lookup – determines whether you are looking for an exact match (FALSE) or approximate match
(TRUE or omitted). This final parameter is optional but very important.
EXAMPLE
Suppose, you want to find a certain customer in the table below. You cannot remember his surname,
but you know it starts with "ack". So, the following VLOOKUP formula will work well:
=VLOOKUP("ack*",$A$2:$C$11,1,FALSE)
Tip:
It is a good idea to always use absolute cell references (with $) in the table_array parameter of
VLOOKUP formulae. In this case, the lookup range will remain constant when you copy the function to
other cells.
ACTIVITY Level 1: What must be done in a VLOOKUP function to ensure that an exact match is found?
Level 2: Open the spreadsheet Vlookup Function_Activity 1. Use the Vlookup Basic sheet.
Use the Raw Data Extract table. Insert a function in cell I5 to look up the first name and in cell J5 insert
a function to extract the last name for the 'Employee ID' (column G) to prepare the Pay Report. Copy
the functions down to the other cells to check that the functions are working correctly.
Level 3: Open the spreadsheet Vlookup Function_Activity 1. Use the Calculation Example sheet.
Salespeople travel to different warehouses in the province. Cells B2 to D6 shows how much is paid per
kilometre to each of the warehouses. Each salesperson travels a different distance (column I) to get to
each of the warehouses.
Use an appropriate function in cell J3 to determine how much each salesperson will be paid for their
travelling.
AND
ARGUMENT/S
lookup_value – the value to search for. This can be either a value (number, date or text) or a cell
reference (reference to a cell containing a lookup value), or the value returned by some other Excel
function.
table_array – two or more rows of data. Remember, the HLOOKUP function always searches for
the lookup value in the first row of table_array. Your table_array may contain various values such
as text, dates, numbers, or logical values. Values are case-insensitive.
row_index_num – the row number in table_array from which the value in the corresponding
column should be returned. The upper-most row in the specified table_array is 1, the second row is
2, the third row is 3, and so on.
range_lookup – determines whether you are looking for an exact match (FALSE) or approximate
match (TRUE or omitted). This final parameter is optional but very important.
EXAMPLE
'range_lookup' will be FALSE as here we only want to fetch the exact match value.
ACTIVITY Level 1: Open the spreadsheet Hlookup Function_Activity 1. Work in the Level sheet.
Use the Mark/Symbol table and an HLOOKUP function in cell B10 to determine the symbol that
represents 64%.
Level 2: Work in the English sheet. Use an appropriate function in cell H3 to determine the Vusi's
English mark for Term 3.
PURPOSE An index lists the terms and topics that are discussed in a document, along with the pages that they
appear on.
When you select text and mark it as an index entry (References-tab, Index-group, Mark Entry),
Microsoft Word adds a special XE (Index Entry) field that includes the marked main entry, subentry and
any cross-reference information that you choose to include. It can be seen if you switch on your hidden
formatting symbols.
Subentry
After you mark all the index entries, you choose an index design and insert the automatic index.
As an example, refer to Question 1.6 and 1.10 in the November 2016 examination question paper.
1Metal 1.6 Find the heading 'Demand for Precious Metals', which contains an index entry on the text
'Precious Metals'. The index entry named 'Precious Metals' already contains a subentry
named 'gold'.
Add 'silver' as ANOTHER subentry for the 'Precious Metals' index. (1)
1.10 Find the automatic index below the text 'Index' on the last page of the document and update
the index.
(1)
DATABASES (revision)
Forms, queries and reports as indicated on page 40 of the CAPS:
As an example, refer to Question 5.4 in the March 2016 examination question paper: