COF 111 Module 7
COF 111 Module 7
COF 111 Module 7
Objectives: Upon completion of this Module, the student should be able to:
Table
Introduction
Once you've entered information into a worksheet, you may want to format your data as
a table. Just like regular formatting, tables can improve the look and feel of your workbook, but
they'll also help to organize your content and make your data easier to use. Excel includes
several tools and predefined table styles, allowing you to create tables quickly and easily.
1. Select the cells you want to format as a table. In our example, we'll select the
cell range A4:D10.
2. From the Home tab, click the Format as Table command in the Styles group.
4. A dialog box will appear, confirming the selected cell range for the table.
5. If your table has headers, check the box next to My table has headers, then
click OK.
6. The cell range will be formatted in the selected table style.
Tables include filtering by default. You can filter your data at any time using the drop-down
arrows in the header cells. To learn more, review our lesson on Filtering Data.
Modifying tables
It's easy to modify the look and feel of any table after adding it to a worksheet. Excel includes
different options for customizing a table, including adding rows or columns and changing
the table style.
If you need to fit more content in your table, Excel allows you to modify the table size by
including additional rows and columns. There are two simple ways to change the table size:
Begin typing new content after the last row or column in the table. The row or
column will be included in the table automatically.
Click, hold, and drag the bottom-right corner of the table to create additional
rows or columns.
You can turn various options on or off to change the appearance of any table. There are several
options: Header Row, Total Row, Banded Rows, First Column, Last Column, Banded Columns,
and Filter Button.
3. The table style will be modified. In our example, a new row has been added to
the table with a formula that will automatically calculate the total value of the
cells in column D.
These options can affect your table style in various ways, depending on the type of content in
your table. You may need to experiment with a few different options to find the exact style you
want.
To remove a table:
Sometimes you may not want to use the additional features included with tables, such as the
Sort and Filter drop-down arrows. You can remove a table from the workbook while still
preserving the table's formatting elements, like font and cell color.
4. The range will no longer be a table, but the cells will retain their data and
formatting.
Practice!
1. Open an existing Excel workbook.
2. Format a range of cells as a table. If you are using the example, format the cell
range A2:E13.
3. Add a row or column to the table.
4. Choose a new table style.
5. Change the table style options. If you are using the example, add a total row.
6. Remove the table.
Charts
Introduction
It can often 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.
Click the arrows in the slideshow below to learn more about the types of charts in Excel.
Excel has a variety of chart types, each with its own advantages. Click the arrows to see
some of the different types of charts available in Excel.
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.
Click the buttons in the interactive below to learn about the different parts of a chart.
To insert a chart:
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.
Excel also includes several different 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 use the chart formatting shortcut buttons to quickly add chart elements, change
the chart style, and filter the chart data.
Other chart options
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 the workbook.
Sometimes you may want to change the way charts group your data. For example, in the chart
below, the Book Sales data are grouped by year, with columns for each genre. However, we
could switch the rows and columns so the chart will group the data by genre, with columns
for each year. In both cases, the chart contains the same data—it's just organized differently.
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.
5. The chart will appear in the selected location. In our example, the chart now
appears on a new worksheet.
Keeping charts up to date
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.
If you frequently add more data to your spreadsheet, it may become tedious to update the data
range. Luckily, there is an easier way. Simply format your source data as a table, then create
a chart based on that table. When you add more data below the table, it will automatically be
included in both the table and the chart, keeping everything consistent and up to date.
Watch the video below to learn how to use tables to keep charts up to date.
Practice!
1. Open an existing Excel workbook.
2. Use worksheet data to create a chart. If you are using the example, use the cell
range A1:F6 as the source data for the chart.
3. Change the chart layout. If you are using the example, select Layout 8.
4. Apply a chart style.
5. Move the chart. If you are using the example, move the chart to
a new worksheet named Book Sales Data: 2008-2012.
Sparklines
Introduction
Sometimes you may want to analyze and view trends in your data without creating an entire
chart. Sparklines are miniature charts that fit into a single cell. Because they're so compact, it's
easy to include several sparklines in a workbook.
Types of sparklines
Sparklines have certain advantages over charts. For example, let's say you have 1,000 rows of
data. A traditional chart would have 1,000 data series to represent all of the rows, making
relevant data difficult to find. But if you placed a sparkline on each row, it will be right next to
its source data, making it easy to see relationships and trends for multiple data series at the
same time.
In the image below, the chart is extremely cluttered and difficult to follow, but the sparklines
allow you to clearly follow each salesperson's data.
Sparklines are ideal for situations when you need a clear overview of the data at a glance and
when you don't need all of the features of a full chart. On the other hand, charts are ideal for
situations when you want to represent the data in greater detail, and they are often better
for comparing different data series.
To create sparklines:
Generally, you will have one sparkline for each row, but you can create as many as you want in
any location. Just like formulas, it's usually easiest to create a single sparkline and then use
the fill handle to create sparklines for the adjacent rows. In our example, we'll create sparklines
to help visualize trends in sales over time for each salesperson.
1. Select the cells that will serve as the source data for the first sparkline. In our
example, we'll select the cell range B2:G2.
5. Click, hold, and drag the fill handle to create sparklines in adjacent cells.
6. Sparklines will be created for the selected cells. In our example, the sparklines
show clear trends in sales over time for each salesperson in our worksheet.
Modifying sparklines
It's easy to change the way sparklines appear in your worksheet. Excel allows you to customize
a sparkline's markers, style, type, and more.
To display markers:
Certain points on a sparkline can be emphasized with markers, or dots, making the sparkline
more readable. For example, in a line with a lot of ups and downs, it might be difficult to tell
which values are the highest and lowest points. Showing the high point and low point will make
them easier to identify.
Some sparkline types will be better suited for certain types of data. For example, Win/Loss is
best suited for data where there could be positive and negative values (such as net earnings).
By default, each sparkline is scaled to fit the maximum and minimum values of its own data
source: The maximum value will go to the top of the cell, while the minimum will go to the
bottom. However, this doesn't show how high or low the values are when compared to the
other sparklines. Excel allows you to modify the sparkline display range, which makes it easier
to compare sparklines.
4. The sparklines will update to reflect the new display range. In our example, we
can now use the sparklines to compare trends for each salesperson.
Practice!
1. Open an existing Excel workbook.
2. Create a sparkline on the first row of data. If you are using the example, create a
sparkline for the first salesperson on row 3.
3. Use the fill handle to create sparklines for the remaining rows.
4. Create markers for the High Point and Low Point.
5. Change the sparkline type.
6. Change the display range to make the sparklines easier to compare.
Introduction
Let's say someone asked you to proofread or collaborate on a workbook. If you had a printed
copy, you might use a red pen to edit cell data, mark spelling errors, or add comments in the
margins. Excel allows you to do all of these things electronically using the Track
Changes and Comments features
When you turn on the Track Changes feature, every cell you edit will be highlighted with a
unique border and indicator. Selecting a marked cell will show the details of the change. This
allows you and other reviewers to see what's been changed before accepting the revisions
permanently.
There are some changes Excel cannot track. Before using this feature, you may want to review
Microsoft's list of changes that Excel does not track or highlight.
You cannot use Track Changes if your workbook includes tables. To remove a table, select it,
click the Design tab, then click Convert to Range.
To turn on Track Changes:
2. The Highlight Changes dialog box will appear. Check the box next to Track
changes while editing. Verify the box is checked for Highlight changes on
screen, then click OK.
You can also view changes on a new worksheet, sometimes called the Tracked Changes history.
The history lists everything in your worksheet that has been changed, including the old
value (previous cell content) and the new value (current cell content).
1. Save your workbook.
2. From the Review tab, click the Track Changes command, then
select Highlight Changes... from the drop-down menu.
3. The Highlight Changes dialog box will appear. Check the box next to List changes
on a new sheet, then click OK.
4. The tracked changes will be listed on their own worksheet, called History.
To remove the History worksheet from your workbook, you can either save your workbook
again or uncheck the box next to List changes on a new sheet in the Highlight Changes dialog
box.
Reviewing changes
Tracked changes are really just suggested changes. To become permanent, the changes must
be accepted. On the other hand, the original author may disagree with some of the tracked
changes and choose to reject them.
5. Even after accepting or rejecting changes, the tracked changes will still appear in
your workbook. To remove them completely, you'll need to turn off Track
Changes. From the Review tab, click Track Changes, then select Highlight
Changes from the drop-down menu.
6. A dialog box will appear. Uncheck the box next to Track changes while editing,
then click OK.
7. Click Yes to confirm that you want to turn off Track Changes and stop sharing
your workbook.
To accept or reject all the changes at once, click Accept All or Reject All in the Accept or Reject
Changes dialog box.
Turning off Track Changes will remove any tracked changes in your workbook. You will not be
able to view, accept, or reject changes; instead, all changes will all be accepted automatically.
Always review the changes in your worksheet before turning off Track Changes.
Comments
Sometimes you may want to add a comment to provide feedback instead of editing the
contents of a cell. While often used in combination with Track Changes, you don't necessarily
need to have Track Changes turned on to use comments.
To add a comment:
1. Select the cell where you want the comment to appear. In our example, we'll
select cell E8.
2. From the Review tab, click the New Comment command.
3. A comment box will appear. Type your comment, then click anywhere outside
the box to close the comment.
4. The comment will be added to the cell, represented by the red triangle in the
top-right corner.
5. Select the cell again to view the comment.
To edit a comment:
You can also choose to show and hide individual comments by selecting the desired cell and
then clicking the Show/Hide Comment command.
To delete a comment:
1. Select the cell containing the comment you want to delete. In our example, we'll
select cell E8.
Practice!
1. Open an existing Excel workbook
3
2. Turn on Track Changes.
3. Delete, add, or edit the text in several cells. Notice how the edited cells
are highlighted.
4. Accept all of the tracked changes, then turn off Track Changes.
5. Add a few comments to different cells in your worksheet.
6. Show all of the comments, then hide them.
Introduction
Before sharing a workbook, you'll want to make sure it doesn't include any spelling errors or
information you want to keep private. Fortunately, Excel includes several tools to
help finalize and protect your workbook, including Spell Check and the Document Inspector
3. A dialog box will appear after reviewing all spelling errors. Click OK to close Spell
Check.
If there are no appropriate suggestions, you can also enter the correct spelling manually.
Spell Check isn't always correct. It will sometimes mark certain words as incorrect, even if
they're spelled correctly. This often happens with names, which may not be in the dictionary.
You can choose not to change a spelling "error" using one of three options:
Document Inspector
Because some changes may be permanent, it's a good idea to save an additional copy of your
workbook before using the Document Inspector to remove information.
Marking a workbook as final will not prevent someone from editing it. If you want to prevent
people from editing it, you can use the Restrict Access option instead.
Practice!
1. Open an existing Excel workbook.
2. Run the Spell Check to correct any spelling errors in the workbook.
3. Use the Document Inspector to check the workbook. If you are using the
example, remove all personal information from the workbook.
4. Protect the workbook by marking it as final.
Conditional Formatting
Introduction
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 worksheets
easier to understand
Understanding conditional formatting
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.
4. A dialog box will appear. Enter the desired value(s) into the blank field. In our
example, we'll enter 4000 as our value.
5. Select a formatting style from the drop-down menu. In our example, we'll
choose Green Fill with Dark Green Text, then click OK.
6. The conditional formatting will be applied to the selected cells. In our example,
it's easy to see which salespeople reached the $4000 sales goal for each month.
You can apply multiple conditional formatting rules to a cell range or worksheet, allowing you
to visualize different trends and patterns in your data.
Excel has several predefined styles—or presets—you can use to quickly apply conditional
formatting to your data. They are grouped into three categories:
Data Bars are horizontal bars added to each cell, much like a bar graph.
Color Scales change the color of each cell based on its value. Each color scale
uses a two- or three-color gradient. For example, in the Green - Yellow -
Red color scale, the highest values are green, the average values are yellow, and
the lowest values are red.
PivotTables
Introduction
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 data and allowing you to manipulate it in different ways.
Let's say we wanted to answer the question: What is the amount sold by each salesperson? for
the sales data in the example below. Answering this question 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.
Once you've created a PivotTable, you can use it to answer different questions by rearranging—
or pivoting—the data. For example, if we wanted to answer the question: What is the total
amount sold in each month? we could modify our PivotTable to look like this:
To create a PivotTable:
5. Once you create a PivotTable, you'll need to decide which fields to add. Each
field is simply a column header from the source data. In the PivotTable Field
List, check the box for each field you want to add. In our example, we want to
know the total amount sold by each salesperson, so we'll check
the Salesperson and Order Amount fields.
6. The selected fields will be added to one of the four areas below the Field List. In
our example, the Salesperson field has been added to the Rows area, while
the Order Amount has been added to the Values area. Alternatively, you can
click, hold, and drag a field to the desired area.
7. The PivotTable will calculate and summarize the selected fields. In our example,
the PivotTable shows the amount sold by each salesperson.
Just like with normal spreadsheet data, you can sort the data in a PivotTable using the Sort &
Filter command in the Home tab. You can also apply any type of number formatting you want.
For example, you may want to change the Number Format to Currency. However, be aware
that some types of formatting may disappear when you modify the PivotTable.
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—data,
allowing you to look at your worksheet data in different ways. Pivoting data can help you
answer different questions and even experiment with the data to discover new trends and
patterns.
In our example, we used the PivotTable to answer the question: What is the total amount sold
by each salesperson? But now we'd like to answer a new question: What is the total amount
sold in each month? We can do this by simply changing the field in the Rows area.
1. Click, hold, and drag any existing fields out of the Rows area. The field will
disappear.
2. Drag a new field from the Field List into the Rows area. In our example, we'll use
the Month field.
3. The PivotTable will adjust—or pivot—to show the new data. In our example, it
now shows the total order amount for each month.
To add columns:
So far, our PivotTable has only shown one column of data at a time. In order to show multiple
columns, you'll need to add a field to the Columns area.
1. Drag a field from the Field List into the Columns area. In our example, we'll use
the Region field.
2. The PivotTable will include multiple columns. In our example, there is now a
column for each region.
Filters
Sometimes you may want focus on just a certain section of your data. Filters can be used
to narrow down the data in your PivotTable, allowing you to view only the information you
need.
To add a filter:
In our example, we'll filter out certain salespeople to determine how they affect the total sales.
1. Drag a field from the Field List to the Filters area. In this example, we'll use
the Salesperson field.
2. The filter will appear above the PivotTable. Click the drop-down arrow, then
check the box next to Select Multiple Items.
3. Uncheck the box for any items you don't want to include in the PivotTable. In
our example, we'll uncheck the boxes for a few different salespeople, then
click OK.
4. The PivotTable will adjust to reflect the changes.
Slicers
Slicers make filtering data in PivotTables even easier. Slicers are basically just filters, but they're
easier and faster to use, allowing you to instantly pivot your data. If you frequently filter your
PivotTables, you may want to consider using slicers instead of filters.
To add a slicer:
4. The slicer will appear next to the PivotTable. Each selected item will be
highlighted in blue. In the example below, the slicer contains a list of all
salespeople, and six of them are currently selected.
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:
In this example, our PivotTable is showing each person's total sales per month. We'll use a
PivotChart so we can see the information more clearly.
What-If Analysis
Introduction
Whenever you create a formula or function in Excel, you put various parts together to calculate
a result. Goal Seek works in the opposite way: It lets you start with the desired result, and it
calculates the input value that will give you that result. We'll use a few examples to show how
to use Goal Seek.
Let's say you're enrolled in a class. You currently have a grade of 65, and you need at least a 70
to pass the class. Luckily, you have one final assignment that might be able to raise your
average. You can use Goal Seek to find out what grade you need on the final assignment to
pass the class.
In the image below, you can see that the grades on the first four assignments are 58, 70, 72,
and 60. Even though we don't know what the fifth grade will be, we can write a formula—or
function—that calculates the final grade. In this case, each assignment is weighted equally, so
all we have to do is average all five grades by typing =AVERAGE(B2:B6). Once we use Goal Seek,
cell B6 will show us the minimum grade we'll need to make on that assignment.
1. Select the cell whose value you want to change. Whenever you use Goal Seek,
you'll need to select a cell that already contains a formula or function. In our
example, we'll select cell B7 because it contains the formula =AVERAGE(B2:B6).
2. From the Data tab, click the What-If Analysis command, then select Goal
Seek from the drop-down menu.
6. The result will appear in the specified cell. In our example, Goal Seek calculated
that we will need to score at least a 90 on the final assignment to earn a passing
grade.
1. Select the cell whose value you want to change. In our example, we'll select
cell B4.
6. The result will appear in the specified cell. In our example, Goal Seek calculated
the answer to be approximately 18.62. In this case, our final answer needs to be
a whole number, so we'll need to round the answer up or down. Because
rounding up would cause us to exceed our budget, we'll round down to 18
guests.
As you can see in the example above, some situations will require the answer to be a whole
number. If Goal Seek gives you a decimal, you'll need to round up or down, depending on the
situation.
Scenarios let you substitute values for multiple cells (up to 32) at the same time.
You can create as many scenarios as you want and then compare them without
changing the values manually. In the example below, we're using scenarios to
compare different venues for an upcoming event.
Practice!
1. Open an existing Excel workbook
2. Use Goal Seek to determine an unknown value. If you're using the example, go
to the History Class worksheet and use Goal Seek to determine what grade you
would need on Test 3 to earn a final grade average of 90.
You can customize the Ribbon by creating your own tabs with whichever commands you want.
Commands are always housed within a group, and you can create as many groups as you want
in order to keep your tab organized. If you want, you can even add commands to any of the
default tabs, as long as you create a custom group in the tab.
3. Make sure the New Group is selected, select a command, then click Add. You
can also drag commands directly into a group.
4. When you are done adding commands, click OK. The commands will be added to
the Ribbon.
If you don't see the command you want, click the Choose commands from: drop-down box and
select All Commands.
If you're working on a touch-screen device, you can enable Touch Mode to create more open
space on the Ribbon, making commands easier to tap with your fingers.
References:
Vermaat. 1/e, c2019.Discovering Computers 2018: Digital Technology, Data, and Devices
John Ward. Introduction to Computer Applications and Concepts
https://courses.lumenlearning.com/zeliite115/ , retrieved October 6, 2020
Goodwill Community Foundation. A program of Goodwill Community Foundation® and
Goodwill Industries of Eastern North Carolina Inc.® (GIENC®), all GCFLearnFree.org®
educational content is designed and produced in the GCF Global headquarters in
Durham, N.C. https://edu.gcfglobal.org/en/word , retrieved December 2, 2020