Module 3 - Excel Formulas
Module 3 - Excel Formulas
This module covers formulas and functions from simple to complex, relative and
absolute reference, working with data, charts, conditional formatting, and PivotTables.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
V. LESSON CONTENT
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
To create a formula:
In our example below, we'll use a simple formula and cell references to calculate a
budget.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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.
Excel will not always tell you if your formula contains an error, so it's up to you to
check all of your formulas.
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.
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).
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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.
To edit a formula:
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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.
ACTIVITY 6
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
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
incorrect. Parentheses are often the best way to define which calculations will be
performed first in Excel.
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.
Excel will not always tell you if your formula contains an error, so it's up to you to
check all of your formulas.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
ACTIVITY 7
1.3 Relative and Absolute Cell References
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.
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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.
You will use the relative (A2) and absolute ($A$2) formats in most formulas. Relative
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.
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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 that 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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
In our succeeding example, 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.
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
ACTIVITY 8
1.4 Functions
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Creating a function
There are a variety of functions available in Excel. Here are some of the most common
functions you'll use:
1. Select the cell that
will contain the
function. In our
example, we'll select
cell D13.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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.
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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. You can even use the Function
Library on the Formulas tab to browse functions by category, such
as Financial, Logical, Text, and Date & Time.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
In the example, 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.
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
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.
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
ACTIVITY 9
The IF Function
The IF function checks whether a condition is met, and returns one value if true and
another value if false.
1a. For example, take a look at the IF function in cell B2 below.
Explanation: if the price is greater than 500, the IF function returns High, else it returns
Low.
Note: you can use the following comparison operators: = (equal to), > (greater than), <
(less than), >= (greater than or equal to), <= (less than or equal to) and <> (not
equal to).
2. Always enclose text in double quotation marks.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
3a. The formula below calculates the progress between two points in time.
3b. You can use the IF function to display an empty string if the end value hasn't been
entered yet (see row 5).
Explanation: if the end value is not empty (<> means not equal to), the IF function
calculates the progress between the start and end value, else it displays
an empty string (two double quotes with nothing in between).
And/Or Criteria
Use the IF function in combination with the AND function and the OR function.
Explanation: the AND function returns TRUE if the first score is greater than or equal to
60 and the second score is greater than or equal to 90, else it returns
FALSE. If TRUE, the IF function returns Pass, if FALSE, the IF function
returns Fail.
Explanation: the OR function returns TRUE if at least one score is greater than or equal
to 60, else it returns FALSE. If TRUE, the IF function returns Pass, if
FALSE, the IF function returns Fail.
3. Take a look at the IF function in cell D2 below.
Explanation: the AND function above has two arguments separated by a comma (Table,
Green or Blue). The AND function returns TRUE if Product equals "Table"
and Color equals "Green" or "Blue". If TRUE, the IF function reduces the
price by 50%, if FALSE, the IF function reduces the price by 10%.
Nested IF
The IF function in Excel can be nested, when you have multiple conditions to meet. The
FALSE value is being replaced by another IF function to make a further test.
Explanation: if the score equals 1, the nested IF formula returns Bad, if the score equals
2, the nested IF formula returns Good, if the score equals 3, the nested IF
formula returns Excellent, else it returns Not Valid. If you have Excel 2016
or later, simply use the IFS function.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Explanation: if the score is less than 60, the nested IF formula returns F, if the score is
greater than or equal to 60 and less than 70, the formula returns D, if the
score is greater than or equal to 70 and less than 80, the formula returns C,
if the score is greater than or equal to 80 and less than 90, the formula
returns B, else it returns A.
More about IF
Explanation: the AND function returns TRUE if the person is older than 12 and younger
than 20, else it returns FALSE. If TRUE, the IF function returns Yes, if
FALSE, the IF function returns No.
2. You can combine IF with AVERAGE, SUM and other Excel functions.
Explanation: the AND function returns TRUE if the input value is greater than 100 and
the average of the values in the named range Data1 is greater than 100,
else it returns FALSE. If TRUE, the IF function returns the sum of Data2, if
FALSE, the IF function returns 0.
Confused? You can always use the Evaluate Formula tool to step through your IF
formula. This Excel tool helps you understand a formula.
3. Select cell G3 above.
4. On the Formulas tab, in the Formula Auditing
group, click Evaluate Formula.
5. Click Evaluate multiple times.
ACTIVITY 10 ASSIGNMENT #2
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
VLOOKUP function
What exactly is VLOOKUP?
Basically, VLOOKUP lets you search for specific information in your spreadsheet. For
example, if you have a list of products with prices, you could search for the price of a
specific item.
Once you learn how to use VLOOKUP, you'll be able to use it with larger, more complex
spreadsheets, and that's when it will become truly useful.
=VLOOKUP(
Now, we'll add our arguments. The arguments will tell VLOOKUP what to search for and
where to search.
The first argument is the name of the item you're searching for, which in this case
is Photo frame. Because the argument is text, we'll need to put it in double quotes:
=VLOOKUP("Photo frame"
The second argument is the cell range that contains the data. In this example, our
data is in A2:B16. As with any function, you'll need to use a comma to separate each
argument:
It's important to know that VLOOKUP will always search the first column in this range.
In this example, it will search column A for "Photo frame". The value that it returns (in
this case, the price) will always need to be to the right of that column.
The third argument is the column index number. It's simpler than it sounds: The first
column in the range is 1, the second column is 2, etc. In this case, we are trying to find
the price of the item, and the prices are contained in the second column. This means
our third argument will be 2:
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
The fourth argument tells VLOOKUP whether to look for approximate matches, and it
can be either TRUE or FALSE. If it is TRUE, it will look for approximate matches.
Generally, this is only useful if the first column has numerical values that have been
sorted. Because we're only looking for exact matches, the fourth argument should
be FALSE. This is our last argument, so go ahead and close the parentheses:
That's it! When you press Enter, it should give you the answer, which is 9.99.
How it works
As we mentioned earlier, the price needs to be to the right of the item name. VLOOKUP
cannot look to the left of the column that it's searching.
If we want to find the price of a different item, we can just change the first argument:
or:
It would be very tedious to edit your VLOOKUP formula whenever you want to find the
price of a different item. In the next example, we'll show how to avoid this by using a cell
reference.
Another example
In the previous example, we typed the item name directly into the VLOOKUP formula.
But in the real world, you'll usually use a cell reference instead. In this example, we'll
type the item name in cell E2, and our VLOOKUP formula can then use a cell reference
to find information about that product. Then, we can simply type a new item name into
E2 to find any product we want.
We've also added a third column that has the category for each item. This will give us
the option of finding the price or category. Here's what the spreadsheet looks like so far:
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Our formula will be similar to the previous example, but we'll need to change the first
three arguments. Let's start by changing the first argument to a cell reference (make
sure to remove the quotation marks):
To find the category, we'll need to change the second and third arguments. First, we'll
change the range to A2:C16 so it includes the third column. Next, we'll change the
column index number to 3 because our categories are in the third column:
When you press Enter, you'll see that the Gift basket is in the Gifts category.
Excel workbooks are designed to store a lot of information. Whether you're working with
20 cells or 20,000, Excel has several features to help you organize your data and find
what you need. You can see some of the most useful features below. And be sure to
check out the other lessons in this tutorial to get step-by-step instructions for each of
these features.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
content from different parts of your workbook at the same time, including the ability
to freeze panes and split your worksheet.
To freeze rows:
You may want to see certain rows or columns all the time in your worksheet,
especially header cells. By freezing rows or columns in place, you'll be able to scroll
through your content while continuing to view the frozen cells.
1. Select the row below the row(s) you want to freeze. In our example, we want to
freeze rows 1 and 2, so we'll select row 3.
2. On the View tab, select the Freeze Panes command, then choose Freeze
Panes from the drop-down menu.
To freeze columns:
1. Select the column to the right of the column(s) you want to freeze. In our example,
we want to freeze column A, so we'll select column B.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
To unfreeze panes:
Excel allows you to open multiple windows for a single workbook at the same time. In
our example, we'll use this feature to compare two different worksheets from the same
workbook.
To split a worksheet:
Sometimes you may want to compare different sections of the same workbook without
creating a new window. The Split command allows you to divide the worksheet into
multiple panes that scroll separately.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
ACTIVITY 12
As you add more content to a worksheet, organizing this information becomes especially
important. You can quickly reorganize a worksheet by sorting your data.
Types of sorting
When sorting data, it's important to first decide if you want the sort to apply to the entire
worksheet or just a cell range.
To sort a sheet:
In our example, we'll sort a T-shirt order form alphabetically by Last Name (column C).
1. Select a cell in the column you want to sort by. In our example, we'll select cell C2.
2. Select the Data tab on the Ribbon, then click the A-Z
command to sort A to Z, or the Z-A command to sort Z
to A. In our example, we'll sort A to Z.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
3. The worksheet will be sorted by the selected column. In our example, the worksheet
is now sorted by last name.
To sort a range:
In our example, we'll select a separate table in our T-shirt order form to sort the number
of shirts that were ordered on different dates.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Custom sorting
Sometimes you may find that the default sorting options can't sort data in the order you
need. Fortunately, Excel allows you to create a custom list to define your own sorting
order.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Sorting levels
If you need more control over how your data is sorted, you can add multiple levels to
any sort. This allows you to sort your data by more than one column.
To add a level:
In our example below, we'll sort the worksheet by T-Shirt Size (Column D), and then
by Homeroom Number (column A).
1. Select a cell in the column you want to sort by. In our example, we'll select cell A2.
2. Click the Data tab, then select the Sort command.
3. The Sort dialog box will appear. Select the first column you want to sort by. In this
example, we will sort by T-Shirt Size (column D) with the custom list we previously
created for the Order field.
4. Click Add Level to add another column to sort
by.
6. The worksheet will be sorted according to the selected order. In our example, the
orders are sorted by T-shirt size. Within each group of T-shirt sizes, students are
sorted by homeroom number.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
ACTIVITY 13
To filter data:
5. The Filter menu will appear.
6. Uncheck the box next to Select All to quickly
deselect all data.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
8. The data will be filtered, temporarily hiding any content that doesn't match the
criteria. In our example, only laptops and projectors are visible.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Filters are cumulative, which means you can apply multiple filters to help narrow down
your results.
2. Check or uncheck the boxes
depending on the data you want to filter, then click OK.
In our example, we'll uncheck everything except
for August.
To clear a filter:
After applying a filter, you may want to remove—or clear—it from your worksheet so
you'll be able to filter content in different ways.
1. Click the drop-down
arrow for the filter you
want to clear. In our
example, we'll clear the
filter in column D.
2. The Filter menu will appear.
3. Choose Clear Filter From [COLUMN NAME] from the
Filter menu. In our example, we'll select Clear Filter
From "Checked Out".
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
ACTIVITY 14
Worksheets with a lot of content can sometimes feel overwhelming and even become
difficult to read. Fortunately, Excel can organize data into groups, allowing you to
easily show and hide different sections of your worksheet. You can also summarize
different groups using the Subtotal command and create an outline for your worksheet.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
2. The group will be hidden. To show a hidden group, click the plus sign, also known
as the Show Detail button.
Creating subtotals
To create a subtotal:
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
subtotal to appear. In our example, we'll select T-Shirt Size. When you're satisfied
with your selections, click OK.
When you create subtotals, your worksheet it is divided into different levels. You can
switch between these levels to quickly control how much information is displayed in the
worksheet by clicking the Level buttons to the left of the worksheet. In our example, we'll
switch between all three levels in our outline. While this example contains only three
levels, Excel can accommodate up to eight.
1. Click the lowest level to display the least detail. In our example, we'll select level 1,
which contains only the grand count, or total number of T-shirts ordered.
2. Click the next level to expand the detail. In our example, we'll select level 2, which
contains each subtotal row but hides all other data from the worksheet.
You can also use the Show and Hide Detail buttons to show and hide the groups within
the outline.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
To remove subtotals:
Sometimes you may not want to keep subtotals in your worksheet, especially if you want
to reorganize data in different ways. If you no longer want to use subtotaling, you'll
need remove it from your worksheet.
To remove all groups without deleting the subtotals, click the Ungroup command drop-
down arrow, then choose Clear Outline.
ACTIVITY 15
4.4 Charts
It can be difficult to interpret Excel workbooks that contain a lot of data. Charts allow you
to illustrate your workbook data graphically, which makes it easy to
visualize comparisons and trends.
Understanding charts
Excel has several different types of charts, allowing you to choose the one that best fits
your data. In order to use charts effectively, you'll need to understand how different
charts are used.
In addition to chart types, you'll need to understand how to read a chart. Charts contain
several different elements, or parts, that can help you interpret the data.
To insert a chart:
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
After inserting a chart, there are several things you may want to change about the way
your data is displayed. It's easy to edit a chart's layout and style from the Design tab.
If you don't want to add chart elements individually, you can use one
of Excel's predefined layouts. Simply click the Quick
Layout command, then choose the desired layout from the
drop-down menu.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Excel also includes several chart styles, which allow you to quickly modify the look
and feel of your chart. To change the chart style, select the desired style from
the Chart styles group. You can also click the drop-down arrow on the right to see
more styles.
You can also use the chart formatting shortcut buttons to quickly add chart elements,
change the chart style, and filter the chart data.
There are many other ways to customize and organize your charts. For example, Excel
allows you to rearrange a chart's data, change the chart type, and even move the chart
to a different location in a workbook.
Sometimes you may want to change the way charts group your data. For example, in
the chart below Book Sales data is grouped by genre, with columns for each month.
However, we could switch the rows and columns so the chart will group the data by
month, with columns for each genre. In both cases, the chart contains the same data—
it's just organized differently.
3. The rows and columns will be switched. In our example, the data is now grouped by
month, with columns for each genre.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
If you find that your data isn't well suited to a certain chart, it's easy to switch to a new
chart type. In our example, we'll change our chart from a column chart to a line chart.
To move a chart:
Whenever you insert a new chart, it will appear as an object on the same worksheet that
contains its source data. Alternatively, you can move the chart to a new worksheet to
help keep your data organized.
4. Click OK.
5. The chart will appear in the selected location. In our example, the chart now appears
on a new worksheet.
By default, when you add more data to your spreadsheet, the chart may not include the
new data. To fix this, you can adjust the data range. Simply click the chart, and it will
highlight the data range in your spreadsheet. You can then click and drag the handle in
the lower-right corner to change the data range.
ACTIVITY 16 ASSIGNMENT #4
Let's say you have a worksheet with thousands of rows of data. It would be extremely
difficult to see patterns and trends just from examining the raw information. Similar to
charts and sparklines, conditional formatting provides another way to visualize data
and make
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
In our example, we have a worksheet containing sales data, and we'd like to see which
salespeople are meeting their monthly sales goals. The sales goal is $4000 per month,
so we'll create a conditional formatting rule for any cells containing a value higher than
4000.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Data Bars are horizontal bars added to each cell, much like a bar graph.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
3. Pivot Tables
When you have a lot of data, it can sometimes be difficult to analyze all of the
information in your worksheet. PivotTables can help make your worksheets more
manageable by summarizing your data and allowing you to manipulate it in different
ways.
Consider the example below. Let's say we wanted to answer the question What is the
amount sold by each salesperson? Answering it could be time consuming and
difficult; each salesperson appears on multiple rows, and we would need to total all of
their different orders individually. We could use the Subtotal command to help find the
total for each salesperson, but we would still have a lot of data to work with.
To create a PivotTable:
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
3. The Create PivotTable dialog box will appear. Choose your settings, then click OK.
In our example, we'll use Table1 as our source data and place the PivotTable on
a new worksheet.
6. The selected fields will be added to one of the four areas below. In our example,
the Salesperson field has been added to
the Rows area, while Order Amount has been added
to Values. Alternatively, you can drag and drop fields
directly into the desired area.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
If you change any of the data in your source worksheet, the PivotTable will not update
automatically. To manually update it, select the PivotTable and then go to Analyze
Refresh.
Pivoting data
One of the best things about PivotTables is that they can quickly pivot—or reorganize—
your data, allowing you to examine your worksheet in several ways. Pivoting data can
help you answer different questions and even experiment with your data to discover
new trends and patterns.
To add columns:
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Changing a row or column can give you a completely different perspective on your data.
All you have to do is remove the field in question, then replace it with another.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
3. The PivotTable will adjust—or pivot—to show the new data. In our example, it now
shows the amount sold by each region.
ACTIVITY 18
Filters
Sometimes you may want focus on a certain section of your data. Filters can be used
to narrow down the data in your PivotTable, so you can view only the information you
need.
To add a filter:
In the example below, we'll filter out certain salespeople to determine how their
individual sales are impacting each region.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Slicers
To add a slicer:
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
PivotTable will instantly reflect the change. Try selecting different items to see how
they affect the PivotTable. Press and hold the Ctrl key on your keyboard to
select multiple items at once.
You can also click the Filter icon in the top-right corner of the slicer to select all items at
once.
PivotCharts
PivotCharts are like regular charts, except they display data from a PivotTable. Just like
regular charts, you'll be able to select a chart type, layout, and style that will best
represent the data.
To create a PivotChart:
Try using filters or slicers to narrow down the data in your PivotChart. To view different
subsets of information, change the columns or rows in your PivotTable.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
The purpose of this activity is to give you practice on all lessons covered in this module.
Filename Format: ActNumber_Lastname (ex. Act2_Fernandez)
Activity 9 (Functions)
1. Open our practice workbook (Act9_functions_practice)
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.
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Activity 11 (VLookup)
1. Open our practice document (Act11-VLOOKUP-practice)
2. There are 2 sheets ti be answered. Use VLOOKUP to come up with the required
output.
3. Save your workbook.
Activity 16 (Charts)
1. Open our practice workbook (Act16_charts_practice)
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”
Activity 19
1. Open our practice workbook (Act19_morepivottables_practice)
2. In the Rows area, remove Region and replace it with Salesperson.
3. Insert a PivotChart, and choose the type Line with Markers.
4. Insert a slicer for Regions.
5. Use the slicer to only show the South and East regions.
6. Change the PivotChart type to Stacked Column.
7. In the PivotChart Fields pane to the right, add Month to the Legend
(Series) area. Note: You can also click the PivotTable and then add Month to
the Columns area; the result will be the same.
8. Save.
VII. EVALUATION
VIII. ASSIGNMENT
Excel Assignment #2
Write an IF statement so that if the number in Cell A2 is less than 100
the formula displays the text “Within budget”, otherwise the formula
displays the text “Over budget”.
Excel Assignment #3
What is the difference of Formula and Function?
Excel Assignment #4
What are the different types of charts? When do each type of
chart used?
IX. REFERENCES
Baycon Group, Inc. (n.d.). Microsoft Excel 2016 Tutorial - Free and Online. Retrieved
September 10, 2020, from https://www.tutorviacomputer.com/microsoft-excel-
2016-tutorial-free-and-online/
GCFGlobal (n.d.). Free Excel 2016 Tutorial. Retrieved September 12, 2020, from
https://edu.gcfglobal.org/en/excel2016/
Rivers, D. (1 December 2015). Learning Excel 2016. Retrieved September 13, 2020,
from https://www.lynda.com/Excel-tutorials/Up-Running-Excel-2016/420303-2.html
“In accordance with Section 185. Fair Use of Copyrighted Work of Republic Act 8293, the copyrighted works included in this material
may be reproduced for educational purposes only and not for commercial distribution.”