Lesson 5 Grade 8 Computer Literacy
Lesson 5 Grade 8 Computer Literacy
Lesson 5 Grade 8 Computer Literacy
IFERROR Function
This function will test if the value of the expression is an error or the value of the expression is not an
error. This function is used to trap and handle errors in formulas. The IFERROR function protects you
from getting error messages generated by faulty formula such as #N/A, #VALUE!, # REF!, #NUM!,
#NAME?, or #NULL!.
Value argument is the one being checked for an error. Value_if_error is the value to return if the formula
evaluates to an error.
In the given example below, the formula in D2 which is =C2/B2 has been copied down to D6. The error
#DIV/0! Appears in D2 because D2 and B2 are empty. The error #VALUE! Appears in D5 due to
presence of a non-numerical data.
These error messages can be replaced using the IFERROR function. See sample below:
Using the IFERROR function, the error messages has been replaced by your own message “Please review
the data.”
This function is used if you want to add up the values in a given range that meets a certain criterion.
The range and criteria arguments are required in this function. Range is the range of cells that you want to
evaluate based on the criteria. Criteria can be in a form of a number, expression, a cell reference, text, or a
function that defines which cells are to be added. Sum Range argument is optional.
Here is an example. If you wanted to sum up the grades, but only those grades which are greater than or
equal to 86 or more.
SUMIFS Function
This function extends the functionality of SUMIF() by adding up data that meets multiple criteria.
The sum_range, criteria_range1, criteria1 arguments are required in this function. Sum_range argument is
one or more cells to sum. It includes numbers, ranges, cell references that contain numbers.
Criteria_range1 is the first range in which to evaluate the associated criteria. Criteria1 can be in a form of
a number, expression, cell reference, or text that defines which cells in the criteria range1 argument will
be added. Other arguments are optional.
This function is used to count up the number of the cells within a range that meet the specified criterion.
This figure counts the cells that meet the criterion “>=250”.
AVERAGEIF Function
This function is used to get the average of values in cells within a range that meets the specific criteria.
The range argument is one or more cells to average. Criteria can be in a form of a number expression, cell
references, or text that defines which cells are averaged. Average_range is the actual set of cells to
average. If omitted, range is used.
In this given example below, AVERAGEIF function is used to get the average of all total amounts that
meet the criterion “>=1500”. Thus the cells in D3 and D6 are averaged that yields to 2,475.00.
This function will return the average of all cells that meet multiple criteria.
The average_range argument is one cell to average. Criteria _range1 can be 1 to 127 ranges in which to
evaluate the associated criteria. Criteria1 can be in a form of a number, expression, cell reference, or text
that defines which cell will be averaged.
In the given example below, AVERAGEIFS is used to get the average of all total amounts of those items
that is not equal to “S” which unit sold are greater than or equal to 35. Thus, the cells D5 and D6 are
averaged.
VLOOKUP Function
This function will search for specific information which has been stored in a spreadsheet. You can use
this to search the first column of a range and then return a value from any cell on the same row of the
range.
Lookup_value is the value that you want to look into the first column of a table array.
Table_array is the table of data that the VLOOK will search to look for the information you are seeking.
The table array should contain at least two columns of data wherein the first data should
contain lookup-values.
Col_index_num is the number of the column in a table array that contains the data to be returned.
Range_lookup is the logical value which indicates that you want to find the exact or the approximate
match to the lookup_value.
In the given example below, you will type the name of the country in cell A1 which will display the
capital in cell B1 using VLOOKUP function. Thus the formula used is =VLOOKUP(A1,A4:B10,2,False).
The formula searches for the value in cell A1 in the first column of the range A4:B10, and then returns
the value that is contained in the second column of the ranges on the same row as the lookup value
“Philippines”.
This function will look for the specific information that is stored in the rows of a spreadsheet
table. It searches for a value in the top or an array of values, and then returns a value in the same column
from a row you specify in the table or array.
Syntax is as follows: =HLOOKUP( look value, table array, row index num, range_lookup)
Lookup_value -This is the value that you want to look into the first column of a table array.
Table_array - This is the table of data that the VLOOK will search to look for the information you are
seeking. The table_array should contain at least two columns of data wherein the first
data should contain the lookup-values.
Row_index_num –This is the number of the column in a table array that contains the data to be returned.
Range_lookup - This is the logical value which indicates that you wanted to find the exact or the
appropriate match to the lookup_value.
PRODUCT /PERFORMANCE
Criteria 1 2 3 Score
WS No.6
Contents Content is unclear Content is Content is
or no relation to the somewhat accurate,
(5) task. accurate. focused, and
consistent.
Total Score
Worksheet Format:
Orientation- Landscape
Font size- 12
Please make a reflection and conclusion about the lesson in 3 sentences only. Write your answer in the
space provided.
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________