Module 2
Module 2
40571A
Microsoft Excel expert 2019
Module 2: Using advanced formulas
Using advanced formulas
Contents
Contents ................................................................ 2 Try-it: Use functions with multiple
Module overview .............................................. 5 criteria ........................................................ 23
2
Using advanced formulas
Try-it: Use NOW and TODAY .......... 55 Ease of Access Options ...................... 69
3
Using advanced formulas
4
Using advanced formulas
Module overview
Description
You can use Microsoft Excel 2019 to help answer questions that require some amount of
data analysis. For example, you might want to find out:
• What’s the average of sales of sneakers at your favorite store?
• How many dogs or cats live on your street?
• How many school days are there until summer vacation starts?
• What’s the weekly food bill for families with more than two children in your area?
If you have all the data you need in a worksheet, you could work out the answers
manually by using a calculator, studying the data, or using various built-in Excel
functions or a combination of functions such as Sort, Filter, and Subtotal. In this
module, you’ll learn about other types of functions that you can use, such as logical,
statistical, mathematical, lookup, and date and time functions to make the job easier.
After learning about these functions, you’ll be able to choose which ones(s) to use to get
the answer you need. You’ll be able to leave the calculator aside and use Excel to get the
right results. You’ll also learn how to configure Excel to perform calculations in your
workbooks and how to edit Excel Options to suit your requirements better.
Using lookup Use Match and Index functions to find data • 3.2.1
functions and and create links to cells or ranges in other • 1.1.2
external workbooks
references
5
Using advanced formulas
Scenario
You’re analyzing the most recent soil testing report and comparing it to previous test
results. There are specific questions that you need to answer to help the farm’s
agronomist evaluate whether the soil conditioning measures taken over the past year,
which include aeration, drainage, and decreased use of pesticides and fertilizers, have
improved the soil quality. You also need to find out how many working days passed
from when the soil test was taken to the date the results were received and how many
days until the next results should be received.
Cornerstone
This module concludes with a Cornerstone project in which you’ll use logical, statistical,
and mathematical functions to analyze soil test results. During the Cornerstone, you’ll:
1. Use the LOOKUP function to retrieve specific values.
2. Create COUNTIF and IFS functions.
3. Use MATCH and INDEX functions.
4. Use date and time functions to calculate future dates.
5. Create a formula by combining the IF and WORKDAY functions.
6
Using advanced formulas
Warm-up
Ask your neighbor what they enjoyed the most about the previous module. Is there
anything they are looking forward to learning in future modules of this course? Use the
following questions to find out what you already know about this lesson’s topics.
1. Which of the following categories does the AVERAGEIF function belong to?
Select the correct option.
a. Math & Trig
b. Logical
c. Lookup & Reference
d. Statistical
2. Which of the following categories does the SUMIFS function belong to?
Select the correct option.
a. Math & Trig
b. Logical
c. Lookup & Reference
d. Statistical
7
Using advanced formulas
3. Which of the following categories does the IFS function belong to?
Select the correct option.
a. Math & Trig
b. Logical
c. Lookup & Reference
d. Statistical
4. To work out how many entries in a list are equal to three specific conditions, you can
use the Select here to enter text. function.
Fill in the blank space.
AVERAGEIF
The AVERAGEIF function finds the arithmetic mean for the cells specified by a given
criteria or condition. The syntax for this function is =AVERAGEIF(range, criteria,
[average_range]). The part contained within square brackets is optional.
8
Using advanced formulas
As with all functions in Excel, you can manually enter the function, you can start the
function from the Formulas tab, or you can use the Insert Function. When you begin
entering the formula, such as =AVE, Excel will display possible functions for you to
choose from. You can continue entering the formula or you can select the formula from
the displayed list by either double-clicking it or by selecting the Tab key. Your formula
will be updated as follows and you can continue entering the formula:
1. Enter the range of cells to evaluate. This can be a range, a whole column or row, or a
named range if you have created one, followed by a comma (,).
2. Enter the criteria enclosed in quote marks. The criteria can be a number, cell
reference, expression, or text, followed by a comma (,). For example, to find out the
average of all cells that have a value greater than 100, enter “>100”.
3. Enter the actual cells to average. If you do not provide any cell references, the cells in
the first range will be averaged. If the range in step 1 is numerical, you might not
need to perform step 3.
4. Enter a parenthesis ) to complete the formula, and then select Enter.
Alternatively, use one of the following methods to enter the formula and the function
arguments:
• Select the Formulas tab, and then select the More Functions category.
• Select Statistical, select AVERAGEIF, and then select OK.
Another way to do this:
1. On the Formulas tab, select Insert Function or select Shift +F3 on your keyboard.
Alternatively, select the Insert Function button next to the Formula Bar.
o Enter AVERAGE into the search box and then select Go (or select Enter).
Alternatively, in the Or select a category drop-down menu, change the category
from Most Recently Used to Statistical.
2. Select AVERAGEIF from the list of functions, and then select OK (or select Enter). The
Function Arguments dialog box opens.
3. In the Range box, enter the range of cells you want Excel to evaluate. This can be a
range, whole column or row, or a named range if you have created one.
4. In the Criteria box, enter what you want to find. This can be a number, cell reference,
expression such as >100, or text).
9
Using advanced formulas
5. In the Average_range box, enter the range to be averaged, if required. This box is
optional.
SUMIF
The SUMIF function is similar to the AVERAGEIF function, except that it adds the values
in cells specified by a given criteria or condition. This function is included in the Math &
Trig category and uses the following syntax:
=SUMIF(range, criteria, [sum_range])
The part contained within square brackets is optional.
10
Using advanced formulas
1. Enter the range of cells to evaluate. This can be a range, a whole column or row, or a
named range if you have created one, followed by a comma (,).
2. Enter the criteria enclosed in quote marks. The criteria can be a number, cell
reference, expression, or text, followed by a comma (,). For example, to find out the
sum of all cells that have a value greater than 100, enter “>100”.
3. Enter the actual references of cells to sum. If left blank, the cells in range will be
used.
4. Enter a parenthesis ) to complete the formula, and then select enter.
Alternatively, on the Formulas tab, select the Math & Trig category, and then select
SUMIF.
The following steps are another way to do this:
1. On the Formulas tab, select Insert Function or select the Insert Function button
next to the Formula Bar.
2. Enter SUMIF into the search box, and then select either Go or Enter. Alternatively, in
the Or select a category drop-down menu, change the category from Most
Recently Used to Math & Trig.
3. Select SUMIF from the list of functions, and then select either OK or Enter. The
Function Arguments dialog box opens.
4. In the Range box, enter the range of cells you want Excel to evaluate. This can be a
range, a whole column or row, or a named range if you have created one.
5. In the Criteria box, enter the condition that you want Excel to validate the cells
against. This can be a number, a cell reference, an expression such as >100, or text.
6. The Sum_range box is optional. If required, you can enter the range to be averaged
in this box.
7. Select either OK or Enter to complete the formula.
11
Using advanced formulas
Video
To review the video on the SUMIF function, go to: SUMIF function
COUNTIF
The COUNTIF function counts the cells that meet a specified criteria or condition. It
belongs to the Statistical category of functions and has the following syntax:
=COUNTIF(range, criteria)
1. Enter the range of cells to evaluate. This can be a range, a whole column or a row, or
a named range if you have created one, followed by a comma (,).
2. Enter the criteria enclosed in quotes. The criteria can be a number, cell reference,
expression such as >100, or text, followed by a parenthesis ) to complete the
formula.
Note that all criteria must be entered within quote marks, for example “>100”.
12
Using advanced formulas
Alternatively:
1. On the Formulas tab, select Insert Function or select the Insert Function button
next to the Formula Bar.
2. Enter COUNTIF into the search box, and then select either Go or Enter. Alternatively,
in the Or select a category drop-down menu, change the category from Most
Recently Used to Statistical.
3. Select COUNTIF from the list of functions and then select OK or select Enter.
Alternatively, on the Formulas tab, select More Functions, select Statistical, and
then select COUNTIF. The Function Arguments dialog box opens.
4. In the Range box, enter the range of cells you want Excel to evaluate against a
criterion. This can be a range, a whole column or a row, or a named range if you
have created one.
5. In the Criteria box, enter the criteria that you want Excel to evaluate. The criteria can
be numbers, cell references, expressions such as >100, or text.
13
Using advanced formulas
Other Functions
The following screenshot depicts some sample data.
The following table provides a brief overview of additional functions included in Excel.
The examples provided in this table use the sample data displayed in Figure 6.
Function Description
IF Syntax:
=IF(Logical_test, value_if_true, value_if_false)
Evaluates whether a condition is met. Returns one value if true and
another if false.
Example:
=IF(C2>A2,"Increasing","Investigate")
Result = Increasing
NOT Syntax:
=NOT(Logical)
Evaluates whether any of the arguments are true. Returns FALSE if all
arguments are false.
Examples:
=NOT(A2>1000)
Result = TRUE
=IF(AND(NOT(A2<B2),NOT(B2<C2)),"Investigate","Increasing")
Result = Increasing
14
Using advanced formulas
Function Description
AND Syntax:
=AND(Logical1, Logical2,….)
Evaluates whether all arguments are true. If all arguments are true, the
result will be TRUE. If any of the arguments are not true, the result will
be FALSE.
Example:
=AND(A2>1000,B2>1000,C2>1000)
Result = FALSE
=IF(AND(A2>1000,B2>1000,C2>1000),”Good”,”Poor”)
Result = Poor
Additional information
For more information on Logical functions, go to: Formulas and
functions
For more information on Math & Trig functions, go to: Math and
trigonometry functions (reference)
For more information on Statistical functions, go to: Statistical
functions (reference)
15
Using advanced formulas
Resources required
You’ll need the following resources for this activity:
• Open L1_T1_act_sales_starter.xlsx in this lesson’s Learning Activity Resources.
Activity instructions
Participate in the activity by following these instructions:
1. Follow along as the teacher demonstrates how to create a SUMIF function to total
all the vegetable sales.
2. Change the contents of G2 to Fruit, then Nuts, and then Honey Based.
3. Edit the function from SUMIF to AVERAGEIF.
Try-it 1
Edit an existing formula to use the SUMIF function instead of AVERAGEIF.
Resources
You’ll need the following resources for this try-it:
• Open L1_T1_try1_sales_starter.xlsx in this lesson’s Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Examine the function in cell H2.
2. Edit the function to change it to a SUMIF function to find the total vegetable sales
for winter.
3. Save the file as the same name plus your initials.
Try-it 2
Create a function to calculate the number of vegetable entries in a specified range.
16
Using advanced formulas
Resources
You’ll need the following resources for this try-it:
• Open L1_T1_try2_sales_starter.xlsx in this lesson’s Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. In cell H2, create a function that will count the number of vegetables in the
Category column.
2. Save the file as the same name plus your initials.
Try-it 3
Create a function that will average the total vegetable sale values for summer.
Resources
You’ll need the following resources for this try-it:
• Open L1_T1_try3_sales_starter.xlsx in this lesson’s Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. In cell H2, create a function that will average the values for total vegetable sales in
summer.
2. Save the file as the same name plus your initials.
17
Using advanced formulas
Continuing from Topic 1, imagine a worksheet with three columns of data: the first
column contains states, the second contains cities, and the third contains population
statistics. You can count how many entries are listed, but what if you only want to count
the entries above a specific figure? That’s when you need to use COUNTIF instead of
COUNT.
IFS
IFS is a great new function available in Excel 2019. Evaluating your data against certain
criteria often results in multiple possible outcomes, and not just a true or false value.
The IFS function evaluates whether your data satisfies one or more conditions and
returns a value corresponding to the first true condition. In previous versions of Excel,
you would need to create a nested IF function, but in Excel 2019, you can use the IFS
function. It belongs to the Logical category of functions and uses the following syntax:
=IFS(logical_test1, value_if_true1, logical_test2, value_if_true2,…)
To use the IFS function:
1. In the Formula Bar, enter =IFS( and then enter your question, followed by a comma.
2. Enter the result you want if the answer to your question is yes, followed by a comma.
3. Enter your next question, followed by a comma.
4. Enter the result you want if the answer to your second question is yes.
5. Continue entering your questions and the results you want until you have added all
your questions.
6. Close the formula with a closed parenthesis ) and then select Enter. Similar to how
you used the other functions, you can use one of the following methods to enter a
formula:
o Select the Formulas tab, select the Logical category, and then select IFS.
o On the Formulas tab, select Insert Function, or select the Insert Function
button next to the Formula Bar.
18
Using advanced formulas
o Enter IFS into the search box and then select Go or select Enter. Alternatively,
change the category from Most Recently Used to Logical.
o Select IFS from the list of functions, and then select OK. The Function
Arguments dialog box opens.
7. As you enter your logical tests and the values you want if the result is true, Excel
provides you more boxes to enter additional questions.
8. Select OK or select Enter to complete the function.
Additional information
For more information on the IFS function, go to: IFS Function
19
Using advanced formulas
SWITCH
The SWITCH function compares one value against a list of values and returns the first
matching value as the result. If no match is found, the function can return an optional
default value. The syntax for SWITCH is =SWITCH(expression, value1, result1,
[default_or_value2, result2],…..). The part within square brackets is optional.
You can use this function to switch specific results to a different result. You could
consider this to be similar to using the Find and Replace commands, except that you
can replace more than one thing at the same time.
For example, imagine you have a worksheet that lists vegetables that are known by
different names in different countries/regions, and you need to change the words to use
the American names. You could find each word and replace it one by one or you could
create a formula using the SWITCH function as shown in the following example:
=SWITCH(F4,"Aubergine","Eggplant","Chicory","Endive","Swede","Rutabaga","Co
urgette","Zucchini",F4)
This formula evaluates the value in cell F4, and if it contains Aubergine, switches it to
Eggplant; if it contains Chicory, switches it to Endive; and so on. If F4 doesn’t contain any
of those words, the function will return the original value of F4. Then, to tidy up the
worksheet, you could copy the result and paste it on top of the original data as values to
remove the formula. Excellent!
You can combine the SWITCH function with other functions; in lesson 4 of this module,
you’ll combine SWITCH and WEEKDAY.
AVERAGEIFS
The AVERAGEIFS function is a statistical function that finds the average (also known as
the arithmetic mean) for the cells specified by a given set of criteria or conditions. The
syntax for AVERAGEIFS is =AVERAGEIFS(average_range, criteria_range1, criteria1,
criteria_range2, criteria2,…).
To create an AVERAGEIFS function:
1. Enter =AVERAGESIFS( in the cell you want to create the formula.
2. Enter the range to be averaged if all the criteria are met. This can be a range, a whole
column or a row, or a named range if you have created one, followed by a comma (,).
3. Enter the range where the first criteria will be evaluated, followed by a comma.
4. Enter the criteria, which can be a number, cell reference, expression such as >100, or
text, followed by a comma (,).
20
Using advanced formulas
5. Enter the next range where the next criteria will be evaluated, followed by a comma
(,).
6. Enter the next criteria, followed by a comma (,) until you have completed adding all
your criteria to evaluate, and then enter a closed parenthesis ) to finish the formula.
7. Select Enter to complete the formula.
Alternatively, use the following steps:
1. Select the Insert Function button next to the Formula Bar or select Insert Function
on the Formulas tab.
2. Enter AVERAGE into the search box, and then select either Go or Enter. Alternatively,
in the Or select a category drop-down menu, change the category from Most
Recently Used to Statistical.
3. Select AVERAGEIFS from the list of functions, and then select either OK or Enter.
Alternatively, select the Formulas tab, select More Functions, select Statistical, and
then select AVERAGEIFS. The Function Arguments dialog box opens as depicted in
the following screenshot.
21
Using advanced formulas
6. Continue to add the additional criteria ranges and criteria values you need until you
have completed adding all of your criteria.
7. Select either OK or Enter to complete the formula.
Editing functions
There are many methods you can use to edit a function. First, select the cell containing
the function to edit, and then use one of the following options:
• Select the Formula Bar, make your alteration, and then select Enter to complete the
edit.
• Select the Insert Function and then make your alteration in the Function
Arguments dialog box. If there are nested functions within the same formula, select
any of the function names within the Formula Bar; the Function Arguments dialog
box will then switch to that part of the formula. Select either OK or Enter to complete
the edit.
• Select the formula and then select F2, make your alteration, and then select Enter to
complete the edit.
22
Using advanced formulas
Additional information
For more information on the SWITCH function, go to: SWITCH
function
Resources required
You’ll need the following resources for this activity:
• Open L1_T2_act_functions_starter.docx in this lesson’s Learning Activity Resources.
Activity instructions
Participate in the activity by following these instructions:
1. Study the description in the first column of the table in the Word document.
2. Work in pairs, teams, or individually (as instructed by your teacher) to indicate the
correct function against each description.
3. There are 12 functions to identify.
Try-it 1
Create a new formula that uses the MAXIFS function.
Resources
You’ll need the following resources for this try-it:
• Open L1_T2_try1_sample_starter.xlsx in this lesson’s Learning Activity Resources.
23
Using advanced formulas
Instructions
The following are the general tasks that you need to perform during this try-it:
1. In cell F2, create a function that will find the maximum sample value if the rate is
greater than or equal to 3 and if it belongs to the periodic table group 2.
2. Save the file as the same name plus your initials.
Try-it 2
Describe what the IFS function is calculating in column D.
Resources
You’ll need the following resources for this try-it:
• Open L1_T2_try2_sample_starter.xlsx in this lesson’s Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Examine the comment in cell D2.
2. Edit the comment to complete the description of what the function in cell D2 is
calculating.
3. Save the file as the same name plus your initials.
Wrap-up
Do you or your classmates have any concerns about today’s topics? Maybe you can
help. Make a note for the “mud puddle” or “parking lot” or send a short email to your
teacher if your concerns are not answered. Then, use these questions to check what you
learned in this lesson.
1. Which of the following functions does not exist in Excel 2019?
Select the correct option.
a. AVERAGEIF
b. MAXIF
c. SUMIF
d. MINIFS
24
Using advanced formulas
2. If the content of A2 is 100 and the contents of B2 is 200, what result would you get
using the formula =IF(AND(A2>50,B2>200),"Excellent","Needs improvement")
Select all that apply.
a. Excellent
b. You would get an error
c. Needs improvement
d. A2>50
3. You can use an IFS function instead of which of the following functions?
Select all that apply.
a. Nested IF
b. IF
c. COUNTIF
d. AND
4. Identify the category to which the following functions belong.
o SUMIFS
o COUNTIF
o AVERAGEIFS
o SWITCH
Categorize the following items by adding the function name next to each item.
o Math & Trig - Select here to enter text.
o Statistical - Select here to enter text.
o Statistical - Select here to enter text.
o Logical - Select here to enter text.
25
Using advanced formulas
Warm-up
Use these questions to find out what you already know about this lesson’s topics.
1. What does the V in VLOOKUP mean?
Select the correct option.
a. Value
b. Value_if_true
c. Vertical
d. View
2. The HLOOKUP function belongs to which category of functions?
Select the correct option.
a. Math & Trig
b. Lookup & Reference
c. Logical
d. Statistical
26
Using advanced formulas
3. There are many Lookup & Reference functions in Excel 2019, not all of which are
mentioned in this lesson. Which of the following functions do not belong to the
Lookup & Reference function category?
Select all that apply.
a. REPLACE
b. HLOOKUP
c. LOOKUP
d. SWITCH
4. VLOOKUP will return a value from a column index number, and HLOOKUP will
return a Select here to enter text. index number.
Fill in the blank space.
27
Using advanced formulas
5. Enter False or 0 for an exact match, or enter True or 1 for an approximate match.
6. Complete the formula with a closed parenthesis ) and then select enter.
Alternatively, to create a VLOOKUP using the Function Arguments dialog box:
1. Select the Insert Function button next to the Formula Bar or on the Formulas tab.
2. Enter VLOOKUP into the search box and then select either Go, or change the
category from Most Recently Used to Lookup & Reference.
3. Select VLOOKUP from the list of functions and then select OK. Alternatively, select
the Formulas tab, select Lookup & Reference, and then select VLOOKUP. The
Function Arguments dialog box opens as the following screenshot depicts.
4. In Lookup_value, enter the value you want to find. This can be a cell reference, text,
or a number.
5. In Table_array, enter the range or table of cells in which you want to find the value.
The table array can be a defined range, a table, or a range of cells that may need to
be absolute.
6. In Col_index_num, enter the column number you want to return the value from.
28
Using advanced formulas
Video
To review the video on the VLOOKUP function, go to: VLOOKUP
function
Resources required
You’ll need the following resources for this activity:
• Open L2_T1_act_elements_starter.xlsx in this lesson’s Learning Activity Resources.
29
Using advanced formulas
Activity instructions
Participate in the activity by following these instructions.
1. Follow your teacher and participate in the discussion.
2. Create another formula with the VLOOKUP function along with your teacher for
practice before filling out the rest of the elements.
Try-it 1
Edit the function on the Samples worksheet so that the levels in column D are correct.
Resources
You’ll need the following resources for this try-it:
• Open L2_T1_try1_elements_starter.xlsx in this lesson’s Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Examine the values in column D. You’ll notice that some of the values are correct and
others are incorrect.
2. Edit the formula in D2 to fix the errors.
3. Fix the rest of the formulas in column D.
4. Save the file as the same name plus your initials.
Try-it 2
Find the correct periodic table group for each element listed.
Resources
You’ll need the following resources for this try-it:
• Open L2_T1_try2_elements_starter.xlsx in this lesson’s Learning Activity Resources.
30
Using advanced formulas
Instructions
The following are the general tasks that you need to perform during this try-it:
1. In cell B2, on the Samples worksheet, create a formula that will find the element’s
periodic table group number from the Elements_Info defined range on the
Elements worksheet.
2. Add the formula for the rest of the elements on the Samples worksheet.
3. Save the file as the same name plus your initials.
Additional information
For more information on using range names in functions, go to: Define
and use names in formulas
31
Using advanced formulas
4. In the Lookup_value box, enter the value you want to find. This can be a cell
reference, text, or a number.
5. In Table_array, enter the range or table of cells you want to find the value in. The
table array can be a defined range or table or a range of cells that may need to be
absolute.
6. In Row_index_num, enter the row number you want to check.
7. In Range_lookup, enter False or 0 for an exact match. For an approximate match,
enter True or 1, or leave it blank.
8. Select OK or select Enter to complete the formula.
Note:
Use the following guidelines when creating a HLOOKUP function:
• When you use TRUE in Range_lookup or do not enter anything, Excel will return the
closest match lower than the number you are looking up. If there is no lower value to
return, #N/A will be returned.
• The HLOOKUP function checks the first row of the table array and returns the first
match it can find.
• When looking up numerical values, you should sort the table array by the first row,
smallest to largest first. To do that:
o Select the Data tab and then select Sort.
o Select the Options button and then select Sort left to right under Orientation.
o Continue to set the sort option you want.
• If the Range_lookup is FALSE or 0 and the Lookup_value is text, you can use a
wildcard character within the Lookup_value. Use a question mark (?) to match any
single character or an asterisk (*) to match any sequence of characters in the
Lookup_value. To find an actual question mark or asterisk, type a tilde (~) before the
character.
32
Using advanced formulas
Additional information
For more information on the HLOOKUP function, go to: HLOOKUP
function
Resources required
You’ll need the following resources for this activity:
• Open L2_T2_act_trace_elements_starter.xlsx in this lesson’s Learning Activity
Resources.
Activity instructions
Participate in the activity by following these instructions:
1. Consider the difference between an HLOOKUP and VLOOKUP. Ask yourself:
o What does the V stand for?
o What does the H stand for?
o What difference does it make to the formula?
2. Be prepared to share with the class.
3. Examine the VLOOKUP function in column C of the Soil Sample 2019 worksheet.
4. Work with your neighbor to create a similar formula on the Soil Sample 2020
worksheet, but use HLOOKUP instead. A range named Level has been created for
your use as the table array on the Soil Sample 2020 worksheet.
33
Using advanced formulas
Try-it
Imagine one of your peers has asked you to explain how to use lookup functions and
the various elements in these functions. In this try-it, you’ll try to describe the
HLOOKUP and VLOOKUP functions to make it as easy as possible for your peers to
understand how these functions work.
Resources
You’ll need the following resources for this try-it:
• Open L2_T2_try_trace_elements.xlsx in this lesson’s Learning Activity Resources as
reference or create your own data in a blank workbook.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Use any method and/or help available to you and your partner to write a brief user
guide that will help your friends understand these two functions.
2. Consider:
o Are all the four parts of the function required?
o What’s the correct sequence for the functions?
o How would you make the formula easier to understand?
o What’s the difference between an HLOOKUP and VLOOKUP?
3. Be prepared to share your work with the class.
4. Your teacher may ask you to hand in your work at the end of the lesson.
Wrap-up
For what kind of data would it be useful to apply the VLOOKUP or HLOOKUP
functions? Discuss with your neighbor. Use the following questions to review what you
learned in this lesson.
1. In a VLOOKUP or a HLOOKUP function, what should you enter in the fourth
segment of the formula to specify that you want an approximate match return?
Select all that apply.
a. True
b. Leave it blank
c. False
d. 1
34
Using advanced formulas
2. A VLOOKUP function checks the Select here to enter text. column in a table array
to match it with the lookup value.
Fill in the blank space.
3. When using a VLOOKUP function for a numerical value, it’s best practice to sort the
first column from Select here to enter text. to Select here to enter text.
Fill in the blank spaces.
4. What is the correct order of entering the four parts of an HLOOKUP function?
Indicate the correct sequence by adding numbers 1-4 next to the following items.
a. Row_index_num - Select here to enter text.
b. Range_lookup - Select here to enter text.
c. Table_array - Select here to enter text.
d. Lookup_Value - Select here to enter text.
35
Using advanced formulas
Warm-up
Use the following questions to find out what you already know about this lesson’s
topics.
1. To which category of functions does MATCH belong?
Select the correct option.
a. Logical
b. Financial
c. Lookup & Reference
d. Statistical
36
Using advanced formulas
2. When you reference another workbook in a formula, what type of brackets enclose
the source workbook within the formula?
Select the correct option.
a. ( )
b. < >
c. [ ]
d. { }
3. When you reference another workbook in a formula, what symbol is after the source
worksheet name within the formula?
Select the correct option.
a. !
b. ?
c. $
d. \
4. When the value you are searching for is not in the first column of a table array, you
can use the Select here to enter text. and/or Select here to enter text. functions.
Fill in the blank spaces.
37
Using advanced formulas
MATCH function
The MATCH function belongs to the Lookup & Reference function category and uses
the following syntax:
=MATCH(lookup_value, lookup_array, [match_type])
The Lookup_value and Lookup_array components are similar to the VLOOKUP and
HLOOKUP function. The part in square brackets is optional but has three possible
values that you can enter:
• Enter 0 to find an exact match you need to retrieve.
• Enter 1 to find the largest number, greater than or equal to the lookup value.
However, the lookup array must be sorted smallest to largest.
• Enter -1 for the smallest number, less than or equal to the lookup value. However,
the lookup array must be sorted in largest to smallest order.
Here are some examples of the MATCH function:
• =MATCH("Iron",A1:A24,0) will return the position of Iron within the range A1:24.
Based on the data in Figure 10, the result is 12.
• =MATCH(200,B1:B24,-1) will return the position of the smallest number, less than
or equal to the lookup value. Based on the data in Figure 10, the result is 5, meaning
anything below the fifth position (B5) is below 200.
• If the data in column B in Figure 11 is reversed, that is, sorted smallest to largest,
=MATCH(200,B1:B24,1) will return the position of the highest number, greater than
or equal to the lookup value. The result is 20.
38
Using advanced formulas
39
Using advanced formulas
INDEX function
The INDEX function also belongs to the Lookup & Reference function category.
However, the INDEX function has two forms: the array form and the reference form. The
array form returns an entire row or column. The reference form returns the value in the
intersecting cell where the row and column meet:
• =INDEX(array, row_num, column_num)
• =INDEX(reference, row_num, [column_num], [area_num])
40
Using advanced formulas
Here are some examples of the INDEX function based on the data in Figure 12.
• To find the rate for Zinc that was recorded in 2016, the formula is:
=INDEX(A5:C10,6,3).
• This will return the contents of the cell in the sixth row and third column within the
range A5 to C10. The result will be 5.
• To find the rate for Zinc in 2016, 2018, or 2020, the formula is:
=INDEX((A5:C10,E5:G10,I5:K10),6,3,2). The reference part of the function has been
edited to include three ranges to which the function should refer. The 2 at the end of
the formula refers to which of the three tables to search. In this case, it is the second
table (E5 to G10). The result will be 4.
=INDEX((A5:C10,E5:G10,I5:K10),6,3,3). The 3 at the end of the formula indicates
that the function should refer to the third table (I5 to K10). The result will be 3.
41
Using advanced formulas
• When using the array form of the INDEX function, you must indicate the cells in
which you want the results to be displayed. For example, if there are three values to
return from a row, you need to select three cells while creating the formula. When
you have created the formula, you must select Ctrl+Shift+Enter to complete it;
otherwise, you won’t get the correct answer. This creates an array formula with curly
brackets (braces) at either end of the formula:
{=INDEX((A5:C10,E5:G10,I5:K10),6,0,3)}
This formula will return the entire sixth row in the third table; the result will be Zinc,
1.48, and 3.
Video
To review the video on the MATCH function, go to: MATCH function
To review the video on the INDEX function, go to: INDEX function
42
Using advanced formulas
Resources required
You’ll need the following resources for this activity:
• Open L3_T1_act_elements_starter.xlsx in this lesson’s Learning Activity Resources.
Activity instructions
Participate in the activity by following these instructions:
1. Examine the data on the Elements worksheet. Consider the following:
o If you wanted to find the symbol for any of the elements, could you use
VLOOKUP or HLOOKUP? If not, why not?
o Is it possible to extract a full row using MATCH or INDEX?
2. Switch to the Searching Elements worksheet and examine the function in cell J2
and in the cells I7 to L7.
3. Check your understanding of how the function works.
4. Change the contents of cell I2 to any other symbol listed in column B. Does the
result in J2 update?
5. Change the row number in any of the formulas in the range I7 to L7. Does the result
update? If not, why not?
6. Follow along as your teacher recreates one of the functions.
Try-it 1
A MATCH function has been created, but it needs to be combined with INDEX to
retrieve the name of the element and not just the position in the column.
Resources
You’ll need the following resources for this try-it:
• Open L3_T1_try1_elements_starter.xlsx in this lesson’s Learning Activity Resources.
43
Using advanced formulas
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Examine the function in cell J2. Notice it’s not retrieving the correct value. It contains
the formula =MATCH(I2,B1:B119,0) and is therefore only returning the position of
the contents of cell I2 within the Elements column.
2. Edit the formula to include the INDEX function so that it picks up the Element name
for the symbol in I2 (you can use the formula in K6 as reference).
3. Change the contents of cell I2 to Cr to check that your formula works.
4. Save the file as the same name plus your initials.
Try-it 2
An INDEX function has already been created, but it needs to be combined with MATCH
to return the required results.
Resources
You’ll need the following resources for this try-it:
• Open L3_T1_try2_elements_starter.xlsx in this lesson’s Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Examine the function in cell J2. It contains an error because it’s unclear which row
and column need to be matched.
2. Edit the formula to include the MATCH function so that it retrieves the Element for
the symbol in I2 (you can use the formula in K6 as reference).
3. Change the contents of cell I2 to Rb to check that your formula works.
4. Save the file as the same name plus your initials.
Try-it 3
Create a new formula using both the INDEX and MATCH functions.
Resources
You’ll need the following resources for this try-it:
• Open L3_T1_try3_elements_starter.xlsx in this lesson’s Learning Activity Resources.
44
Using advanced formulas
Instructions
The following are the general tasks that you need to perform during this try-it:
1. In cell J2, create an INDEX function with a nested MATCH function so that you can
find the Element that matches the contents of I2 in the range A1 to E119.
2. Copy the formula from J2 to K2, and then edit it to find the Group number.
3. Save the file as the same name plus your initials.
45
Using advanced formulas
6. In the Paste_name list, select the range to link to, and then select OK. You’ll be
automatically returned to the destination workbook, and the whole range will be
linked.
Security warnings
When you open a workbook that contains links to other workbooks, Excel might display
a security warning message under the ribbon as depicted in Figure 14.
46
Using advanced formulas
If a source workbook has been updated at any time without the destination workbook
being open, you’ll receive a message as depicted in Figure 15.
If you do receive a warning like this, don’t panic. Select Update if you are happy to go
ahead and update the current workbook, or select Don’t Update if you would prefer
not to. However, be extra careful when making the decision to update or not. If columns
or rows have been inserted into the source workbook since you first created the link, the
cells in the destination workbook might be referring to the wrong cells! If this happens,
close the workbook without saving, and then open again and select Don’t Update
instead. Alternatively, you may need to create the link again.
Break a link
At any time, you can remove the link to an external workbook. To do this:
1. On the Data tab, in the Queries & Connections group, select Edit Links.
2. In the Edit Links dialog box, select the link you want to remove, and then select
Break Link. You could also copy and paste the cell containing the link on top of the
same cell as a value. To do so, copy the cell, and then either access the context menu
(right-click) or select the drop-down menu on the Paste button on the Home tab,
and then select Values.
47
Using advanced formulas
Additional information
For more information on referencing data from other workbooks, go
to: Create an external reference (link) to a cell range in another
workbook
Resources required
You’ll need the following resources for this activity:
• Open L3_T2_act_summary_starter.xlsx, L3_T2_act_finances.xlsx, and
L3_T2_act_sales.xlsx in this lesson’s Learning Activity Resources.
48
Using advanced formulas
Activity instructions
Participate in the activity by following these instructions:
1. Follow along as your teacher links data from the finance workbook into the summary
workbook.
2. Discuss what challenges this may create.
Try-it 1
Create three links from one workbook to another.
Resources
You’ll need the following resources for this try-it:
• Open L3_T2_try1_summary_starter.xlsx and L3_T2_sales.xlsx in this lesson’s
Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. In L3_T2_try1_summary_starter.xlsx, on the Summary worksheet, in cell B18,
create a link to the cell E174 on the Forecast Sales worksheet in L3_T2_sales.xlsx.
2. Repeat to link B19 to F174 and B20 to G174.
3. Save the file as the same name plus your initials.
Try-it 2
Create a link to another workbook by using the SUM function.
Resources
You’ll need the following resources for this try-it:
• Open L3_T2_try2_summary_starter.xlsx and L3_T2_sales.xlsx in this lesson’s
Learning Activity Resources.
49
Using advanced formulas
Instructions
The following are the general tasks that you need to perform during this try-it.
1. In cell B18 on the Summary worksheet in L3_T2_try2_summary_starter.xlsx, create
a formula that totals the cells E174 to G174 in the L3_T2_sales.xlsx workbook.
2. Save the file as the same name plus your initials.
Try-it 3
Create a link to another workbook that averages a defined named range.
Resources
You’ll need the following resources for this try-it:
• Open L3_T2_try3_summary_starter.xlsx and L3_T2_finances.xlsx in this lesson’s
Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it.
1. In cell B4 on the Summary sheet in L3_T2_try2_summary_starter.xlsx, create a
formula that averages the named range Category_Totals in the L3_T2_finances.xlsx
workbook.
2. Save the file as the same name plus your initials.
Wrap-up
Use these questions to check what you learned in this lesson.
1. To return an exact match by using the MATCH function, what value would you use
for the match_type?
Select the correct option.
a. -1
b. 1
c. 0
d. Leave it blank
50
Using advanced formulas
2. When referencing a named range in another workbook, what keyboard shortcut can
you use to open the Paste Name dialog box?
Select all that apply.
a. F1
b. F2
c. F3
d. F4
3. To break a link from one workbook to another, select the Data tab and then select
Edit Links. Select the link to break and then select Select here to enter text.
Fill in the blank space.
4. Order the following components for the INDEX function syntax in the reference form
in the correct sequence.
Indicate the correct sequence by adding numbers 1-4 next to the following items.
a. Column_num - Select here to enter text.
b. Reference - Select here to enter text.
c. Area_num - Select here to enter text.
d. Row_num - Select here to enter text.
51
Using advanced formulas
Warm-up
Use these questions to find out what you already know about this lesson’s topics.
1. What is the keyboard shortcut to enter the current time into a cell?
Select the correct option.
a. Ctrl + semicolon
b. Ctrl + Shift + semicolon
c. Ctrl + tilde
d. Ctrl + D
2. If you want to calculate the next three working days from a specific date, which of
the following functions would you use?
Select the correct option.
a. WEEKDAY
b. NETWORKDAYS
c. WORKDAY
d. DAY
52
Using advanced formulas
3. Which of the following functions will help keep current a formula that refers to
dates?
Select all that apply.
a. HOUR
b. NOW
c. MINUTE
d. TODAY
4. To identify a day of the week as a number rather than a text value, you can use the
Select here to enter text. function.
Fill in the blank space.
NOW function
The NOW function syntax is =NOW(). It’s particularly helpful when you need to display
the current date and time in a worksheet, and you need it to update automatically every
time you open the workbook. Similarly, when you use NOW within a formula, the
formula result will also be up to date to the very minute and second according to the
clock in your device. This is great for recording the time you started a task against the
time you finished it because you can subtract one from the other to calculate the exact
amount of it took to complete the task. What a great tool for time management!
53
Using advanced formulas
TODAY function
The TODAY function syntax is =TODAY(). The TODAY function is similar to the NOW
function. It’s useful when you want to display the current date on a worksheet whenever
you open the workbook. It’s also useful for calculating intervals between dates, in days.
For example, you could have a cell with the start date and another with the finish date,
and then subtract one from the other to work out how many days are between them.
You may need to change the formatting to General if the result is returned in a date
format.
Formula Result
54
Using advanced formulas
Note: When using date and time functions, take care to check the formatting that has
been applied to the cells. You may think you have the wrong result, when it’s really just
a matter of fixing the formatting. For example, you might need to change from a Date
format to General or General to Short Date or Long Date.
Additional information
For more information on the TODAY function, go to: TODAY function.
For more information on the NOW function, go to: NOW function
Resources required
You’ll need the following resources for this activity:
• Create a blank workbook to practice your formulas.
Activity instructions
Participate in the activity by following these instructions:
1. Use any option available to you to research the NOW and TODAY functions.
2. Enter some random dates in any cell in the workbook to practice with.
3. Teach your partner something about each formula.
Resources
You’ll need the following resources for this try-it:
• Open L4_T1_try_question_time.xlsx in this lesson’s Learning Activity Resources.
55
Using advanced formulas
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Answer the questions in column A using either the NOW function or the TODAY
function, or refer to a cell within the worksheet that contains the NOW or TODAY
function.
2. Add a couple of your own questions to the list.
3. Compare your results with your classmates.
4. Did anyone add the same questions as you?
5. Save the workbook as the same name plus your initials.
WEEKDAY function
The WEEKDAY function evaluates a date and returns the day of the week as an integer.
The syntax is =WEEKDAY(serial_number, [return_type]).
Serial_number refers to the date, and return_type is optional. If you omit it, Sunday will
be returned as a 1, Monday will be returned as a 2, and so on. Figure 17 lists the return
types that are available in Excel 2019. The value that will be returned in the example
depicted in the following screenshot will be 5 for Friday.
56
Using advanced formulas
WORKDAY function
The WORKDAY function is great for adding days onto a date, excluding weekends. It
can even exclude bank holidays if you include them in the function! The syntax is
=WORKDAY(start_date, days, [holidays]). Holidays is optional but enables you to
achieve a more accurate result if included. When including holidays, you can refer to
another workbook that contains a list of bank holidays or you can add the list into your
current worksheet if you want to. Don’t forget to check the formatting that has been
applied to the result!
Imagine you had a task to complete within seven working days (in your case, that might
be school days), and you were given the task on a Monday. The due date is not next
Monday, it’s next Wednesday. If that week included one bank holiday, then the due date
would be Thursday. If you wanted to calculate how many days it actually took you to
complete the task, you could use the NETWORKDAYS function.
57
Using advanced formulas
Additional information
For more information on the WEEKDAY function, go to: WEEKDAY
function
For more information on the WEEKDAY function, go to: WORKDAY
function
For more information on date and time functions, go to: Date and
time functions (reference)
Resources required
You’ll need the following resources for this activity:
• Open L4_T2_holidays.xlsx in this lesson’s Learning Activity Resources for reference
and create a blank workbook or use any other open workbook to practice on.
58
Using advanced formulas
Activity instructions
Participate in the activity by following these instructions.
1. In a blank worksheet, enter a few random dates into a few cells.
2. You can use a keyboard shortcut or use a function to enter the current date if you
want.
3. Consider the kind of questions you could answer using the WORKDAY or WEEKDAY
functions.
4. Use L4_T2_holidays.xlsx as reference with the WORKDAY function.
5. Prepare to share your thoughts with the class.
Try-it 1
Create a function that helps you discover what day of the week you were born on.
Resources
You’ll need the following resources for this try-it:
• Create a new blank workbook or use the same one from the previous activity.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Enter a random date at least 16 years ago in cell A1.
2. Create a function in the adjacent cell that returns the day of week of the date you
entered using the return type that would display a Monday as 1.
3. Save the workbook as Weekday_plus your initials.
Try-it 2
Create a function that will calculate the date in 30 working days, including bank holidays
for the current year.
59
Using advanced formulas
Resources
You’ll need the following resources for this try-it:
• Open L4_T2_holidays.xlsx and L4_T2_try2_sample_dates_starter.xlsx in this
lesson’s Learning Activity Resources for reference and create a new blank workbook
or use the same one from the previous activity.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. In cell B2, use a keyboard shortcut to enter today’s date so that it doesn’t update in
L4_T2_try2_sample_dates_starter.xlsx.
2. In cell B3, create a function that will calculate 30 working days in the future using B2
as the start and will take into account the bank holidays listed in
L4_T2_holidays.xlsx.
3. In cell B4, calculate how many days there are between the cells B2 and B3.
4. Save the workbook as the same name_plus your initials.
Wrap-up
If time permits, you can try creating an IF function that includes TODAY. For example, if
a cell is greater than today, it’s in the future; if it’s less than today, it’s in the past. Then
use the following questions to check what you learned in this lesson:
1. The result of a formula should be 12/31/2020 and it displays as 44196. Which of the
following formats will fix it?
Select all that apply.
a. Number
b. General
c. Short Date
d. Long Date
60
Using advanced formulas
2. The WEEKDAY function has several return types that you can use to represent the
day of the week as a number. If you enter 2 as the return type, the result you get is 1.
What day of the week does 1 refer to?
Select the correct option.
a. Friday
b. Saturday
c. Sunday
d. Monday
3. To represent Sunday as 1 in the WEEKDAY function, which return type can you use
from the following?
Select all that apply.
a. Omit it
b. 1
c. 11
d. 17
4. Which of the following is the correct syntax for the WORKDAY function?
Select the correct option.
a. =WORKDAY(start_date, days)
b. =WORKDAY(start_date, days, [holidays])
c. =WORKDAY(serial_number, [return_type])
d. =WORKDAY(serial_number, days, [holidays]).
61
Using advanced formulas
Warm-up
Use these questions to find out what you already know about this lesson’s topics.
1. By default, how are formulas set to update?
Select the correct option.
a. By selecting F9
b. Automatically
c. Automatically except for data tables
d. Manually
2. Which of the following options can you use to set calculation options?
Select all that apply.
a. Select the Format tab, and then select the Formula Auditing group.
b. Select the Format tab, and then select the Calculation group.
c. Select File, select Options, and then select General.
d. Select File, select Options, and then select Formulas.
3. Which of the following tabs are available in Excel Options?
Select all that apply.
a. Advanced
b. Data
c. Ease of Access
d. Review
62
Using advanced formulas
4. Which of the following Excel Options tabs can you use to change the default font
type and font size?
Select the correct option.
a. Add-ins
b. Formulas
c. General
d. Proofing
2. Select one of the three available options: Automatic, Automatic Except for Data
Tables, or Manual.
3. If you select Automatic Except for Data Tables or Manual, when you are ready to
update the formulas, you can select Calculate Now from the Calculation group (or
select F9) or select Calculate Sheet to update the current sheet only (or select
Shift+F9).
4. Select Calculation Options and then select Automatic to return to the default
settings.
63
Using advanced formulas
Note:
• When you change the calculation settings in a workbook, you are setting them at the
application level, which means that these settings will apply for every workbook that
you use in the future and not just the current workbook or worksheet.
64
Using advanced formulas
• From the Formula tab in Excel Options, you can choose to set an additional option
to Recalculate workbook before saving. Disabling this option may help reduce the
time it takes to close a huge workbook.
• You can also edit the iteration calculation settings.
Additional information
For more information on setting calculation options, go to: Change
formula recalculation, iteration, or precision in Excel
Resources required
You’ll need the following resources for this activity:
• Open L5_T1_act_samples.xlsx in this lesson’s Learning Activity Resources.
Activity instructions
Participate in the activity by following these instructions:
1. Follow the teacher’s instructions to change the default calculation options.
2. Consider why you might want to do this in the future.
3. Be prepared to share your thoughts with the class.
Try-it
Set the calculation options back to default settings.
Resources
You’ll need the following resources for this try-it:
• Open L5_T1_try_samples_starter.xlsx in this lesson’s Learning Activity Resources.
65
Using advanced formulas
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Examine the formula in cell A18 on the Trace Elements worksheet. Is it current?
2. Select the keyboard shortcut to update the entire workbook.
3. Alter the sample value for Nickel on the 2010, 2014, and 2018 worksheets to any
other value. Has the data on the Trace Elements worksheet updated? What about
the chart?
4. Set the calculations back to default settings.
5. Save the workbook as the same name_plus your initials.
66
Using advanced formulas
Make a note of whatever changes you make within Excel Options as you might change
an option that does not produce the results you desire, and you might want to revert
the change. You would then need to remember how to set the option back to its
original setting.
Select OK to apply any changes you make, but note that some changes won’t take effect
until you restart the application.
There are several options you can set using Excel Options; however, covering them all in
this guide would be impossible. Instead, the following sections illustrate some of the
most common changes users make.
67
Using advanced formulas
General Options
On the General tab, you can change:
• The default font size
• The number of worksheets to include in every new workbook
• The user name
• The Office Theme setting to Colorful, Dark Gray, Black or White
• Displaying or hiding the mini toolbar when selecting text
• Enabling or disabling live preview
Formulas Options
On the Formulas tab, you can set:
• How Excel calculates formulas
• Whether to enable or disable the use of table names in formulas
• What color to use to indicate errors if you don’t want the default green
• Error checking rules
Proofing Options
Use the Proofing tab to set what is checked when you run Spell Check. You can choose
to:
• Ignore words in UPPERCASE
• Ignore words that contain numbers
• Ignore internet and file addresses
• You can also set the AutoCorrect Options and set the dictionary language.
Save Options
On the Save tab, you can:
• Set the AutoRecover options
• Set the default file location to save for local files, templates, and drafts
Language Options
On the Language tab, you can add languages and the order in which languages are
used.
68
Using advanced formulas
Advanced Options
The Advanced tab has the most options that you can use for customizing Excel. On this
tab, you can:
• Set editing options such as enabling or disabling the fill handle, drag and drop,
AutoComplete, and Flash Fill.
• Enable or disable cut, copy, and paste options.
• Set the quality of images and printing.
• Set chart options.
• Set display options, such as the number of recent workbooks listed in Backstage or
whether to display the Formula Bar.
• For a specific workbook, you can display the scroll bars, worksheet tabs, worksheet
row and column headers, and gridlines.
• And many more options.
Add-Ins
Use the Add-Ins tab to manage the add-ins that are available on your device. Select Go
to activate built-in add-ins such as the Analysis ToolPak or Solver for further analysis
of your data.
69
Using advanced formulas
Additional information
For more information on Excel Options, go to: Advanced Options
70
Using advanced formulas
Resources required
You’ll need the following resources for this activity:
• Open any workbook that you have available or create a blank workbook for
reference.
Activity instructions
Participate in the activity by following these instructions:
1. Follow the discussion and ask/answer questions when prompted.
2. You’ll perform a scavenger hunt to locate specific options in the try-it that follows.
Try-it
Work in pairs or teams to locate where the options listed can be edited in Excel
Options.
Resources
You’ll need the following resources for this try-it:
• Open L5_T2_Excel_options_starter.docx in this lesson’s Learning Activity Resources.
Instructions
The following are the general tasks that you need to perform during this try-it:
1. Access the Excel Options.
2. Locate the option listed in the first column in the Word document.
3. Enter the tab where the options can be found in the second column (there may be
more than one answer).
4. Enter the section under which the option can be found in the third column.
5. Compare your answers with another pair or team before checking against the
solution file.
Accessible alternative:
The teacher will split the class into two teams and call out an option on the list. The
team that finds the option first wins a point. If one team keeps winning, take turns from
team to team.
71
Using advanced formulas
Wrap-up
For the final wrap up before the Cornerstone, there will be a function challenge if time
permits. Open L5_T2_wrap_up.xlsx in the lesson’s Learning Activity Resources. This
workbook contains an assortment of worksheets that should inspire you to think up
some excellent questions. Take a moment to examine the data on any of the
worksheets. (You can also create your own data if you prefer.) Create at least two
questions for your neighbor to answer using any function. Swap places and answer the
questions your neighbor has set for you. (If swapping places is not possible, just ask
your neighbor the question.) Save the workbook as the same name plus your name.
Use the following questions to check what you learned in this lesson:
1. To update formulas on a workbook that is set to manual update, you can use the
keyboard shortcut Select here to enter text. to update all formulas at any time.
Fill in the blank.
2. To update formulas on a workbook that is set to manual update, you can use the
keyboard shortcut Select here to enter text. + Select here to enter text. to update
all formulas in the current worksheet only.
Fill in the blanks.
3. To set the dictionary language to Spanish (Mexico), which tab would you use within
Excel Options?
Select the correct option.
a. Advanced
b. General
c. Proofing
d. Save
4. Which of the following statements is true?
Select all that apply.
a. You can hide the Formula Bar in the current workbook only.
b. You can hide the Formula Bar for all workbooks only.
c. You can hide ScreenTips from everywhere in Excel, except when entering
functions manually.
d. You can hide ScreenTips from everywhere in Excel.
72
Using advanced formulas
Glossary
Array function A formula that calculates more than one variable at the same time.
You must use Ctrl+Shift+Enter to complete an array function; the
completed formula will be contained with braces {…}.
Column index The position of the column within the table array. The row index
number number refers to the position of the row within the table array.
Table array The table, range, or list of cells that contains the value you want to
find.
73
Using advanced formulas
Cornerstone
Overview
In this Cornerstone, you’ll use various functions to analyze data, including Lookup and
Date & Time functions. You’ll also reference cells from another workbook.
Objectives
The following table outlines the Cornerstone objectives and their corresponding MOS
exam objectives.
Use NOW and • 3.3.1: Reference date and time by using the NOW() and
TODAY functions TODAY() functions
Use WEEKDAY and • 3.3.2: Calculate dates by using the WEEKDAY() and
WORKDAY WORKDAY() functions
Duration
50 minutes
74
Using advanced formulas
Instructions
1. Complete the tasks below for each file.
2. When saving your file, add your name to the end of the filename; for example,
Sample_Dwayne_Espino.xlsx. Follow your teacher’s directions for where to save your
files.
3. When you’re done with the Cornerstone, assess your completion and enter the
points you think you earned within the task lists below. You can use the help of your
teacher if you need it.
Tasks
You’ll work with three files in this Cornerstone. The following are the tasks you need to
do within each file.
File 1: Cornerstone_samples_starter.xlsx
Task: Lookup values (4 points)
1. Open Cornerstone_samples_starter.xlsx.
2. In cell B2 in the Sample Summary worksheet, create a function that will find the
element symbol for the element in cell A2 using the table (A1:E119) on the
Elements worksheet. (3 points) (Exam objective 3.2.1)
3. Fill the formula for all cells up to B27 for all the elements. (1 point)
Points scored: Select here to enter text. / 4
75
Using advanced formulas
File 2: Cornerstone_test_date_starter.xlsx
Task: Calculate future dates (5 points)
1. Open Cornerstone_test_date_starter.xlsx and Cornerstone_holidays.xlsx.
2. In cell B2 on the Cornerstone_test_date_starter.xlsx workbook, create a function
that calculates the date in 10 days. (1 point) (Exam objective 3.3.1)
3. In cell B3, check what day of the week it is by using a function that returns Monday
as 1. (2 points) (Exam objective 3.3.2)
4. In cell B4, create a function that will calculate 21 working days from the date in cell
B2, ensuring that you take into account any possible holidays in
Cornerstone_holidays.xlsx. (2 points) (Exam objective 3.3.2 and 1.1.2)
Points scored: Select here to enter text. / 5
76
Using advanced formulas
77