Lesson 5 Grade 8 Computer Literacy

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Advanced VLOOKUP HLOOKUP

Functions Function Function

READ AND LEARN


More Advanced Functions

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!.

Syntax: IFERROR (value, value_if_error)

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.”

TLE8 (Computer Literacy) Page 1|7


SUMIF Function

This function is used if you want to add up the values in a given range that meets a certain criterion.

Syntax is: =SUMIF (RANGE, CRITERIA, [SUM RANGE])

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.

This would give you a result of 173 since


it added up the grade for Science which is
86 and the grade for English which is
equivalent to 87.

SUMIFS Function

This function extends the functionality of SUMIF() by adding up data that meets multiple criteria.

Syntax: =SUMIFS (sum_range, criteria_range1, criteria1, [criteria_range2, criteria2],..)

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.

TLE8 (Computer Literacy) Page 2|7


COUNTIF Function

This function is used to count up the number of the cells within a range that meet the specified criterion.

Syntax: COUNTIF( range, criteria)

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.

Syntax: =AVERAGE(range, criteria, average_range)

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.

TLE8 (Computer Literacy) Page 3|7


AVERAGEIFS Function

This function will return the average of all cells that meet multiple criteria.

Syntax: =AVERAGEIFS (average_range, criteria_range1, criteria1, criteria_range2, 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.

Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, Range_lookup)

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”.

TLE8 (Computer Literacy) Page 4|7


HLOOKUP() Function

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.

Organization It is poorly There are some Method of


organized signs of logical organization is
(3) organization but well suited.
can be improved.

Neatness The worksheet is The worksheet is The worksheet is


not done neatly. done neatly. done very neatly.
(2)

Total Score

TLE8 (Computer Literacy) Page 5|7


FOR THOSE WHO HAVE ELECTRICITY AND GADGETS, PLEASE DO THE FOLLOWING:

Worksheet No. 6-IF Function (30 pts.)

1. Create a new worksheet in an electronic spreadsheet program.


2. Type the data as shown below.
3. Apply all borders to cells A7:D16.
4. Apply a White font text over a
Black fill color to cells A7:D7.
5. Compute for the following:
a. Create a formula in B18 that
will sum up all the amounts in
D8:D16 that are greater than or
equal to 500.00.
b. Create a formula in cell B19
that will sum up all amounts in
D8:D16 where Unit Price is
greater than or equal to 15.
c. Create a formula in cell B20
that will count all quantity that
are greater than or equal to 100.
d. Create a formula in cell B21
that will get the average of all
amounts in D8:D16 that are
greater than or equal to 500.00.
e. Create a formula in cell B22
that will get the average of all
amounts in D8:D16 of those
items that starts with letter “T”
with unit price of greater than
70.
You should come up with this output:

6. Save your file as IF Function.xlsx.


7. Print and then attached your
worksheet in this learning packet.

Worksheet Format:

Orientation- Landscape

Paper size - Letter

Font name- Calibri

Font size- 12

TLE8 (Computer Literacy) Page 6|7


Take Note!

 Print the worksheet in a separate bond paper.


 Make sure to follow the given format and examples.

REFLECT AND CONCLUDE!

Please make a reflection and conclusion about the lesson in 3 sentences only. Write your answer in the
space provided.

How helpful are the advanced functions in using electronic spreadsheet?

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

TLE8 (Computer Literacy) Page 7|7

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy