0% found this document useful (0 votes)
10 views

COMP21 Software Applications Week 3 Part 1

The document provides an introduction to using formulas and functions in Excel, emphasizing the importance of cell references and mathematical operators. It explains how to create simple and complex formulas, modify them, and utilize relative and absolute references. Additionally, it includes practical exercises to reinforce learning and understanding of Excel's calculation capabilities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

COMP21 Software Applications Week 3 Part 1

The document provides an introduction to using formulas and functions in Excel, emphasizing the importance of cell references and mathematical operators. It explains how to create simple and complex formulas, modify them, and utilize relative and absolute references. Additionally, it includes practical exercises to reinforce learning and understanding of Excel's calculation capabilities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

Software

Instructor | JOHN RHINO E. SANTOS

APRIL JOY D. PALAHANG


COMP 21 – SOFTWARE APPLICATIONS

FORMULAS
AND
FUNCTIONS

2|P ag e
COMP 21 – SOFTWARE APPLICATIONS

◦◦◦ INTRO TO FORMULAS ◦◦◦

One of the most powerful features in Excel is the ability to calculate numerical information
using formulas. Just like a calculator, Excel can add, subtract, multiply, and divide. In this
lesson, we'll show you how to use cell references to create simple formulas.

Mathematical Operators
Excel uses standard operators for formulas, such as a plus sign for addition (+), a minus
sign for subtraction (-), an asterisk for multiplication (*), a forward slash for division (/), and
a caret (^) for exponents.

All formulas in Excel must begin with an equals sign (=). This is because the cell contains,
or is equal to, the formula and the value it calculates.

Understanding Cell References


While you can create simple formulas in Excel using numbers (for example, =2+2 or =5*5),
most of the time you will use cell addresses to create a formula. This is known as making
a cell reference. Using cell references will ensure that your formulas are always accurate
because you can change the value of referenced cells without having to rewrite the formula.
In the formula below, cell A3 adds the values of cells A1 and A2 by making cell references:

3|P ag e
COMP 21 – SOFTWARE APPLICATIONS

When you press Enter, the formula calculates and displays the answer in cell A3:

If the values in the referenced cells change, the formula automatically recalculates:

By combining a mathematical operator with cell references, you can create a variety of simple
formulas in Excel. Formulas can also include a combination of cell references and numbers,
as in the examples below:

4|P ag e
COMP 21 – SOFTWARE APPLICATIONS

To create a formula:
In our example below, we'll use a simple formula and cell references to calculate a budget.
1. Select the cell that will contain the formula. In our example, we'll select cell D12.

2. Type the equals sign (=). Notice how it appears in both the cell and the formula bar.

3. Type the cell address of the cell you want to reference first in the formula: cell D10 in
our example. A blue border will appear around the referenced cell.

5|P ag e
COMP 21 – SOFTWARE APPLICATIONS

4. Type the mathematical operator you want to use. In our example, we'll type
the addition sign (+).
5. Type the cell address of the cell you want to reference second in the formula:
cell D11 in our example. A red border will appear around the referenced cell.

6. Press Enter on your keyboard. The formula will be calculated, and the value will be
displayed in the cell. If you select the cell again, notice that the cell displays the result,
while the formula bar displays the formula.

If the result of a formula is too large to be displayed in a cell, it may appear as pound
signs (#######) instead of a value. This means the column is not wide enough to
display the cell content. Simply increase the column width to show the cell content.

Modifying Values with Cell References


The true advantage of cell references is that they allow you to update data in your
worksheet without having to rewrite formulas. In the example below, we've modified the
value of cell D10 from $1,200 to $1,800. The formula in D12 will automatically recalculate
and display the new value in cell D12.

6|P ag e
COMP 21 – SOFTWARE APPLICATIONS

NOTE: Excel will not always tell you if your formula contains an error, so it's up to you
to check all of your formulas.

To create a formula using the point-and-click method:


Instead of typing cell addresses manually, you can point and click the cells you want to
include in your formula. This method can save a lot of time and effort when creating
formulas. In our example below, we'll create a formula to calculate the cost of ordering
several boxes of plastic silverware.
1. Select the cell that will contain the formula. In our example, we'll select cell D4.

2. Type the equals sign (=).


3. Select the cell you want to reference first in the formula: cell B4 in our example.
The cell address will appear in the formula.

7|P ag e
COMP 21 – SOFTWARE APPLICATIONS

4. Type the mathematical operator you want to use. In our example, we'll type
the multiplication sign (*).
5. Select the cell you want to reference second in the formula: cell C4 in our example.
The cell address will appear in the formula.

6. Press Enter on your keyboard. The formula will be calculated, and the value will be
displayed in the cell.

8|P ag e
COMP 21 – SOFTWARE APPLICATIONS

Copying formulas with the fill handle


Formulas can also be copied to adjacent cells with the fill handle, which can save a lot
of time and effort if you need to perform the same calculation multiple times in a
worksheet. The fill handle is the small square at the bottom-right corner of the selected
cell(s).
1. Select the cell containing the formula you want to copy. Click and drag the fill
handle over the cells you want to fill.

2. After you release the mouse, the formula will be copied to the selected cells.

9|P ag e
COMP 21 – SOFTWARE APPLICATIONS

To edit a formula:
Sometimes you may want to modify an existing formula. In the example below, we've
entered an incorrect cell address in our formula, so we'll need to correct it.
1. Select the cell containing the formula you want to edit. In our example, we'll select
cell D12.

2. Click the formula bar to edit the formula. You can also double-click the cell to view
and edit the formula directly within the cell.

3. A border will appear around any referenced cells. In our example, we'll change the
first part of the formula to reference cell D10 instead of cell D9.

10 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

4. When you're finished, press Enter on your keyboard or select the Enter command in
the formula bar.

5. The formula will be updated, and the new value will be displayed in the cell.

If you change your mind, you can press the Esc key on your keyboard or click
the Cancel command in the formula bar to avoid accidentally making changes to your
formula.

To show all of the formulas in a spreadsheet, you can hold the Ctrl key and
press ` (grave accent). The grave accent key is usually located in the top-left corner of
the keyboard. You can press Ctrl+` again to switch back to the normal view.

11 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

Let’s Have Some Practice!

1. Open your Practice_Workbook_#11.


2. Click the Challenge tab in the bottom-left of the workbook.
3. Create a formula in cell D4 that multiplies the quantity in B4 by the price per unit in
cell C4.
4. Use the fill handle to copy the formula in cell D4 to cells D5:D7.
5. Change the price per unit for the fried plantains in cell C6 to $2.25. Notice that the line
total automatically changes as well.
6. Edit the formula for the total in cell D8 so it also adds cell D7.
7. When you're finished, your workbook should look like this:

12 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

◦◦◦ CREATING MORE COMPLEX FORMULAS ◦◦◦

You may have experience working with formulas that contain only one operator, such as 7+9.
More complex formulas can contain several mathematical operators, such as 5+2*8.
When there's more than one operation in a formula, the order of operations tells Excel
which operation to calculate first. To write formulas that will give you the correct answer, you'll
need to understand the order of operations.

The Order of Operations


Excel calculates formulas based on the following order of operations:
1. Operations enclosed in parentheses
2. Exponential calculations (3^2, for example)
3. Multiplication and division, whichever comes first
4. Addition and subtraction, whichever comes first

A mnemonic that can help you remember the order is PEMDAS,


or Please Excuse My Dear Aunt Sally.

While this formula may look complicated, we can use the order
of operations step by step to find the right answer.

First, we'll start by calculating anything inside parentheses. In


this case, there's only one thing we need to calculate: 6-3=3.

13 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

As you can see, the formula already looks simpler. Next, we'll
look to see if there are any exponents. There is one: 2^2=4.

Next, we'll solve any multiplication and division, working from


left to right. Because the division operation comes before the
multiplication, it's calculated first: 3/4=0.75.

Now, we'll solve our remaining multiplication operation:


0.75*4=3.

14 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

Next, we'll calculate any addition or subtraction, again working


from left to right. Addition comes first: 10+3=13.

Finally, we have one remaining subtraction operation: 13-1=12.

Now we have our answer: 12. And this is the exact same result
you would get if you entered the formula into Excel.

15 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

Creating Complex Formulas


In the example below, we'll demonstrate how Excel uses the order of operations to solve a
more complex formula. Here, we want to calculate the cost of sales tax for a catering invoice.
To do this, we'll write our formula as =(D3+D4+D5)*0.075 in cell D6. This formula will add the
prices of our items, then multiply that value by the 7.5% tax rate (which is written as 0.075)
to calculate the answer.

Excel follows the order of operations and first adds the values inside the
parentheses: (45.80+68.70+159.60) = 274.10. It then multiplies that value by the tax
rate: 274.10*0.075. The result will show that the sales tax is $20.56.

NOTE: It's especially important to follow the order of operations when creating a formula.
Otherwise, Excel won't calculate the results accurately. In our example, if
the parentheses are not included, the multiplication is calculated first and the result is
incorrect. Parentheses are often the best way to define which calculations will be performed
first in Excel.

16 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

To create a complex formula using the order of operations:


In the example below, we'll use cell references along with numerical values to create a
complex formula that will calculate the subtotal for a catering invoice. The formula will
calculate the cost of each menu item first, then add these values.
1. Select the cell that will contain the formula. In our example, we'll select cell C5.

2. Enter your formula. In our example, we'll type =B3*C3+B4*C4. This formula will follow
the order of operations, first performing the multiplication: 2.79*35 = 97.65 and 2.29*20
= 45.80. It then will add these values to calculate the total: 97.65+45.80.

3. Double-check your formula for accuracy, then press Enter on your keyboard. The
formula will calculate and display the result. In our example, the result shows that the
subtotal for the order is $143.45.

You can add parentheses to any equation to make it easier to read. While it won't change
the result of the formula in this example, we could enclose the multiplication operations
within parentheses to clarify that they will be calculated before the addition.

NOTE: Excel will not always tell you if your formula contains an error, so it's up to you to
check all of your formulas.
17 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

Let’s Have Some Practice!

For this challenge, you are going to work with another invoice like the one in our example. In
the invoice, you will find the amount of tax for the order, the order's total, and the order's total
if you were given a 10% discount.

1. Open your Practice_Woorkbook_#12.


2. Click the Challenge worksheet tab in the bottom-left of the workbook.
3. In cell D7, create a formula that calculates the tax for the invoice. Use a sales tax rate
of 7.5%.
4. In cell D8, create a formula that finds the total for the order. In other words, this formula
should add cells D3:D7.
5. In cell D9 create a formula that calculates the total after a 10% discount. If you need help
understanding how to take a percentage off of a total.
6. When you're finished, your spreadsheet should look like this:

18 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

◦◦◦ RELATIVE AND ABSOLUTE CELL REFERENCES ◦◦◦

There are two types of cell references: relative and absolute. Relative and absolute
references behave differently when copied and filled to other cells. Relative
references change when a formula is copied to another cell. Absolute references, on the
other hand, remain constant no matter where they are copied.

Relative References
By default, all cell references are relative references. When copied across multiple cells,
they change based on the relative position of rows and columns. For example, if you copy
the formula =A1+B1 from row 1 to row 2, the formula will become =A2+B2. Relative
references are especially convenient whenever you need to repeat the same calculation
across multiple rows or columns.

To create and copy a formula using relative references:


In the following example, we want to create a formula that will multiply each item's price by
the quantity. Instead of creating a new formula for each row, we can create a single
formula in cell D4 and then copy it to the other rows. We'll use relative references so the
formula calculates the total for each item correctly.
1. Select the cell that will contain the formula. In our example, we'll select cell D4.

19 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

2. Enter the formula to calculate the desired value. In our example, we'll
type =B4*C4.

3. Press Enter on your keyboard. The formula will be calculated, and the result will be
displayed in the cell.
4. Locate the fill handle in the bottom-right corner of the desired cell. In our example,
we'll locate the fill handle for cell D4.

20 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

5. Click and drag the fill handle over the cells you want to fill. In our example, we'll
select cells D5:D13.

6. Release the mouse. The formula will be copied to the selected cells with relative
references, displaying the result in each cell.

You can double-click the filled cells to check their formulas for accuracy. The
relative cell references should be different for each cell, depending on their rows.

21 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

ABSOLUTE REFERENCES

There may be times when you do not want a cell reference to change when filling cells. Unlike
relative references, absolute references do not change when copied or filled. You can use
an absolute reference to keep a row and/or column constant.

An absolute reference is designated in a formula by the addition of a dollar sign ($) before
the column and row. If it precedes the column or row (but not both), it's known as a mixed
reference.

You will use the relative (A2) and absolute ($A$2) formats in most formulas. Mixed
references are used less frequently.

When writing a formula in Microsoft Excel, you can press the F4 key on your keyboard to
switch between relative, absolute, and mixed cell references, as shown in the video below.
This is an easy way to quickly insert an absolute reference.

22 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

To create and copy a formula using absolute references:


In the example below, we're going to use cell E2 (which contains the tax rate at 7.5%) to
calculate the sales tax for each item in column D. To make sure the reference to the tax
rate stays constant—even when the formula is copied and filled to other cells—we'll need
to make cell $E$2 an absolute reference.
1. Select the cell that will contain the formula. In our example, we'll select cell D4.

2. Enter the formula to calculate the desired value. In our example, we'll type
=(B4*C4)*$E$2, making $E$2 an absolute reference.

23 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

3. Press Enter on your keyboard. The formula will calculate, and the result will display
in the cell.
4. Locate the fill handle in the bottom-right corner of the desired cell. In our example,
we'll locate the fill handle for cell D4.

5. Click and drag the fill handle over the cells you want to fill (cells D5:D13 in our
example).

24 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

6. Release the mouse. The formula will be copied to the selected cells with
an absolute reference, and the values will be calculated in each cell.

You can double-click the filled cells to check their formulas for accuracy. The
absolute reference should be the same for each cell, while the other references are
relative to the cell's row.

25 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

NOTE: Be sure to include the dollar sign ($) whenever you're making an absolute
reference across multiple cells. The dollar signs were omitted in the example below.
This caused Excel to interpret it as a relative reference, producing an incorrect result
when copied to other cells.

USING CELL REFERENCES WITH MULTIPLE WORKSHEETS

Excel allows you to refer to any cell on any worksheet, which can be especially helpful if you
want to reference a specific value from one worksheet to another. To do this, you'll simply
need to begin the cell reference with the worksheet name followed by
an exclamation point (!). For example, if you wanted to reference cell A1 on Sheet1, its cell
reference would be Sheet1!A1.

NOTE: If a worksheet name contains a space, you'll need to include single quotation
marks (' ') around the name. For example, if you wanted to reference cell A1 on a worksheet
named July Budget, its cell reference would be 'July Budget'!A1.

To reference cells across worksheets:


In our example below, we'll refer to a cell with a calculated value between two worksheets.
This will allow us to use the exact same value on two different worksheets without
rewriting the formula or copying data.
1. Locate the cell you want to reference, and note its worksheet. In our example, we
want to reference cell E14 on the Menu Order worksheet.

26 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

2. Navigate to the desired worksheet. In our example, we'll select the Catering
Invoice worksheet.

3. Locate and select the cell where you want the value to appear. In our example,
we'll select cell C4.

27 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

4. Type the equals sign (=), the sheet name followed by an exclamation point (!),
and the cell address. In our example, we'll type ='Menu Order'!E14.

5. Press Enter on your keyboard. The value of the referenced cell will appear. Now,
if the value of cell E14 changes on the Menu Order worksheet, it will be updated
automatically on the Catering Invoice worksheet.

If you rename your worksheet at a later point, the cell reference will be updated
automatically to reflect the new worksheet name.

NOTE: If you enter a worksheet name incorrectly, the #REF! error will appear in the
cell. In our example below, we've mistyped the name of the worksheet. To edit, ignore,
or investigate the error, click the Error button beside the cell and choose an option
from the menu.

28 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

Let’s Have Some Practice!

1. Open your Practical_Workbook_#13.


2. Click the Paper Goods tab in the bottom-left of the workbook.
3. In cell D4, enter a formula that multiplies the unit price in B4, the quantity in C4, and the
tax rate in E2. Make sure to use an absolute cell reference for the tax rate because it
will be the same in every cell.
4. Use the fill handle to copy the formula you just created to cells D5:D12.
5. Change the tax rate in cell E2 to 6.5%. Notice that all of your cells have updated. When
you're finished, your workbook should look like this:

6. Click the Catering Invoice tab.


7. Delete the value in cell C5 and replace it with a reference to the total cost of the paper
goods. Hint: The cost of the paper goods is in cell E13 on the Paper Goods worksheet.
8. Use the same steps from above to calculate the sales tax for each item on the Menu
Order worksheet. The total cost in cell E14 should update. Then, in cell C4 of
the Catering Invoice worksheet, create a cell reference to the total you just
calculated. Note: If you used our practice workbook to follow along during the lesson, you
may have already completed this step.
9. When you're finished, the Catering Invoice worksheet should look something like this:

29 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

30 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

◦◦◦ FUNCTIONS ◦◦◦

A function is a predefined formula that performs calculations using specific values in a


particular order. Excel includes many common functions that can be used to quickly find
the sum, average, count, maximum value, and minimum value for a range of cells. In
order to use functions correctly, you'll need to understand the different parts of a
function and how to create arguments to calculate values and cell references.

The Parts of a Function


In order to work correctly, a function must be written a specific way, which is called
the syntax. The basic syntax for a function is the equals sign (=), the function name (SUM,
for example), and one or more arguments. Arguments contain the information you want to
calculate. The function in the example below would add the values of the cell range A1:A20.

Working with Arguments


Arguments can refer to both individual cells and cell ranges and must be enclosed
within parentheses. You can include one argument or multiple arguments, depending on the
syntax required for the function.

For example, the function =AVERAGE(B1:B9) would calculate the average of the values in
the cell range B1:B9. This function contains only one argument.

31 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

Multiple arguments must be separated by a comma. For example, the


function =SUM(A1:A3, C1:C2, E1) will add the values of all of the cells in the three
arguments.

CREATING A FUNCTION

There are a variety of functions available in Excel. Here are some of the most common
functions you'll use:
• SUM: This function adds all of the values of the cells in the argument.
• AVERAGE: This function determines the average of the values included in the
argument. It calculates the sum of the cells and then divides that value by the number
of cells in the argument.
• COUNT: This function counts the number of cells with numerical data in the argument.
This function is useful for quickly counting items in a cell range.
• MAX: This function determines the highest cell value included in the argument.
• MIN: This function determines the lowest cell value included in the argument.

To create a function using the AutoSum command:


The AutoSum command allows you to automatically insert the most common functions
into your formula, including SUM, AVERAGE, COUNT, MIN, and MAX. In the example
below, we'll use the SUM function to calculate the total cost for a list of recently ordered
items.
1. Select the cell that will contain the function. In our example, we'll select cell D13.

32 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

2. In the Editing group on the Home tab, click the arrow next to
the AutoSum command. Next, choose the desired function from the drop-down
menu. In our example, we'll select Sum.

3. Excel will place the function in the cell and automatically select a cell range for
the argument. In our example, cells D3:D12 were selected automatically; their
values will be added to calculate the total cost. If Excel selects the wrong cell range,
you can manually enter the desired cells into the argument.

4. Press Enter on your keyboard. The function will be calculated, and the result will
appear in the cell. In our example, the sum of D3:D12 is $765.29.

33 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

The AutoSum command can also be accessed from the Formulas tab on
the Ribbon.

You can also use the Alt+= keyboard shortcut instead of the AutoSum command. To
use this shortcut, hold down the Alt key and then press the equals sign.

To enter a function manually:


If you already know the function name, you can easily type it yourself. In the example
below (a tally of cookie sales), we'll use the AVERAGE function to calculate the average
number of units sold by each troop.
1. Select the cell that will contain the function. In our example, we'll select cell C10.

2. Type the equals sign (=), and enter the desired function name. You can also
select the desired function from the list of suggested functions that appears below
the cell as you type. In our example, we'll type =AVERAGE.

34 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

3. Enter the cell range for the argument inside parentheses. In our example, we'll
type (C3:C9). This formula will add the values of cells C3:C9, then divide that value
by the total number of values in the range.

4. Press Enter on your keyboard. The function will be calculated, and the result will
appear in the cell. In our example, the average number of units sold by each troop
is 849.

35 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

NOTE: Excel will not always tell you if your formula contains an error, so it's up to
you to check all of your formulas.

THE FUNCTION LIBRARY

While there are hundreds of functions in Excel, the ones you'll use the most will depend on
the type of data your workbooks contain. There's no need to learn every single function, but
exploring some of the different types of functions will help you as you create new projects.
You can even use the Function Library on the Formulas tab to browse functions by
category, such as Financial, Logical, Text, and Date & Time.

To access the Function Library, select the Formulas tab on the Ribbon. Look for
the Function Library group.

Click the buttons in the interactive below to learn more about the different types of functions
in Excel.

36 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

To insert a function from the Function Library:


In the example below, we'll use the COUNTA function to count the total number of items
in the Items column. Unlike COUNT, COUNTA can be used to tally cells that contain data
of any kind, not just numerical data.
1. Select the cell that will contain the function. In our example, we'll select cell B17.

2. Click the Formulas tab on the Ribbon to access the Function Library.
3. From the Function Library group, select the desired function category. In our
example, we'll choose More Functions, then hover the mouse over Statistical.

37 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

4. Select the desired function from the drop-down menu. In our example, we'll select
the COUNTA function, which will count the number of cells in the Items column that
are not empty.

5. The Function Arguments dialog box will appear. Select the Value1 field, then
enter or select the desired cells. In our example, we'll enter the cell range A3:A12.
You may continue to add arguments in the Value2 field, but in this case we only
want to count the number of cells in the cell range A3:A12.
6. When you're satisfied, click OK.

7. The function will be calculated, and the result will appear in the cell. In our
example, the result shows that a total of 10 items were ordered.

38 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

THE INSERT FUNCTION COMMAND

While the Function Library is a great place to browse for functions, sometimes you may prefer
to search for one instead. You can do so using the Insert Function command. It may take
some trial and error depending on the type of function you're looking for; however, with
practice, the Insert Function command can be a powerful way to find a function quickly.

To use the Insert Function command:


In the example below, we want to find a function that will calculate the number of
business days it took to receive items after they were ordered. We'll use the dates in
columns E and F to calculate the delivery time in column G.
1. Select the cell that will contain the function. In our example, we'll select cell G3.

2. Click the Formulas tab on the Ribbon, then click the Insert Function command.

39 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

3. The Insert Function dialog box will appear.


4. Type a few keywords describing the calculation you want the function to perform,
then click Go. In our example, we'll type count days, but you can also search by
selecting a category from the drop-down list.

5. Review the results to find the desired function, then click OK. In our example, we'll
choose NETWORKDAYS, which will count the number of business days between
the ordered date and received date.

40 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

6. The Function Arguments dialog box will appear. From here, you'll be able to enter
or select the cells that will make up the arguments in the function. In our example,
we'll enter E3 in the Start_date field and F3 in the End_date field.
7. When you're satisfied, click OK.

8. The function will be calculated, and the result will appear in the cell. In our
example, the result shows that it took four business days to receive the order.

Like formulas, functions can be copied to adjacent cells. Simply select the cell that
contains the function, then click and drag the fill handle over the cells you want to
fill. The function will be copied, and values for those cells will be calculated relative
to their rows or columns.

41 | P a g e
COMP 21 – SOFTWARE APPLICATIONS

Let’s Have Some Practice!

1. Open your Practice_Workbook_#14.


2. Click the Challenge tab in the bottom-left of the workbook.
3. In cell F3, insert a function to calculate the average of the four scores in cells B3:E3.
4. Use the fill handle to copy your function in cell F3 to cells F4:F17.
5. In cell B18, use AutoSum to insert a function that calculates the lowest score in
cells B3:B17.
6. In cell B19, use the Function Library to insert a function that calculates the median of
the scores in cells B3:B17. Hint: You can find the median function by going to More
Functions > Statistical.
7. In cell B20, create a function to calculate the highest score in cells B3:B17.
8. Select cells B18:B20, then use the fill handle to copy all three functions you just created
to cells C18:F20.
9. When you're finished, your workbook should look like this:

42 | P a g e

You might also like