Excel 2016 Intermediate
Excel 2016 Intermediate
-
0
:::0
0
(j)
0
11
-;
®
0
II
®0 -
II
m
w
o-
U1
Project Figures Using a Data Table...................................................................................... Excel256
Creating a two-input data table
Use Goal Seek ...................................................................................................................... Excel258
Using Excel's D•ta Anal) sis tools
Set up a Complex What-if Analysis with Solver................................................................. Excel260
Run Solver and Summarize Results ..................................................................................... Excel262
Umkrstanding .\mwer Reports
Analyze Data Using the Analysis Too1Pak ..........................................................................Excel264
Predicting data trends with forecast Shrxt
Practice ................................................................................................................................ Excel266
Glossary ................................................................................................................................... Glossary 1
Index ............................................................................................................................................ Index 4
viii CONTENTS
Brief Contents
Exccl2016
Module 6 : Managing Workbook Data ....................................................................................... Excel129
Module 7: Managing Data Using Tables.................................................................................... Excel153
Module 8: Analyzing Table Data ............................................................................................... Excel177
Module 9: Automating Worksheet Tasks .................................................................................... Excel 201
Module 10: Enhancing Charts ................................................................................................... Excel 225
Module 11: Performing What-if Analysis ................................................................................... Excel249
Glossary ................................................................................................................................... Glossary 1
lndex ............................................................................................................................................. lndex 4
BRIEF CONTENTS v
Contents
Excel2016
vi CONTENTS
i Excel2016 Module 6
Managing
Workbook Data
~ Mary Watson, the vice president of sales and marketing at Reason2Go, asks for
your help in analyzing yearly sales data from the U.S. branches. When the
analysis is complete, she will distribute the workbook for branch managers to review.
Module Objectives
After completing this module, you will be able to:
• View and arrange worksheets • Prepare a workbook for distribution
• Protect worksheets and workbooks • Insert hyperlinks
• Save custom views of a worksheet • Save a workbook for distribution
• Add a worksheet background • Group worksheets
----~ll&ii§A'ill~-------------------------------------------------------------
1. Start Excel, open EX 6-1.xlsx from the location where you store your Data Files, then
save it as EX 6-Store Sales
2. With the los Angeles sheet active, clkk the View tab, then click the New Window button
in the Window group
There are now two instances of the Store Sales workbook open. You can see them when you place the
mouse pointer over the Excel icon on the task bar: EX 6-Store Sales.xlsx:l and EX 6-Store Sales.xlsx:2. The
EX 6-Store Sales.xlsx:2 window appears in front, indicating that it's the active instance.
3. Click the New York sheet tab, click th.e View tab, click the Switch Windows button in the
Window group, then click EX 6-Store Sales.xlsx:1
The EX 6-Store Sales.xl~x:1 instance moves to the front. The los Angeles sheet is active in the EX 6-Store
QUICK TIP
Sales.xlsx:l workbook, and the New York sheet is active in the EX 6-Store SaJes_xJsx:2 workbook.
You can use the View
Side by Side button 4. Click the Arrange All button in the Window group
il the 1\lndow
group to arrange The Arrange Windows dialog box, shown in FIGURE 6-1, Jets you choose how to display the instances.
the windaws in You want to view the workbooks next to each other.
their previous
configuration. 5. Click the Vertical option button to se~ect it, then click OK
This activates The window~ are arranged next to each other, as shown in fiGURE 6-2. The second instance of the workbook
Synchronous opens at a zoom of 100%, not the 120% zoom of the workbook. You can activate a workbook by clicking
Scrolling botton
below the View Side one of its cells. You can also \1ew only one of the workbooks by hiding the one you do not wish to see.
by Side button, 6. Scroll horizontally to view the data in the EX 6-Store Sales.xlsx: 1 workbook, click
allowing yoo to saoO
through tile anywhere in the EX 6-Store Sale.s.xlsx:2 workbook, scroll horizontally to view the data
arranged wortsheets in it, then click the Hide Window button in the Window group
simultaneously.
When you hide the second instance, only the EX 6-Store Sales.xlsx: I workbook is visible.
7. In the EX 6-Store Sales.xlsx:1 window, click the Unhide Window button in the Window
group; click EX 6-Store Sales.xlsx:2 if necessary in the Unhide dialog box, then click OK
The EX 6-Store Sales.xlsx:2 instance appears.
8. Click the Close Window button II in the title bar to close the EX 6-Store Sales.xlsx:2
instance, then maximize the los Angeles worksheet in the EX 6-Store Sales.xlsx
workbook
Closing the EX 6-Store Sales.xlsx:2 instance leaves only the first instance open. Its name in the title bar
returns to EX 6-Store Sales.xlsx. When dosing an instance of a workbook, it is important to use the dose
button and not the Close command on the F"de menu, which doses the workbook.
Arrang~ Wini:lows 1 X
Arrange
®"i'i'ii£Ci1
01!1.........;
-
•
-----
•
,... ... ,.. R2GNewYork
~ .... ..,
• ..... I Cl!o-l•
' OtcWtlc s ., ,. ,..,_,.
• _ , J ... .,.,
.... ....... .......
mu<
_,,
SIVll
_
....... __, ......._,
II&Ul
t
1"1111'
..
I
• T
First instance of workbook titled
Second instance of wOfkbook titled
EX 6-StoreSales.xlsx:2
"
II
•
............-...
......
--- ._..,....,_,..
In Sll!p 2, click
to remove
check mark
Prevents
locked cells
lromchanges
--
AGURf 6-5: Protect Sheet dialog box
-<!lil""···---.--·....-
I l(
Allows USetS
lo select
worllsheel cells
----~ll&i1JR'111~------------------------------------------------------------------
1. With the Los Angeles sheet active, click the View tab, then click the Custom Views
button in the Workbook Views group
The Custom Views dialog box opens. Any pm~ously defined views for the active worksheet appear in the
Views box. No views arc defined for the Los Angeles worksheet. You decide to add a named view for the current
view, which shows all the worksheet columns. That way, you can easily return to it from any other \icws
you create.
2. Click Add
The Add View dialog box opens, as shown in FIGURE 6-8. Here, you enter a name for the view and decide
whether to include print settings and/or hidden rows, columns, and filter settings. You want to include
these options, which are already selected.
3. In the Name box, type Year Sales, then click OK
You have created a view called Year Sales that shows ail the worksheet columns. You want to set up another
view that will hide the April through December columns.
4. Select columns Ethrough M, right-click the selected area, then click Hide on the
shortcut menu
You are ready to create a custom view of the january through March sales data.
5. Click cell A1, click the Custom Views button in the Workbook Views group, click Add,
in the Name box type First Quarter, then click OK
You are ready to test the two custom views.
6. Click the Custom Views button in the Workbook Views group, dick Year Sales in the
Views li.st, then click Show
The Year Sales custom \~ew displays all of the months' sales data.
7. Click the Custom Views button in the Workbook Views group, then with First Quarter
in the Custom Views dialog box selected, click Show
Only the january through March sales figures appear on the screen, as shown in FIGURE 6·9.
8. Return to the Year Sales view, then save your work
~·':?
Type view Atfdude tn view
name here / 121 fnnt uttlngt
0 Hlddtn !OWf, columns. and filt.tr R"tftngs
0" I [ C.ocot
A B c D N
1. With the Los Angeles sheet active, click the Page Layout tab, then click the Background
button in the Page Setup group
The Insert Pictures dialog box opens.
2. Click From a file, navigate to the location where you store your Data Files, click
EX 6-Logo.jpg, then dick Insert
The R2G logo appears behind the worksheet data. It appean multiple times on your screen because the
graphic is tiled, or repeated, to fill the background.
3. Click the File tab, click Print, view the preview of the Los Angeles worksheet, then click
the Back button 0 to return to the worksheet
Because the logo is a background image, it will not print with the worksheet, so it is not visible in the Print
preview. You want the logo to print with the worksheet, so you decide to remove the background and add
the logo to the worksheet header.
4. On the Page Layout tab, click the Delete Background button in the Page Setup group,
click the Insert tab, then click the Header & Footer button in the Text group
The Header & Footer Tools Design tab appean, as shown in FIGURE 6-10. You can use the buttons in this
group to add preformatted headers and footers to a worksheet. The Header & footer Elements buttons let
you add page numbers, the date, the time, tb.e file location, names, and pictures to the header or footer. The
Navigation group buttons move the insertion point from the header to the footer and back. You want to add
a picture to the header.
S. With the insertion point in the center section of the header, click the Picture button in
the Header & Footer Elements group, click Browse, navigate to where you store your
Data Files, click EX 6-Logo.jpg, then click Insert
Acode representing a picture, "&[Picture)", appears in the center of the header.
6. Click cell A1, click the Page Layout tab, click the Width list arrow in the Scale to Fit group,
dick 1 page, click the Height list arrow in the Scale to Fit group, click 1 page, then preview
the worksheet
Your worksheet should look like FIGURE6· 11, "ith all the data fitting on one page.
did<ing
didcing the No 7. Return to the worksheet, switch to Normal view, click the Home tab, then save the
listar~ workbook
didcing lit
on One Page.
' • • • • .. •
FIGURE 6-11: Preview ol Los Angeles workshllilt with logo In the background
__
........
l!aa:::::....... ______..
._... ..................................
:::::;----~--------------~
- ~~·
.............
...................._
" ------~ ~ .... _..
li!l - -
....c.. ....... _.... ..._ _,_ .. ..., .... - .
............. .....,....,....................................
................................
Iii! - -----
Il - -
_!:if~
i
.. _........_...,......,.,... ...........,.... ~!. II..J•
I ,.,.... I pou
.... ___
FIGURE 6-t3: Document Properties panel
1 X
---
-
-
~ r----------------
1+--- Add file information
in text boxes
~ r-------~----------~
=--o--.. .--
.. .....
r
Click here to browse
tohyj)erlink target
.....
----~llhii§Q'111L__________________________________________________________________
1. Click the File tab, click Save As, click Browse, navigate to where you store your Data
Files, click the Save as type list arrow in the Save As dialog box, click Excel 97·2003
Workbook (*.xis), then click Save
The Compatibility Checker dialog box opens as shown in FIGURE 6-16. It alerts you lo the features that will
be lost or converted by saving in the earlier format. Some Excel 2016 features are not available in earlier
versions of Excel.
2. Click Continue, dose the workbook, then reopen the EX 6-Store Sales.xls workbook
"[Compatibility Mode)" appears in the title bar, as shown in FIGURE 6-17. Compatibility mode prevents you
from including Excel features in your workbook that are not supported in Excel97·2003 workbooks. To exit
compatibility mode, you need to convert yom me to the Excel 2016 format
3. Click the File tab, click the Convert button in the Info place, dick Save, click Yes if you are
asked if you want to replace the existing file, then dick Yes to dose and reopen the
workbook
The title bar no longer displays "[Compatibil!ity Mode]" and the me has changed to .xlsx fonnat.
4. Click cell A1, then save the workbook
·- 0«1MCIIUS
--
Minor lonol ~ !
Somt tt lhor st,lnlrl ~ -kbOCik (0~
fOflllant~o tt!Jt 1~ noc '"'PP<Irttd OIJ' tM
W'f«<:t'd uk l orfMI.. nt«t-foi'IM!t•lll ct
' Warning about
I- changes to
tol'l'ftl'ltd tettiV dostst lonMt ...,!t.ble. & Ct l 91·l:OC)
workbook
0 (btek compOIIOIII\)' WIUI? J.bii'+O !biS ~O<*-
CoPJ IOtiewSM-d. f 1, OI'II!nVf 1r C:anttl
----~llfil@iill~--------------------------------------------------------------
1. With the Los Angeles sheet active, press and hold [Shift], click the New York sheet, then
release [Shift]
Both sheet tabs are selected, and the title bar now contains "(Group]", indicating that the worksheets
are grouped together. Now any changes you make to the los Angeles sheet will also be made to the
New York sheet.
2. Click the Insert tab, then click the Header & Footer button in the Text group
3. On the Header and Footer Tools Design tab, click the Go to Footer button in the
Navigation group, type R2G in the center section of the footer, type your name in the
left section of the footer, click a cell in the worksheet, move to cell A1, then dick the
Normal button IJII on the Status Bar
You decide to check the footers in Print Preview.
4. With the worksheets still grouped, click the File tab, click Print, preview the first page,
then click the Next Page button [] to preview the second page
Because the worksheets are grouped, both worksheets are ready to print and both pages contain the footer
"ith "R2G' and your name. The worksheets would look better with a smaller top margin.
5. Click the Normal Margins list arrow, click Custom Margins, in the Top text box on the
Margins tab of the Page Setup dialog box type .5, then click OK
You decide to ungroup the worksheets.
6. Return to the worksheet, right<lick the Los Angeles worksheet sheet tab, then click
Ungroup Sheets
7. Save and close the workbook, exit Ex.cel, then submit the workbook to your instructor
The completed worksheets arc shown in FIGURES 6-18 and 6-19.
R2G l os Angeles
Moy J~ Jul
Luggage s 1.011.32 S 8U7 ;. 6i8.2S
"""
s 74'5.21 s 99-S)l s $46 )3
$4$:2.42 s 1144.~2 S loiSSij $ .US.G& $ 4 SB.fi6 s 188.88
""""' $ 67S.lol $ 488.84
,,
22 $ -s21.3$
( lothlng
l:lt!'Ctfi¢11!
$
$
897.3~ s 866 )4
:!98.47 $ l'tl4.ll .. :. 627,11
$ 902.U
s 64-A 22 s 98l6$ s 61184'
s 783.24 $~24 s !Wl..SO
s S!2.Si s 877.95 s 963 57
$855.22 $888.118 s 1193.24
Your Name
LO&B;1£9
Books. s 182.51 $ 861.,;4 S 4s8.lS s 874.2.1 $ llS.Iifl $ 799.3$ s lt1.31i S 18H1 S U6.24 s !136.!14 s 95-9.71 s 999..99
Oothina: S S99.30 S9SUS S 7S1.21 s 453.21 suus S l31.SS s 711s..2l S S16.G8 s 1.58.69 s 752.36 $42:2.31 S 2U.Sfl
E"ec-tri(;JI S 79UJ 5 532 SA S 78S.34 s 423 36 s 7411 35 SIIOJ.U s •ss62 $~3,57 s 855 47 s 975.11 $999,99 s 9(i.] 2:4
.,.
Managing Workbook Data
Practice
Concepts Review
1. Which element do you click to organize open workshret windows in a specific configuration?
2. Which element points to a ScreenTip for a hyperlink7
3. Which element points to a hyperlink?
4. Which element do you click to name and save a set of display and/ or print settings?
5. Which element do you click to open another instance of the active worksheet in a separate window?
6. Which element do yon click to view and change the way worksheet data is distributed on printed pages?
7. Which element do you click to move between instances of a workbook?
FIGURE6-20
-·- ...
a
~.
b
- ...
0 Q
R2GlosAnae~l~
... ...
e~~----------------~
: d
II
ll
11
.
u
."
..""
-
Match each term with the statement that best describes it.
8. Data entry area a. Wcbpage fonnat
9. Watermark b . Portion of a worksheet that can be changed
10. Hyperlink c. Translucent background design on a printed worksheet
11. Dynamic page breaks d. An object that whe:n clicked displays another worksheet or a webpage
12. HThfl e. Adjust automatically when rows and columns are inserted or deleted
Excel 146
Select the best answer from the list of choices.
13. You can group contiguous worksheets by clicking the first shed, and then pressing and holding
_ _ _ _ while clicking the last sheet tab that you want to group.
a. [All] c. [ShiftJ
b . [Spacebar] d. [F6]
14. A _ _ _ _ is a set of display and/ or print settings that you can save and access later.
a. View c. Data area
b . Property d. Keyword
15. Which of the foUowing formats means that users can view but uot change data in a workbook?
a. Macro c. Webpage
b . Read-only d. Template
Skills Review
1. View and arrange worksheets.
a. Start Excel, open EX 6-2.xlsx from the location 1~here you store your Data Files, then save it as EX 6·Tea.
b . Open another instance of the workbook in a new window.
c. Activate the East sheet in the EX 6-Tea.xliX: I workbook. Activate the West sheet in the EX 6-Tea.xlsx:2
workbook.
d. View the EX 6-Tea.xlsx:l and EX 6-Tea.xlsx:2 workbooks tiled horizontally. View the workbooks in a vertical
arrangemenL
e. !-tide the EX 6-Tea.xlsx:2 instance, then unhide the instance. Close the EX 6-Tea.xlsx:2 instance, and maximize
the EX 6-Tea.xlsx workbook.
2. Protect worksheets and workbooks.
a. On the F..ast sheet, unlock the expense data in the range B12:F19.
b . Protect the sheet without using a password.
c. To make sure the other cells are locked, attempt to make an entry in cell D4 and verify that you receive an
error message.
d. Change the first-quarter mortgage expense in cell B12 to 6000.
e. Protect the workbook's structure without applying"' password. Right-click the East and West sheet tabs to verify
that you cannot insert, delete, rename, move, copy, bide, or unhide the sheets, or change their tab color.
f. Unprotect the workbook. Unprotect the East worksheeL
g. Save the workbook.
3. Save custom views of a worksheet.
a. Using the East sheet, create a custom view of the entire worksheet called Entire East Budget.
b. Hide rows 10 through 23, then create a new view called Income showing only the income data.
c. Use the Custom Views dialog box to display all of the data on the East worksheeL
d. Use the Custom Views dialog box to display only the income data on the East worksheet.
e. Use the Custom Views dialog box to return to the Entire East Budget 1~ew.
f. Save the workbook.
4. Add a worksheet background.
a. Use EX 6-3.jpg as a worksheet background for the East sheet, then delete it.
b. Add EX 6-3.jpg to the East header, then preview the. sheet to verify that the background will print.
c. Add your name to the center section of the East worksheet footer, then save the workbook.
-
I-' (lR 2nd QTll W QTil 40! QTK TOTAL '-Of TOTAl.
......
'I .r:• ~
ir-:
' "" 's
Ull '
,..,.
lt':T
. ""'" .... -·
.
,.. ..,. '
'"' ' "'"
.,.. ' ,
...
III,UO J
IUt I
,._,,
l:l.\\1;
...""'
~
]
,..._
" ,..,.....
1',.,_ TOTAL ,._OfTOTAL
.. .....
- ·~-
1!1~~
~ J
.......
"" ,...."""
'....E-•
l,J.'I'f J
...;.,"'"
WP'-
'"' .,,..
~Gill
I ...,; t .........
,.r.,
-
UiJ ' t_.tJ I
lltW I ".!ft I n....,.
19.71:1 ..
""
"
" '"*.. ..U!l
.. ,• ..., . .....
..... !UOII
lt.S&t J
I.W .t a.. I uu • ....
...., .......
"""
..,.,
li)c f.
m •
t.ni I
!l! •
~
-.s
"''
t
t ...
"''
""
.....
L.,.
.....
.... '""'
""
:J....
Excell48
Independent Challenge 1
You manage American Pools, a pool supplier for the Florida home market. You are organizing your first-quarter sales in
an Excel worksheet. Because the sheet for the month of january includes the same type of information you need for
February and March, you decide to enter the headings for all of the first-quarter months at the same time. You use a
separate worksheet for each month and create data for 3 months.
a. Start Excel, then save a new workbook as EX 6-Po ols.xlsx in the location where you store your Data Files.
b. Name the first sheet J anu ary, name the second sheet February, and name the third sheet March.
c. Group the work.~heets.
d. With the worksheets grouped, add the title American Pools centered across cells Al and BL Enter the labels
Type in cell A2 and Sales in cell 82. Enter pool tw labels in column Abeginning ln cell A3 and ending in
cell A9. Use the following pool types in the range A3:A9: Prefab, Masonry, Concret e, Vm yl, Gu.nite,
Fiber g lass, and Package. Add the label Total in cell AlO. Enter the formula to sum the Sales column in
cell BIO.
e. Ungroup the worksheets, and enter your own sales data for each of the sales categories in the range 83:89 in the
january, February, and March sheets.
f. Display each worksheet in its own window, then arrange the three sheets vertically.
g. Hide the window displaying the March sheet. Unhide the March sheet \\1ndow.
h. Split the March window into two panes: the upper pane displaying rows I through 5, and the lower pane
displaying rows 6 through 10. Scroll through the data in each pane, then remove the split. (Hint Select row 6,
click the View tab, then click Split in the Window group. Clicking Split again will remove the split)
i. Close the windows displaying EX 6-Pools.xlsx:2 and EX 6-Pools.xlsx:3, then matitnize the EX 6-Pools.xlsx
workbook.
j. Add the ke}~vords pools custom to your workbook, using the tags textbox in the Info place.
k. Group the worksheets again.
I. Add headers to all three worksheets that include your name in the left section and the sheet name in the center
section. (Hint You can add the sheet name to a header by clicking the Sheet Name button in the Header and
Footer Elements group of the Header & Footer Tools Design tab.)
m. With the worksheets still grouped, format the worksheets using the fill and color buttons on the Home tab
appropriately.
n. Ungroup the worksheets, then mark the workbook status as final. Oose the workbook, reopen the workbook,
and enable editing.
o. Save the workbook, submit the workbook to your instructor, then exit Excel.
Independent Challenge 2
As the payroU manager at National Solutions, a communications finn, you decide to otganize the weekly timecard data
using Excel worksheets. You use a separate worksheet for each week and track the hours for employees with different
job classifications. Ahyperlink in the worksheet provides pay rates for each classification, and custom views limit the
information that is displayed.
a. Start Excel, open EX 6-4.xlsx from the location where you store your Data Files, then save it as
EX 6-T imecards.
b. Compare the data in the workbook by arranging the Week I, Week 2, and Week 3 sheets horizontally.
c. Maximize the Week 1 window. Unlock the hours data in the Week 1 sheet and protect the worksheet Verify that
the employee names, numbers, and classifications cannot be changed. Verify that the total hours data can be
changed, but do not change the data.
d. Unprotect the Week 1 sheet, and create a custom view called Complet e Worksheet that displays all the data.
Marag W db Data
Independent Challenge 2 (continued)
e. Hide column E and create a custom view of the data in the range Al:D22. Name the view
Employee Classifications. Display each view, then return to the Complete Worksheet view.
f. Add a page break between columns D and E so that the Total Hours data prints on a second page. Preview the
worksheet, then remove the page break. (Hint Use the Breaks button on the Page Layout tab.)
g. Add a hyperlink to the Classification beading in cell Dl that links to the 61e EX 6-Ciassifications.xlsx. Add a
Screen11p that reads Pay Rates, then test the hypedink. FIGURE 6-22
Compare your screen to FIGURE 6-22. A
Independent Challenge 3
One of your responsibilities as the office managcr at South High School is to track supplies for the office. You decide to create a
spreadsheet to track these ordcrs, placing each month's orders on its own sheet. You create custom views that will focus on the
categories of supplies. Ahypcrlink will provide a supplier's contact information.
a. Start Excel, open EX 6-S.xlsx from the location where you store your Data files, then save it as EX 6-Sooth High.
b. Arrange the sheets for the 3 months horizontally to compare expenses, then close the extra workbook windows and
maximize the rcrnaining window.
c. Create a custom \1ew of the entire january worksheet named All Supplies. Hide the paper, pens, and miscella-
neous supply data, and create a custom view displaying only the equipment supplies. Call the view Eqoipm.cnt.
d. Display the All Supplies view, group the worksheets, and create a total for the total costs in cell D32 on each
month's sheet. If necessary, use the Fonnat Painter to copy the format from cell D31 to cell D32.
e. With the sheets grouped, add the sheet name to the center section of all the sheets' headers and your name to the
center section of all the sheets' footers.
f. Ungroup the sheets and use the Compatibility Checkcr to view the features that are unsupported in earlier Excel
formats. (Hint: Click the File tab, on the Info tab, click the Check for Issues button, then click Check Compatibility.)
g. Add a bypcrlink in cell AS of the january sheet that opens the file EX 6-Equipment.xlsx. Add a ScreenTip of
Equipment Supplier. Test the link, viewing the Scr.een11p, then return to the EX 6-South High.xlsx workbook
\\1thout closing the EX 6-Equipment.xlsx workbook. Save the EX 6-South High.xlsx workbook.
h. Hide the EX 6-Equipment.xlsx workbook, then unhide it.
Independent Challenge 3 (continued)
i. Freeze worksheet rows one through three on the january Sheet of the EX 6-South High.xlsx workbook. (Hi11t
Select row 4, click the View tab, click the Freeze Panes button in the Window group, then click Freeze Panes.)
Scroll down in the worksheet to verify the top three rows remain visible.
j. Unfreeze rows one tluough tluee. (Hi11t Click the V:iew tab, click Freeze panes, then click Unfreeze Panes.)
k. Close both the EX 6-Equipment.xlsx and the EX 6-South High.xlsx workbooks.
I. Submit the workbooks to your instructor, then exit !Excel.
a. Start Excel, open EX 6-6.x!sx from the location where you store your Data Files, then save it as EX 6-Invoice
in the location where you store your Data Files.
b. Freeze rows I through 5 in the worksheet. Scroll vertically to verify rows l through 5 are visible at the top of
the worksheet.
c. Research the steps necessary to hide a fonnula in the Formula Bar of a worksheet. Add a worksheet to the
workbook. Record these steps in cell Al on the new sheet of the workbook, then hide the display of the formula
for cell 834 on Sbeetl. Check the
FIGURE 6·23
Fonnula Bar to verify the fonnula is
hidden. Compare yow worksheet to
AGURE&-23. A 8
d. Save yow workbook to yow OneDrive 1 Expenses
folder. If you don't have a Microsoft 2
account, research the steps for creating 1 Activity: Dlshw!Shl!r lnstllli
an account. ~ Contract to: DW158
e. Share your workbook with a s Em_ployee Number: 1002
classmate. Give your classmate 28 Miscellaneous _____.
29 Mltc411a-t Item 1
permission to edit the workbook. 30 -no-~ml
Enter the message Please r eview 31 Mlsoetla-. Item 3
and make n ecessary 32
33
changes.
f. Unprotect Sheetl. (Yow formula wW
14 Totilll Expensas Is 908.oo I
35
be displayed.) Add a header that
includes your name on the left side of
the worksheet (this wW unfreeze rows 1 tluough 5). Using the Page Layout tab, scale Sheetl to fit vertically on
one page. Save the workbook, then preview the worksheet.
g. Save the workbook as a pdf file.
h. Close the pdf file, then close the workbook.
i. Submit the workbook and pdf file to yow instructor, then exit Excel.
Marag W db D ta
Visual Workshop
Start Excel, open EX 6-7.xlsx from the location where you store your Data Files, then save it as EX 6-Listings. Make
your worksheet look like the one shown in FIGURE 6-24. The text in cell A4 is a hyperlink to the EX 6-lnfonnation
workbook. The worksheet background is the Data File EX 6-8.jpg. Enter your name in the footer, save the workbook,
submit the workbook to your instructor, dose the workbook, then exit Excel.
FIGURE 6·24
A B (.. D F
Ocean Side Realty
2 Home Listings
Listing
Location Type Bed Bath Garage
3 Number
4 Waterfront Condominium 2 1 No
1
1!6
Pncolnforma~x~o rfront
5 Condominium 3 2 No
6 1597 1 block from water House 4 2 Yes
7 1784 1 mile from water House 5 3 No
s 2102 Waterfront Condominium 4 2 No
~ 2214 Village House 2 1 No
10 2268 Waterfront House 3 1 Yes
11 2784 Village Condominium 3 2 No
12 3148 1 block from water House 4 2 Yes
13 3364 1 mile from water Condominium 2 2 No
14 3754 Waterfront House 4 2 No ~
~
~
15 3977 VIllage House 2 1 No a
~•
16 4102 Village Condominium 2 1 No
I
uJ
18
4158 1 block from water House 2 2 Yes
6 •r
I
·:. Excel2016 Module 7
Managing Data
Using Tables
. . Reason2Go uses tables to analyze project data. The vice president of sales and
marketing, Mary Watson, asks you to help her build and manage a table of
information about 2017 conservation projects. You will help by planning and creating a table;
adding, changing, finding, and deleting table information; sorting table data; and performing
calculations with table data.
Module Objectives
After completing this module, you will be able to:
• Plan a table • Delete table data
• Create and format a table • Sort table data
• Add table data • Use formulas in a table
• Find and replace table data • Print a table
Project Dq>artO.... Num~uof~ l'n>j«:t C.l""i<l' Places ~d Pri<e Air lnclode<l ln!~.~ranu lnclu~
./
Headet raw -
Each project will be
placed in a T ble row
- -- will contain
field names _
p
·I-
Header row
contains
field names
--- -
I
•• ._._
--- -
---
--
....... ...... - -
•
-...... · -
-... ...... ••..••
J.__,
............. ...... ..
,_
......
c
u
1'
0
'
0
0
s •..too
• uoo
•
•a
•
.......... .
......
•• .. ••
l'/H/J011
. .I.JIJOl7
u
10
0
I
...
...,..
~l-1(ollitl"7 10
s ._
·- ...... - ..,...
>ml>lll>
•'
~,.,..o...,..._ l1
,
No
......t ••,~-
..."
WUtnOi1
••• ...
..
.,._..,
'0 ~~- V>Mtt.
...... ..
UIU/Jol7
..,_. ...
I/)C/XU7
" •
...
'
' ......
$ ...,))
......
Vn Yn
Records for
each project,
organized by
.. .,.....
._
...........
...
··-
~·-W.oot.
'?tur.IOJ7
""""'"
7(TP/JIU7
OIUI>OI>
trl'lll011
•
."
••
•'
10
•
•
1
''
••'
.....
• >.>00
S UJO
-
... ...
...
...... ...... -... No -
No
No
·- -
,..,... ,
A
1 n.,hHt
I
C27..,
C
U
0
toO
t
I
f
CBS Ves
G
•
. . . . . I. . . . .
) "'*'o C2741
c~
lS
U
>I
»0
t
1
1... No
sMtt No ...
•11
. . . ... q.
. , ,.. • • • • ·-·
-• ft.
.
.~ -.l "' ~=--- ~p
.-
,__,.. _
- ••
- ...... - "'!""- (: ,_-
8:~ -=--•<.ot
.....=-~=-··
~-
· t .C 0 £ J G k
~0. . ,..._ _ _CM¥1 • ........ ~ • ..._..._...,., - Pob . .............. . ......_--...... .
t. nr--o J/W¥M ll SO ) ~~ _,
J ...., J/Uillll' u • • ~~ Nto
~ .., • ,1: Mol ...
~...._ __ .
--
-
Table Style
c
-· .........
·--
•
•'
•
...........
~
·- --.. ...........- ..
~
•
•
Options group
'
Managmg Data Using Tables
Excei201G
Module 7 Add Table Data
learning You can add records to a table by typing data directly below the last row of the table. After you press
Outcomes [Enter], the new row becomes part of the table and the table formatting extends to the new data. When
• Add ftelds to a
table
the active cell is the last cell of a table, you cara add a new row by pressing (Tab]. You can also insert rows
• Add records to a in any table location. If you decide you need additional data fields, you can add new columns to a table.
t.lble
You can also expand a table by dragging the sizing handle in a table's lower-right corner; drag down to
add rows and drag to the right to add columns .. .Alter entering all of the 2017 project data, Mary
decides to offer two additional projects. She also wants the table to display the number of available places for
each project and whether visas are required for the destination.
----~ll&ii@Q'iiiL--------------------------------------------------------------
1. Click the 2017 Projects sheet tab
The 2017 sheet containing the 2017 project data becomes active.
2. Scroll down to the last table row, click cell A65, enter the data for the new Coral Reef
project, as shown below, then press [Enter)
ICoral Reef 17125/2017 118 110 0 I I S 3, 100 IYes INo I
As you scroll down, notice that the table headers are visible at the top of the table as long as the active cell
is inside the table. The new Coral Reef project is now part of the table. You want to enter a record about a
new january project above row 6.
3. Scroll up to and click the inside left e-dge of cell A6 to select the table row data as shown
in FIGURE 7-7, click the Insert list arrow in the Cells group, then click Insert Table Rows
Above
Clicl:ing the left edge of the first cell in a table row selects the entire table row, rather than the entire work-
sheet row. Anew blank row 6 is available for the new record.
4. Click cell A6, then enter the Dolphin record shown below
IDolphin l l/28/2017 114 110 I0 I S 3, 200 IYes IYes I
The new Dolphin project is part of the table. You want to add a new field that displays the number of avail-
able places for each project.
5. Click cell ll, type the fie.ld name Places Available, then press [Enter)
The new field becomes part of the table, and the header fonnatting extends to the new field, as shown in
AGURE 7-8. The AutoCorrect menu allows you to undo or stop the automatic table expansion, but in this
case you decide to leave this feature on. You want to add another new field to the table to display projects
that require \1sas, but this time you will add the new field by resizing the table.
6. Scroll down until cell166 is visible, then drag the sizing handle in the table's lower-right
corner one column to the right to add column J to the table, as shown in AGURE7-9
The table range is now A1:j66, and the new l!ield name is Column!.
7. Scroll up to and click cell jl, type Visa Required, then press [Enter)
8. Click the Insert tab, click the Header .& Footer button in the Text group, enter your
name in the center header text box, click cell A1, click the Normal button IJi!ll on the
status bar, then save the workbook
••
• --
~
- -
- -- ------ -
·- .-..
... -
l/12/l011
lllJ/2017
1/19/>(117
..... c.- - •
N ........
u
lS
"
lD
•
10
s
••
s
s
s
•.>SS
1,966
....
....
....
IMI . . . . .
Ho
...'" ..........
•.»<>
>.uo
....""
NO
...
""
Clicking here Clicking here Row6 of
selects the entire selects tlle table selected
vrorllsheet row table row
,.• ,_-
·-
-
- --
-
..
....
-
•
-- -
•
VU/Jitl>
-
c
u
0
10
'
__, _
••
•
.--
......
._
..
......... ~-~\
..........
G H J
·-· •••,
,., ...,.. ·-...... .·-.......
liU/>ol>
• f .....
__ ..
l/lot>Drr ••
- .,.,.,., s .....
...
~ ~=-~
V>t/>01>
••
,. 0 New table column will
•I
..........
,_ ,.,..
UW>OJ7
=:; "••
10
•
': •
•
:·no ·- ·- J
s
!
).J~
.a,tl)
H4
v
show available piaces
for each project
.. -
FIGURE 7-9: Resizing a table using the resizing handle
li~W..- _....,.
.............
.P~ ... Ik'f
. ~o. .-
\~.)011
lo;')1/1Qt1
Wll!llnJ
U./'J.Itl0-11
..1t
"••
tO
••
10
' s 'VOO ttt
•••
•
......
• uoo
-
..
......... ., ~ ~c..~ ..... --- ·; M:. _.;.. .........-; ._.....,01 ....,.,.
... .••
H tl/111)017 • '-»'
,,.,.,, ""u
I
~·..~
Dragsizing handle
.::::..,, ,........
I>JII(J<nl I 1ft
=~. ..,., ; ·~
IV20{l017 lO
0
•• • uw '" .....
'" column J
tlht/1011 $o l.lM
.....
~e
......
l: j
U/10(1017
,;,;,., ~
11/)J/JOU "
..
•
:: ;-
!
•
~
.. .. '" .. r
"to", such
6. Click Options » , click the Match case check box to select it, click Options <<, then click
and"tOI'; il Find Next
not find "'one" Excel moves the cell pointer to the cell containing the fint occurrence of "Orangutan•.
"IOJlOC1aphy".
7. Click Replace All, click OK, then click Close
The dialog box doses. Excel made ten replacements. The Coral Reef projects remain unchanged because the
"or" in "Cora]• is lowercase.
8. Save the workbook
fin-;.tNext Oost
.
FiGURE 7-11: The Replace t.lb in the Find and Replace dialog box
..
·-
. I ,.,...
'J .....
..........
•
1 o.-t
o.t. •
Step5 . 1017
'"''
(
........,
0..,.
IJ
u
•
- - -- -
•
10
-....,.
I
.. ·............
•
s .....
5 ,_
-
-• · ••• ........... "'........ ......
......... ...
G H
._.... ........
"""' .
·-
·-
u Va
.. ...
. ,
.t Alr~W•IIfDDtl
'
0 s 1JOO
.,....,... •
-
Z/>112fn1
t c;..c ....,._ Sha1l
..
10 tO'Il""'
.._
J/UI)OU
l/llll'111 "11 Step 6
ttm/m1
..
11
.. ._
U ~WlldDal t!li/20\J 11
,. (~
IJQr~
_
.... ._..
II C.... ....
"._
"""'"
4/lV2011
-'/U/11111
4fl.ln011
4/1Qn017
.,.,..., "u
.mtl011
.."
11
u
....,....... .........
S Ull
5 · -
• <:liD
!BE]
·-
.'".....
No
----~ll&iliA'111~------------------------------------------------------------------
1. Click the inside left edge of cell A3 to select the table row, dick the Delete list arrow in
the Cells group, then dick Delete Table Rows
The Rhino project is deleted, and the Cheetah project moves up to row 3, as shm'n in FIGURE 7· IZ. You can
also delete a table row or a column using the Resize Table button in the Properties group of the Table Tools
Design tab, or by right-clicking the row or column, pointing to Delete on the shortcut menu, then clicking
Table Columns or Table Rows. You decide to check the table for dupUcate records.
2. Click the Table Tools Design tab, then dick the Remove Duplicates button in the Tools
group
The Remove Duplicates dialog box opens, as shown in FIGURE 7-13. You need to select the columns that will
be used to evaluate dupUcates. Because you don't want to delete projects with the same destination but dif-
ferent departure dates, you will look for duplicate data in those columns.
3. Make sure that the My data has headers check box is checked, remove the selection
from all of the check boxes except th.e Project and Depart Date fields, then dick OK
One duplicate rt'cord is found and removed, leaving 63 records of data and a total of 64 rows in the table,
including the header row. You want to remove the last column, which contains space for visa information.
4. Click OK, scroll down until cell )64 is visible, then drag the sizing handle of the table's
lower-right corner one column to the left to remove column J from the table
The table range is now Al:l64, and the Visa Required field no longer appears in the table.
5. Delete the contents of cell Jl, return to cell A1, then save the workbook
.. -
- -- . - -- -
................,.......
-..-.... --
• • 0 • ~
.. ~
...._
••
l
•• l(Hf1017
11
~
...
... --
-......--
liU/101?
•• •• ,_.,. ....
"'
..... ..............
ll"l.l(lOU 0
>/llll011 14 10 10
•••6
•
7
•• . Z/20fl017
Jill/lOU'
t>
••
. 's s
•.-u
...-
lltfi>G:I~ s 1,110
V>Gf>On • s
......
10 17 U) ln5
•
....-..
l1Uiacl11
4f8/lD17 15 lD '
10
$ :1,450
$ l,US
Ho
.._,U/!011
4/15/lOlJ
.C/11/10:11 ."
u
17
lO
•
10
5
•
'
s
s ·-- .........
s •.us
),100
Ho
,,_
18
4/Wl017
A/ll/l017
Row is deleted and rows '""''
below move up byone
••
u
I
••1 ••s
$
s 2.113
5 •,S8'7 ...
1,6S.l
- No
? X
To d elf'lf- duplrd.ttvalut s..- seltd one 01 mort C'olumns'l hat <ontain dupficate.s.
Columns
0 Plo)tcL
Selected columns 0 D•part Date
will be checked -
for duplicale data
0
0
lfumoerol Doy,
Ftojed C>po<i!y
L
0 Aaces l!enrved
~k•'-----------------------------------------v_,
OK Ganctt
----~11&''4¥'111~--------------------------------------------------------------
1. Click the Depart Date filter li.st arrow, then dick Sort Oldest to Newest
Excel rearranges the records in ascending order by departure date, as shown in FIGURE 7-14. The Depart Date
filter list arrow has an upward pointing arrow indicating the ascending sort in the field. You can also sort
the table on one field using the Sort & Filter button.
2. Click the Home tab, click any cell in the Price column, click the Sort tit Filter button in the
Editing group, then dick Sort Largest to Smallest
Excel sorts the table, placing records with hi&Jler prices at the top. The Price filter list arrow now has a down-
ward pointing arrow next to the filter list arrow, indicating the descending sort order. You can also rearrange
the table data using a multilevel sort. Th.is type of sort rearranges the table data using more than one
QUICKTIP field, where each field is a different level, based on i~ importance in the sort. Uyou usr two sort leveh, the
You can also add a data is sorted by the first field, and the second field is sorted within each grouping of the first field. Since
multilevel sort by you have many groups of projec~ with different departure dates, you want to use a multilevel sort to
d<:king the Data tab arrange the table data first by projects and then by departure dates ~Vithin each project.
and then diding the
Sort button il the 3. Click the Sort & Filter button in the Editing group, then dick Custom Sort
Sort & Filer group.
The Sort dialog box opens, as shown in FIGURE 7-15.
4. Click the Sort by list arrow, dick Project, click the Order li.st arrow, click Ato Z, click Add
Level, click the Then by list arrow, clitk Depart Date, click the second Order list arrow,
dick Oldest to Newest if necessary, then dick OK
FIGURE 7-16 shows the table sorted alphabetically in ascending order (A-Z) by Project and, within each
project grouping. in ascending order by the Depart Date.
5. Save the workbook
- - -, - - -
~ .I -
"'J
_ ..
- -
~
•J ~
• I
' 0 r
,__
.,.
-G
"
- I
~
-·--
1•1,...,.."
~
••
1<4
• C..-c~N
•• Up arrow~indicates
10
-
,_
• ~ •
..... ...
............ .
·~ -
-- ·-· .. ..
Recordsaresuted . , . . , _ li'>JI>ln1
by departure date
inascending crder
:11nnon
J/101>017
''~ ~~
VlVJ017
,,
,.
••
••n
••
••••
tile field
•
••
•,
,_...
••to• ,.
- -·--WltoOot II
010/2017 $ ,J.,lU Yft
\Jf~l 4/U/2017 u > s .....
,.. • •>
.. ......
,_.,....,~
IS. Cot-'"-1
l& C~
~ ,...,.,,
n
to
tO
•
7
••
<
$ _._
...,
S IMl
$. J.UJ
~
Ho
1 ::
I"""""
RGURE 7-15: Sort dialog box
...
Click to add
adlfrtional
sort levels
_.,._
---"'c .-
~oo..
j
-
~ ,_ _
_.,.._~.....~~=---=-....,..--;__......:__,I
)(
"' .....
FIGURE 7-16: Table sorted USifi2!ii'O levels
•
.)
~w.wooc
-
Mr.t.n~ Oat
• JNY...... w.. Dot
• lllricM w-..
• ~!"'IWold~
A
-
·- .. --
..
- -
.
Doc
...... ...- -... -
......
... .
•
..
..... ..
.._._
u
c
,.
••
0
7
•
1
••
''
••
1
rtr-:, ...
...... ......
S J.,IJO
G
...........
No No
..
~-~ ·
.........
•
......... ......
~--WNDoiJ 10
•' .. wacrOot.
-
..,, .-.._..,.....
Mttc...-........ Doe 7 s ·-
--
~
.... .._...
.,..,...
~18/Z011
)ont(.)O~J
'"'"''''"
12/2.1/l011
tl
11
u Second-level sort arranges
recuds by departure date
: within each project grouping ... ·- -
..... ... ......
No
No
••
-....
ll11/:ZOS7 10 s .__ No Yn
"
..
''"-""
.,.,..,...
IS o-.rt...
First-lewl sort on project
arranges records by project name
l7 u •
•
l
l
$
$
s uao
s
._
.... No
Yfl
I Alobft ~Dol
..
- - ......... --
•
- -- -.......-·--
•
t.nJnOJ1
(
...... -... -
D
7
l
J S U»
,_
0
...
...
"
...
J Af...,WIIIDI:r!t
""""'' 11
,• l
"'
--... -· ......,.
• ..,..,.,
. • ...
Iii~.,...- S/>AI»lJ
' Attic"..,WIIIIDOI
"'~"""'Ooc '(1Ulfltl
11 10
10 ' s :u...
s 1.t&4
,_ ......"" ...""
......
6
•'
I
.tl!lnon~Dot
.lof"Cat~WWOOI
10 MricM\ltltll aoe
..,.,...,
"'tflJntn?
lllanolJ
11
,.,
10
to
•
,•' .
s ..,,
....... .
s "*' ...
._ ...
.. ...""
1 1 ~ .... Dol
ll Ml'iCMI 'lAid Oct
··-
,, ct..u'-
"''""""
U/ll./lOll
l/ltl2o1J
11
u
t
t
10
•
•• ......
.$uos.
......No
...... ..."'
......."'..
...... ... ...
St,<u
•'
•IJO(>t>ll IS
olll/lOlJ u
tS Ofwl:l"
.,._.... .........,, "u
1(1)/lln.) "'• s$ ·
,.,.
160.~
' -
tl lS
•• s' $ Ul->
'
..
s,.,n.~.., (lit-.~
. ......"
1/ll/m17
l/M/>1>1?
"115/Ht7 •
17
17
l7
•
•
•
s
•
10
s ..__
s ,__ ... ·-
-
....
1,000 No '
1
~"~o.
... ....
S{J?/1R17 1? 10 NO t
..,·~ ~·"'On••·"
.1
....
~ ......,o.....,lM\
"'.,.,,
?l'tnOJ'J
• l1
17
• s I
....
6
·-- ...
v..
'
I
'·"" ....
- -
~.,..,Of~ $ y" 7
.......
...12/2017 17 10 J
6l Sui~Mnon ~ 9/11/2017
Sumatr*" Ote.,cart 10/ll/2011
•• 17
11
s
•
s 1,.912
No No
)
•7
....s............-.... Or-e~l .... U/1112011
T....
--- I
17
L'
I 1 s uoc No
.
..,
07
--
<-
-
f4- Functions available
in the Tota I row
70
n
,.
JJ --
I Alobft ~Dol
..
- - ......... --
•
- -- -.......-·--
•
t.nJnOJ1
(
...... -... -
D
7
l
J S U»
,_
0
...
...
"
...
J Af...,WIIIDI:r!t
""""'' 11
,• l
"'
--... -· ......,.
• ..,..,.,
. • ...
Iii~.,...- S/>AI»lJ
' Attic"..,WIIIIDOI
"'~"""'Ooc '(1Ulfltl
11 10
10 ' s :u...
s 1.t&4
,_ ......"" ...""
......
6
•'
I
.tl!lnon~Dot
.lof"Cat~WWOOI
10 MricM\ltltll aoe
..,.,...,
"'tflJntn?
lllanolJ
11
,.,
10
to
•
,•' .
s ..,,
....... .
s "*' ...
._ ...
.. ...""
1 1 ~ .... Dol
ll Ml'iCMI 'lAid Oct
··-
,, ct..u'-
"''""""
U/ll./lOll
l/ltl2o1J
11
u
t
t
10
•
•• ......
.$uos.
......No
...... ..."'
......."'..
...... ... ...
St,<u
•'
•IJO(>t>ll IS
olll/lOlJ u
tS Ofwl:l"
.,._.... .........,, "u
1(1)/lln.) "'• s$ ·
,.,.
160.~
' -
tl lS
•• s' $ Ul->
'
..
s,.,n.~.., (lit-.~
. ......"
1/ll/m17
l/M/>1>1?
"115/Ht7 •
17
17
l7
•
•
•
s
•
10
s ..__
s ,__ ... ·-
-
....
1,000 No '
1
~"~o.
... ....
S{J?/1R17 1? 10 NO t
..,·~ ~·"'On••·"
.1
....
~ ......,o.....,lM\
"'.,.,,
?l'tnOJ'J
• l1
17
• s I
....
6
·-- ...
v..
'
I
'·"" ....
- -
~.,..,Of~ $ y" 7
.......
...12/2017 17 10 J
6l Sui~Mnon ~ 9/11/2017
Sumatr*" Ote.,cart 10/ll/2011
•• 17
11
s
•
s 1,.912
No No
)
•7
....s............-.... Or-e~l .... U/1112011
T....
--- I
17
L'
I 1 s uoc No
.
..,
07
--
<-
-
f4- Functions available
in the Tota I row
70
n
,.
JJ --
•
- --
Print title is
sa torow I ...o- __
c..--
c... _
o...............
.,._
,.. "):1
.1:1
fOJ-\••g
o.--
~~J·-
[IJ .....
AGURE 7-20: Printed !able
--·
l0l7Cons.etv.lflon Pr ec:u
I'IO!ol(l
....,.,.,.. .. DI:t ~"ow
JnJROlJ
.v'JJ,Ill'li1
..,
""""'"'
u
u -·....
c~·j~.xfty
•'
.........
""" ""
$ "'"'
'""
....d J<Itlf
Yo
·-0"(<! •••
h d.o<*l
""'"
•·Oihlll,\
$ ..
1,&-.J
'...,. ....••'" "'
~ ' ~
·~
1,41» ~
i:iiU/lO)l
"'" '•
_f/U/tol~ u $ 1100
'...,, :r. t.r.o
.. '" ""
_, .. ..
"
..... ·-""
""~">"
..."'
$ 4,101)
'" "'
.., ' .... .. "'"
ll/lO(UQ1 u $ ~Wl
',... ,.•• ..
$ 1,11»
ll11ml'
"'ll/l01J
" .... ••' ''·-
""
...,.. " ..• $ );f(;J ·~ ~
.... ......•
l, _WI
,," ' .... $ l,tl»
"'"'"
1/lj/tiJlt
9/J-.r<O)J
Y•
~ "
""
••
•
$
•
' ~ l.llf
's- ""
J.V'O
S ~IM
••••
....
~
"'"
"'"
$$ " "'
4)"SS
$ .....,,
....•• ' '"' '"
..."''"
" "" •'
...... '".."
Yo } },IOC
u
" ' ""' '-"" " 's '-""
S £.iiU
~
••
...••.. """
1.1">~
s
', ...
l,tl»
' ....
...... -"'"
~
.
•
.J'""
s
I 0'10
~.m
•• ' ·,,..-
>
"'
FIGURE 7-21
•--- __ ,.,.,
' --.. ' -
·-
l
~ ~
_..,...
,..,"UU\ WIW
•
On• .;
111lJl<117
c
..•• •
0
1
. --
..·-,..... .........
, ',.. .......•e"""
' ,.,. ..
.....
.....
.
•
._,...
--~
"'
"-eM
.
M
...
.
stta.nou 7 v. ~
• ......
J A#tUIIW'iWOQI
• N'r'~C~NtWIIIIOcs
7 Alnc..WIWOOtt
t .-,f<c.fofiWIIIIO!ot
,,..,..,1
&127/'lrU7
1m~1
lniJJf»7
....
..,,.. "' •• ......
!0
1
'
• »m
..
...
...'"
'-"" .....
...
.. '
'
d
I
I
t ..Nrot-"'W... ~
10 Afl'ulto WIW Dot
t(UI,?OJ)
"',.,..,
.... •••• ••• .......
!0
' '-"'
Tfl
....
·~
>a ••
.... ••• •• ...... .........
11 ~Wa6001 lorn/>017
u.mncrp s '"
n .....""' VfiW Dot
~o~
..... ).105
... -...
"""""
""""'
1/IMOJ)'
"""""
6/'U/10S7
.... •• ' ....... ...
'l,b$)
s. ·~ ....••
'" ''
.... •• •• '""' '"...
16~... Ul1110V ).1.00
""""""
"<>MOO '""""'"
1)/10/lfm
1 Te
,_
Ya
- - '•
lJ (OfVIHI )(lf/>!17 S l..UO
" • ~
1. Wbicb element do you click to set a range in a table that will print using the Print command?
2. Wbicb element do you click to print field names at the top of every page?
3. Wbicb element do you click to sort field data ou a worksheet?
4. Wbicb element points to a second-level sort field?
5. Wbicb element points to a top-level sort field?
Match each term with the statement that best describes it.
6. Sort a. Organized collection of related information in Excel
7. Field b. Arrange records in a partirular ~uencc
8. Table c. Column in an Excel table
9. Record d. First row of a table rontaining field names
10. Header row e. Row in an Excel table
Skills Review
1. Create and format a table.
a. Start Excel, open EX 7·2.xlsx from the location 1~here you store your Data Files, then save it as
EX 7-F.mployees.
b . Using the Practice sheet, enter the field names in the first row and the first two records in rows two and three, as
shown in the table below, adjusting column widths as necessary to fit the text entries.
lost Name First Name Years Employed Department Full/ Part nme Training Completed
Diamond Irene 4 Support p y
Mendez Darrvl 3 Sales f N
c. Define the data you entered as a table, then add a table style of Medium 9.
d. On the Staff .sheet, define the cells containing data as a table with a header row. Adjust the colwnn \\1dths, if
necessary, to display the field names. Enter your name in the center section of the worksheet footer, return to
Normal view if necessary, then save the workbook.
e. Apply a table style of Ugbt 19 to the table.
f. Enter your name in the center section of the worksheet footer, return to Normal view if necessary, then save the
worldJook.
2. Add table data.
a. Add a new record in row seven for Bolly Walla.ce, a 5-year employee in the Support department. HoUy
works part time and has completed training. Adjust the height of the new row to match the other table rows.
b . Insert a table row above Jutie Kosby's record, and add a new record for Sally Alden. Sally works full time, has
worked at the company for 2 years in Sales, and has not completed training. Adjust the table formatting if
necessary.
c. Insert a new data field in ceU GJ with a label Weeks Vacation. Wrap the label in the cell to display th.e field
name with Weeks above Vacation, and then widen the column as necessary to see botl1 words. (Hint: Use
the Wrap Text button in the Atignment group on the Home tab.)
d. Add a new column to the table by dragging the table's sizing handle, and give tlle new field a label of
Employee # . Widen the column to fit the label.
e. Save the file.
3. Find and replace table data.
a. Retnm to ceU AI.
b. Open the Find and Replace dialog box and, then if necessary uncheck the Matdl case option. find the first
record that contains the te>.i Support.
c. Find the second and third records that contain the te.xt Support
d. Replace aU Support text in the table with Service, then save the file.
~· g ~ Us , ,g Tab es
Skills Review (continued )
4. Delete table data.
a. Go to cell AI.
b . Delete the record for Irene Diamond.
c. Use the Remove Duplicates button to confirm that the table does not have any duplicate records.
d. Delete the Employee # table column, then delete its colUD!ln header, if necessary.
e. Save the file.
5. Sort table data.
a. Sort the table by Years Employed in largest to smallest order.
b. Sort the table by Last Name in A to Z order.
c. Perform a multilevel sort: Sort the table first by Full/Part Time in Ato Z order and then by Last Name in A to Z order.
d. Check the table to make sure the records appear in the correct order.
e. Save the file.
6. Use formulas in a table.
a. In cell G2, enter the formula that calculates an employee's vacation time; base the formula on the company policy
that employees working at the company less than 4 years have 2 weeks of vacation. At 4 years of employment and
longer, an employee has 3 weeks of vacation time. Use the table's field names where appropriate. (Hint: The formula
is: =lF([Ycars Empl oyed]<4, 2,3 ). )
b. Check the table to make sure the formula fiUed into the cells in column G and that the correct vacation time is
calculated for all cells in the column.
c. Add a Total Row to display the total number of vacation weeks.
d. Change the function in the Total Row to display the maximum number of vacation weeks. Change the entry in cell
AS from Total to Maximum.
e. Compare yow table to FIGURE 7-22, then save the workbook.
FIGURE 7-22
7. Print a table.
a. Add a header that reads Employees in the left section, then format the header in bold with a font size of 16.
b. Add column Aas a print tiUe that repeats at the left of each printed page.
c. Preview yow table to check that the last names appear on both pages.
d. Change the page orientation to landscape, preview the worksheet, then save the workbook.
e. Submit yow workbook to your instructor. Close the workbook, then exit Excel.
Independent Challenge 1
You are the clinical coordinator for an acupuncture clinic. Yow administrative assistant created an Excel worksheet with
client data including the results of a survey. You will create a table using the client data, and analyze the swvey results to
help focus the clinic's expenses in the most successful areas.
a. Statt Excel, Op<'n EX 7-3.xlsx from the location where you store yow Data Files, then save it as EX 7-Client s.
b. Create a table from the worksheet data, and apply Table Style lightlO.
Independent Challenge 1 (continued)
c. Add the two records shown in the table below:
Last Name First Name Street Address City State Zip Area Code Ad Soun:e
Ross Kim 4 Ridge Rd. San Francisco CA 94177 415 Health Center
Jones Kathy 51217thSL Seattle WA 98001 206 Radio
FIGURE 7-23
Independent Challenge 2
You manage Dluminate, a store that sells LED bulbs in bulk online. Your customers purchase items in quantities of
10 or more. You decide to plan and build a table that tracks recent sales, and includes customer infonnation and
transaetion details.
a. Prepare a plan for a table that includes details about sales transaetions, including the customer's name and what
they purchased.
b. Sketch a sample table on a piece of paper, indicating how the table should be built. Create a table documenting
the table design including the field names, type of data, and description of the data. Some examples of items are
60W Soft White, 65W Soft White, 60W Daylight, 65W Daylight, and JOOW Daylight.
Data U , ,g Tab s
Independent Challenge 2 (continued)
c. Start Exccl, create a new workbook, then save it as EX 7-LED in the location where you store yow Data Files.
Enter the field names shown in the table below in the designated cells:
Independent Challenge 3
You are a sales manager at a consulting firm. You are managing your accounts using an Excel worksheet and have dedded
that a table will provide additional features to help you keep track of the accounts. You will use the table sorting features
and table formulas to analyze yow account data.
a. Start Excel, open EX 7·4.xlsx from the location where you store your Data Files, then save it as
EX 7-Accounts.
b. Create a table \\1th the worksheet data, and apply a table style of your choice. Adjust the colwnn widths as
neceswy.
c. Sort the table on the Budget field using the Smallest to largest order.
d. Sort the table using two fields, first by Contact in A to Z order, then by Budget in Smallest to largest order.
e. Add the new field label Balance in ceU Gl, and adjust the column width as necessary.
f. Enter a formula in cell G2 that uses structured references to table fields to calculate the balance on an account as the
Budget minus the Expenses.
g. Add a new record with an account number of 4113 with a type of Inside, a code of IS, a budget of SSSO, OOO,
expenses of $400,000, and a contact of Maureen Smith.
b. Verily that the formula accwately calculated the balance for the new record.
i. Replace aU of the Maureen Smith data with Maureen Lang.
j. Find the record for the 2188 account number and delete it.
k. Delete the Type and code fields from the table.
m. Entei your name in the center section of the worksheet footer, add a center section header of Accounts using
formatting of your choice, change the page orientation to landscape, then save the workbook.
n. Preview your workbook, submit the workbook to your instructor, close the workbook, then exit Excel.
a. Start Excel, open EX 7-S.xlsx from the location where you store your Data Files, then save it as EX 7-Sales.
b. Create a table that indudes all the worksheet data, and apply the table style of your choice. Adjust the column
widths as necessary.
c. Sort the table on the Balance field using the l.argest to Smallest order.
d. Use conditional formatting to format the cells of the table containing positive balances with a light red fill.
e. Sort the table using the Balance field using the order of No Fill on top.
f. Format the table to emphasize the Balance column, and turn off the banded rows. (Hint Use the Table Style
Options on the Table Tools Design tab.)
g. Research how to print nonadjacent areas on a single page. (l':xcel prints nonadjacent areas of a worksheet on
separate pages by default.) Add a new sheet to the workbook, then enter the result of your research on Sbeet2 of
the workbook.
h. Return to Sbeetl and create a print area that prints only FIGUREH5
the Employee Number, Associate, and Balance columns
.... . . . ., _• E
,._,
-.....
,..,......_ ·I A...ct.te •
..,.
of the table on one page. R.tnpl I l.lance .,
i. Compare your table with AGURE 7-25. Save the workbook.
l s
! -.,wei $ (~0.000)
j. Preview your print area to make sure it 1\111 print on a • .....
Cieor81fWtl (7UH J
single page. • 0607 ...._ s' ,.,....,
(as,OGOJ
--
,u H """' s
' ..... n.-
__
Ald.o>
k. Entei your name in the worksheet footer, then save the ; ~ s
•
·-·-
4257 s 00,000
workbook. II .., 45,000
•'
ll82.1 - Wood
I. Submit the workbook to your instructor, dose the 10 u .ooo
workbook, then exit Excel. 11 l.tftet C.te't'
• 11. 190..-
FIGURE 7-26
,
2
3~ 65418 158.32
4 10057 986.34 Main
5 1533 66997 112.98 Satellite Jerry Thomas
6
1 2187 58814 521-]7 Satellite Jerry ThortJas
2588 69784 630.55 Main Joan Rand
8 2001 48779 5 478.24 Sstelli~e Joan Rand
9
l 1251 69847 $
$
Main
Mai n
Kathy Green
Kath'i._Green
11 1
~J
l l i3 366lF
2357 10087 $ 268.24 Majn Mark Eaton
. . The vice president of sales and marketing, Mary Watson, asks you to display
information from a table of scheduled projects to help the sales representatives
with customer inquiries. She also asks you to summarize the project sales for a presentation at
the international sales meeting. You will prepare these using various filters, subtotals, and Excel
functions.
Module Objectives
After completing this module, you will be able to:
• Filter a table • look up values in a table
• Create a custom filter • Summarize table data
• Filter a table with the Advanced Filter • Validate table data
• Extract table data • Create subtotals
----~ll&iiJA'ill~------------------------------------------------------------------
1. Start Excel, open EX 8-1.xlsx from where you store your Data Files, then save it as
EX 8-Projects
2. Click the Project list arrow
Sort options appear at the top of the menu, advanced filtering options appear in the middle, and at the
bottom is a list of the project data from column A, as shown in FIGURE8-1. Because you want to display data
for only the Cheetah projects, your search criterion (the text you are searching for) is Cheetah. You can
select one of the Project data options in the menu, which acts as your search criterion.
3. In the list of projects for the Project field, click Select All to clear the check marks from
the projects, scroll down the list of projects, click Cheetah, then click OK
Only those records containing "Cheetah" in tlhe Project field appear, as shown in FIGURE li-Z. The row number.;
for the matching records change to blue, and the list arrow for the filtered field has a filter icon G!J.
Both
indicate that there is a filter in effect and that some of the records are temporarily hidden.
4. Move the pointer over the Project list arrow
The Screenlip Project: Equals "Cheetah" describes the filter for the field, meaning that only the Cheetah
records appear. You decide to remove the filt6 to redisplay all of the table data.
5. Click the Project list arrow, then click Clear Filter From "Project"
You have cleared the Cheetah filter, and all the records reappear. You want to display the most popular
projects, those that are in the top five percent of seats reserved.
6. Click the Places Reserved list arrow, JliOint to Number Filters, click Top 10, select 10 in
the middle box, type S, click the Items list arrow, click Percent, then click OK
Excel displays the records for the top five percent in the number of Places Reserved field. as shown in FIGURE 8-3.
You dedde to clear the filter to redisplay all the records.
7. On the Home tab, dick the Sort & Filter button in the Editing group, then click Clear
You have cleared the filter and all the records reappear. You can clear a filter using either the AutoPilte.r
menu command or the Sort & Filter button on the Home tab. The Sort & Filter button is convenient for
clearing multiple filters at once. You want to find all of the projects that depart in March.
8. Click the Depart Date list arrow, point to Date Filters, point to All Dates in the Period,
then dick March
Excel displays the records for only the projec<t.s that leave in March. You decide to clear the filter and display
UUICKTIP
You can also dear a
all of the records.
filte< by eliding the 9. Click the Sort & Filter button in the Editing group, dick Clear, then save the workbook
Clear button in the
Sort & filter group
on the Data tab.
"'
I
...... . . ..
'
I
•
$ ~,
s .....
s
f
..
10
"u 1.t60
- ••
1 1
•••
SJ..I5CI
$ l.ll'
s uu
c ...
• 11 11 I
it----. ~, 14 10 ~ $ 4.l10
s l.liU
-----...
'
·-
~-
11 1ll
•
•' s ,,...
s 1.'0>0
·-
11 I
----
!0 •• s,o,m
{, "' u s ..,.,
. •' s._
i ! ' -....... 10
l1
II
•
ID
s 1.000
'
•
•••
11 l\ s I,W
Ui:J 14 suu
.
10
u
' , $ ··"'
_
FIGURE 1-2: Table filtered to show Cheetah projetts
-- ·
..
-.. . . .. .. .. .
• . .........
..,...
0 H
o... . ....
t/19/11117
<I>Oil011
u
u
n
•
.........
•
• s
• .
...
..
...
,..
,..
$ ~,...
......,
St.OO>
4JOO
tn4.tdl4 .
~
-·
...
ll/11/ltll
7/U/1017 lS
• ' S l,tCIO
....
1!ll.(lf"'l1
~0\
•• I ...
""l ,.,s
...
s .uoo
... •
S UOI
ho
·- -
I - -
>: .....
· - ·--
.
.....
,.o~o.n .I ..... ........
Jnl .· .:
0/&n<i\1
1
-
I>
of
C"*'lt'r
10
10
10
*
...... ......
lO
10
s
......
1114
Sl.u>
~~~--~----~~~.
..
6
-.....
H
•
Custom AutoFllter ? X
_IV 12/1/2017
OK I[ C3ncol 1
........ "'
.'("• ....._,
"'~
..•• ..•••• ••,
\0 $ , ....
S c,Ul
'"
...... ...
..•
I ~tWtwil'~...,
....
10
"••
" .... ..
I
7
$J U-1()
S
$
'""'
son>
)JI'A
uu.
..- ,_
...
• u > $ <.6>
----~llfii§R'ill~-----------------------------------------------------------------
1. Select table rows 1 through 6, then click the Insert list arrow in the Cells group
Six blank rows are added above the table.
2. Click Insert Sheet Rows; click cell A1, type Criteria Range, then click the Enter button ~
on the formula bar
Excel does not require the labei"Criteria Ran.ge• ,hut it is useful to see the column labels as you organize the
worksheet and use filters.
QUICK TIP 3. Select the range A7:H7, click the Copy button in the Clipboard group, click cell A2, dick
You can apply multi· the Paste button in the Clipboard group, then press [Esc]
pie criteria by using Next, you want to insert criteria that will display records for only those projects that depart after june I,
Autofilter a second
time on the results of 2017 and that cost under S2,000.
the previoosly fil.
tered data. Each 4. Click cell 83, type >6/1 /2017, click cell F3, type <2000, then dick ~
additional filter You have entered the criteria in the cells directly beneath the Criteria Range labels, as shown in FIGURE H .
buids on the results
of the fitered data 5. Click any cell in the table, dick the Data tab, then click the Advanced button in the
and filters the data Sort & Filter group
tt.the<.
The Advanced Filter dialog box opens, with the table Qist) range already entered. The default setting under
Action is to filter the table in its current location ("in-place") rather than copy it to another location.
6. Click the Criteria range text box, select the range A2:H3 in the worksheet, then click OK
You have specified the criteria range and used the filter. The filtered table contains seven records that match
I re<ords.dort't match
figure, make sure: both criteria-the departure date is after 6/]fW17 and the price is less than $2,000, as shown in FIGURE 8-7.
are no spaces You'll filter this table even further in the next lesson.
Ibeb....,
. the> sym.
and the 6 il cell
and the <symbol
the 2 in cell fl.
... -_.. -
·- - .............• ·--
•
-
< 0
"
...... ... ~ @ .........
io4Vll:l!Oi7
.._
- -. .. - -- . ..
• Finered records will
......
• OolflllhUII
match these criteria '"",.
tJ1"h?OI7
IJU/2011 "
,.
.. ID
__, _
•'
...., ·-
...... ...........
..... ...·~
..........
""
...
-.. - ....... -
AGURE 8-7: Filtered table
... .....
.... C• f•
~·""
....... ... ,.......,
,..., ........... ·-"""
~l/1.0!7
- -·
.... _,.
..,. """"' .........
........, -~ .... ,.......,....... ..... -
·-'""
"
• •
10
Ill
10
ID
I
I
J
•
··-
s
s
"""'
l;910
...
2,11!10
,., .."'
, 1,&44
" • • •
----~llfiiJA'ill~------------------------------------------------------------------
1. In cell A3 enter African Wild Dog, then in cell A4 enter Great White Shark
The new sets of criteria need to appear in two separate rows, so you need to copy the previous filter criteria
to the second row.
2. Copy the criteria in cells B3:F3 to B4:F4
The criteria are shown in FIGURE 8-8. When you use the Advanced Filter this time, you indicate that you
want to copy the filtered table to a range ~ginning in cell A75, so that Mary can easily refer to the data,
even if you use more filters later.
3. If necessary, dick the Data tab, then click Advanced in the Sort & Filter group
4. Under Action, dick the Copy to another location option button to select it, dick the
Copy to text box, then type A75
The last time you filtered the table, the criteria range included only rows 2 and 3. Now you have criteria in
row 4, so you need to adjust the criteria range.
5. Edit the contents of the Criteria range text box to show the range SAS2:SHS4, dick OK,
then if necessary scroll down until row 75 is visible
The matching records appear in the range beginning in cell A75, as shown in FIGURE 8-9. The original table,
starting in cell A7, contains the records filtered in the previous Jesson.
6. Press [Ctri][Home], then dick the Cle.ar button in the Sort & Filter group
The original table is displayed starting in cell A7, and the extracted table remains in A75:H79.
7. Save the workbook
• D ( ,
DIJt.M """""'of Criteria on two
~-...,.->6/J./11111
o...=~-= """ lines indicates
] - an OR co nd ~ion
>6/lll!n1
n
- -.
-
_
..
~· Allk.- Willi oot
-
c..- - -,._
FIGURE 8-9: Extracted data records
-· ..
6(t11>1ru
-- ""-
1 $ .... ...... ........
...
...
...... ......
t1 ~WIIIOoc lA) s l,IJO
•'
1fl'111110
• O..~··rt
"''''"" ••lC •• $, l,toM
19 ~WIIb.,. IA'JIA!nl • • s .....
1. Click the lookup sheet tab, dick the Formulas tab in the Ribbon, then click the Name
Manager button in the Defined Names group
The named ranges for the workbook appear in the Name Manager dialog box, as shown in FIGURE 8-10. The
Criteria and Extract ranges appear at the top of the range name list. At the bottom of the Jist is infonnation
about the three tables in the workbook. Tablet refers to the table on the 2017 Projects sheet, Table2 refers to
the table on the Lookup sheet, and Table3 refers to the table on the Subtotals worksheet. The Excel structured
reference feature automatically created these table names when the tables were created.
2. Click Close
You want to find the project represented by the code 754Q. The VLOOKUP function lets you find the
project name for any project code. You will enter a project code in cell Ml and a VLOOKUP function in
cell M2.
3. Click cell Ml, enter 754Q, click cell M2, click the lookup & Reference button in the
Function library group, then dick VLOOKUP
The Function Arguments dialog box opens, with boxes for each of the VLOOKUP arguments. Because the
value you want to find is in cell Ml, Ml is the Look-up_value. The table you want to search is the table on
the Lookup sheet, so its assigned name, Table2, is the Table_array.
4. With the insertion point in the lookup_value text box, click cell Ml, dick the Table_array
text box, then type Table2
The column containing the infonnation that you want to fmd and display in cell M2 is the second column
from the left in the table range, so the Col_index_num is 2. Because you want to find an exact match for the
value in cell Ml, the Range_look-up argument is FALSE.
5. Click the Col_index_num text box, type 2, dick the Range_lookup text box, then enter FALSE
Your completed Function Arguments dialog box should match FIGURE 8-11.
6. Click OK
Excel searches down the far-left column of the table until it finds a project code that matches the one in
cell MI. It then looks in column 2 of the table range and finds the project for that record, Dolphin, and
displays it in cell M2. You use this function to determine the project for one other project code.
7. Click cell Ml, type 33SP, then dick the Enter button ~ on the formula bar
The VLOOKUP function returns the value of Elephant in cell M2..
8. Press [Ctri][Home], then save the workbook
... -
- - -- --... - -·
,
..._
' ----x
-
,.....,.,..... 0- . . . ,~
"*· ---
~. - ~
•'1tfl,........
•t. MIDI!
worldlook ':::1- tiQfl..
,~ ... ...
- •
,........,..~
1'-·
Search the
second column
.. .,1..................... _. ~-
~
- •··••v
"*"" .....
.....
~ --
..........................................-.............
................ ........._....,.,... . ......... -. ............. ,..
~-----------·PMIL
Finds exact
match
----~ll&ii#Q'iiiL__________________________________________________________________
1. Review the criteria range for the Rhino project in the range l5:L6
The criteria range in L5:L6 tells Excel to summarize records "~th the entry "Rhino" in the Project column.
The functions will be in cells MS and M9. You use this criteria range in a DSUM function to sum the places
available for only the Rhino projects.
2. Click cell M8, dick the Insert Function button in the Function Ubrary group, in the
Search for a function text box type database, dick Go, scroll to and dick DSUM under
Select a function, then click OK
The first argument of the DSUM function is the table, or database.
QUICK TIP
Because the DSUM 3. In the Function Arguments dialog box, with the insertion point in the Database text
formula uses the
column headings to
box, move the pointer over the upper-left corner of cell A1 until the pointer changes to
locate and sum the " • click once, then click again
table data, you need The first click selects the table's data range, and the second click selects the entire table, including the
to include the header
header row. The second argument of the DSUM function is the label for the column that you want to sum.
row in the database
range. You want to total the number of available places. The last argument for the DSUM function is the criteria
that will be used to detennine which values to total.
4. Click the Field text box, then dick cell G1, Places Available; click the Criteria text box
and select the range l5:L6
Your completed Function Arguments dialog box should match FIGURE 8-12.
5. Click OK
The result in cell MS is 25. Excel totaled the information in the Places Available column for those records
that meet the criterion of Project equals Rhi:no. The DCOUNT and the DCOUNTA functions can help you
determine the number of records meeting specified criteria in a database field. DCOUNTA counts the
number of nonblank cells. You will use DCOUNTA to determine the number of projects scheduled.
6. Click cell M9, dick the Insert Function button ~ on the formula bar, in the Search for a
function text box type database, dick Go, then double-dick DCOUNTA in the Select a
function li.st
7. With the insertion point in the Database text box, move the pointer over the upper-left
corner of cell A1 until the pointer changes to "lo, click once, click again to include the
header row, dick the Field text box, click cell B1, dick the Criteria text box and select
the range LS:L6, then click OK
The result in cell M9 is 8, and it indicates that there are eight Rhino projects scheduled for the year. You also
want to display the number of places available for the Dolphin projects.
8. Click cell L6, type Dolphin, then click the Enter button ~ on the formula bar
The formulas in cells MS and M9 are updated to rcllect the new criteria. AGURE 8-ll shows that 33 places are
available in the sex scheduled Dolphin projects.
Crlttm IS tht qnoe 111 s tNl (Ofttalns tht co('ldltlons rou s.or.att. lhoe {IJ'IOt
l nd4des • c(l)umn l!t <'lr'ld ope c.ell b~low Ut.t !.!btl for • tcncbt.ion,
......
.........
• s
H
..
-- ..
4.2~ ,
I
• • I
...l«o . . . ....
-
I
10
I
>
I 0 s ....
,""'
...
Ha ........
...., --.-!!!',... ~- - -
... ..
Ito
_..- -
•I 10 I l $ \,Wl
s usa ~·
,.....
J J 0 ~ '"'J...
•• 10 10 0 S U.N ••
....
I
•
I
10
~
•
•'
•
•I
s •.au
s ·~'!Ill
$ lllO
...... ....
fM
Jlllac;M~
"•
t-
s an'
... ...,.,,..,
...
10 10 I ~ Hu
"
"
•
10
1
10
I
••
$ ) ..)0
s ....,. '" 1
lnfOfmation for
IJ 10 > s ..... Ha
• Dolphin projects ~
function result
DGET Extracts a single record from a table that matches criteria you specify
DSUM Totals numbers in a given table column that match criteria you specify
DAVERAGE Averages numbers in a given table column that match criteria you specify
DCOUNT Counts the celh that contain numbers in a given table column that match criteria you specify
DCOUNTA Counts the celh that contain nonblank data in a given table column that match criteria you specify
----~ll&ii§A'ill~-------------------------------------------------------------
1. Click the top edge of the Air Included column header
The column data is selected.
2. Click the Data tab, dick the Data Validation button in the Data Tools group, in the Data
Validation dialog box click the Settings tab if necessary, dick the Allow list arrow, then
click Ust
QUICKTIP Selecting the Ust option lets you type a list of specific options.
To specify a long list
of valid entrie~ type
3. Click the Source text box, then type Yes, No
the Jist in a column You have entered the list of acceptable entries, separated by commas, as shown in FIGURE 8·14. You want the
or raw elsewhere in data entry person to be able to select a valid ·entry from a drop-down list.
the worl<slleet, then
type the list range in 4. Verify that the ln<ell dropdown check box contains a check mark, then click OK
the Source text box. The dialog box closes, and you return to the worksheet.
S. Click the Home tab, dick any cell in the last table row, dick the Insert list arrow in the
Cells group, click Insert Table Row Below, dick the Air Included cell in this row, then dick
is not its list arrow
Iinduded in the selec• A list of valid list entries opens, as shown in FIGURE 8-15. You could click an item in the list to enter in the
Wll is included,
cell, but you want to test the data restriction by entering an invalid entry.
the Data
I Validlation dialog 6. Click the list arrow to dose the list, type Maybe, then press [Enter]
1oo:~ <II« Clear All,
A warning dialog box appears and prevents you from entering the invalid data, as shown in FIGURE 8·16.
1" "' ' ""' then begin
Step 1 again. 7. Click Cancel, dick the list arrow, then dick Yes
The cell accepts the valid entry. The data restriction ensures that records contain only one of the two correct
entries in the Air Included column. The table is ready for future data entry.
8. Delete the last table row, add your name to the center section of the footer, then save
the workbook
valtc:Jitton cnWla
Restricts entries to a
list of valid options
r~0:::"'
=.':..:"':_-----------.,,.,.._ Displays a list of valid
____1vu, No options during data entry
Ust of valid ~
options
l')k <ancel
...
0)
"l07R
n7r
U8G
AltiiC- Wlii!Mr
OW<'IM
11/)1/2017
Ul10/lfJI7
U/ll!lCII
••
I>
•
•
IC
8
5
I
•
•
s
s
J•Q\
).'Jll y ..
....
...,..""
·~
11 l > '-""
I
1~. Oropdown list
0
[::
I·
I
•
67
t- t- t-
----~ll&ii§A'ill~-------------------------------------------------------------
1. Click the Subtotals sheet tab, dick the Data tab, d ick the Sort button in the Sort & Filter
group, in the Sort dialog box dick the Sort by list arrow, dick Project, click the Add Level
button, click the Then by list arrow, click Depart Date, verify that the order is Oldest to
Newest, then click OK
You have sorted the table in ascending order, first by project, then by departure date within each project
grouping.
2. Click any cell in the table, dick the Table Tools Design tab, d ick the Convert to Range
button in the Tools group, then click Yes
The filter list arrows and the Table Tools Design tab no longer appear.
3. Click the Data tab if necessary, click any cell in the data range if necessary, then dick the
Subtotal button in the Outline group
The Subtotal dialog box opens. Here you specify the items you want subtotaled, the function you want to
apply to the values, and the fields you want to summarize.
4. Click the At each change in list arrow, click Project if necessary, click the Use function list
arrow, dick Sum; in the "Add subtotal to" list click the Places Reserved and Places
Available check boxes to select them if ne<essary, then click the lmurance Included check
box to deselect it
5. If necessary, click the Replace current subtotals and Summary below data check boxes to
select them
Your completed Subtotal dialog box should match FIGURE 8-11.
QUICK TIP
6. Click OK, then scroll down so you can see row 73
You can dlck the The subtotaled data appears after each project grouping, showing the calculated subtotals and grand total in
1 -l~tohide columns Eand F. Exccl displays an outline to the left of the worksheet, with outline buttons to control t11e
~ l..:!:J button to level of detail that appears. The button number corresponds 10 the detail level that is displayed. You want to
show a gr"'4' of
records in the show the second level of detail, the subtotals and the grand totaL
subtotale<t structure. 7. Click the outline symbol []
QUICK TIP Only the subtotals and the grand total appear. Your subtotals and grand total should match AGURE8-18.
You can remove sub-
totals in a worksheet 8. Add your name to the center section of the footer, preview the worksheet, then save
by clicking the the workbook
Subtotal button and
did<ilg l!fmoye All. 9. Close the workbook, exit Excel, then submit the workbook to your instructor
The subtota~ no
longer appear, and
the Outiine feature
is turned off
automatically.
? (
Functioo to
apply to groups
Subtotal
these fields
Benu>V.AII OK can<eJ
Outline -I
-- - - - -· - -
• • <
N...... ol
'
lito<..
••
Jl
........
ii
0 • •
.
symbols
•
.
, o.tp.lllh t-.1
~,...,
~ Gr... w...~·-
.. ..
10
"
••
~!- 1
if - + - - - - - - - Subtotals
,,,..,,
.,••
,.
i1J ~WI~10bf
11 .,....,..,.
II\ ,.,..
~ .....,T-' ----....,.------12~~=~}.--- Grand totals
,.. t
,.
n
....••••
....
7•
- " -
FIGURE 8-U
a • . -
~ --~ I t">M ~·~~
-
,_,
<
''"''""
•
Mil....,..
0.,. •
r''---"''--~--........ S, ~I
a_
•
tlitcft
.-..1111! •
" ..
,._ •. A.otio,.~.cl •
~~
~---==...
.,..:J-:'1....,_- - c
• ow
....,l .,~,..,
lllA .,.~\WidOut 1(20(K>U
•, .l/llh\1f
·~
- - - - · ·"
.. m.. ....
l.850
$ 1.t~
s
tJoO ""
~
No
• '""
"'-"
'"'
mo .........
• '"'
.. ...
'll/l.Jilln ~ ,. c..l50 ,.. ..•
...
~
,_
.7 ..
S I..UO •e
"""""'
10
,,
<)t,6W
1101
~"'·
-"'~~Cic>tl """"'"
Vlllllrt1 ""'... ..."" <rt
""
IJ lf,W
naa
IIIIW
.... """'"
"""""' -----·------.. .. ·-...
""" ·-...
$ l.US
·~ ·~
!!!Ll!.
Match each term with the statement that best describes it.
6. Extracted table a. Cell range when Advanced Filter results are copied to another location
1. Table_array b. Range in which search conditions are set
8. Criteria range c. Restricts table entries to specified entries or types of entries
9. Data validation d. Name of the table searched in a VLOOKUP function
10. DSUM e. Function used to total table values that meet specified criteria
Skills Review
1. Filter a table.
a. Start Excel, open EX 8·2.xlsx from where you store your Data Files, then save it as EX 8-BR.
b. With the Compensation sheet active, filter the table to list only records for employees in the Dallas branch.
c. Clear the filter, then add a filter that display-s the records for employees in the Dallas and L<\ branches.
d. Redisplay all employees, then use a filter to show the three employees with the highest annual salary.
e. Redisplay all the records.
2. Create a custom filter.
a. Create a custom filter showing employees hired before 1/1/2015 or after 12/31/2016.
b. Create a custom filter showing employees hired between 1/1/2014 and 12/31/2015.
c. Enter your name in the worksheet footer, then preview the 6ltered worksheet.
d. Redisplay all records.
e. Save the workbook.
3. Filter and extract a table with the Advanced Filter.
a. Retrieve a list of employees who were hired before 1/1/2017 and who have an annual salary of more than
$75,000 a yeaL Define a criteria range by inserting s.ix new rows above the table on the worksheet and copying
the field names into the first row.
b. In cell DZ, enter the criterion <1/ 1/ 2017, then in cell G2 enter > 75000.
c. Click any cell in the table.
d. Open the Advanced Filter dialog box.
e. Indicate that you want to copy to another location, enter the criteria range Al:J 2, verify that the List range
is $AS7:SJS17, then indicate that you want to place the extracted list in the range starting at cell A20.
f. Confirm that the retrieved list meets the criteria as shown in FIGURE 8·20.
g. Save the workbook, then pre\'iew the worksheet.
FIGURE 8·20
' 4.::1:=~=~·~.·~r:..=-""""'-.,.
••'
·--
•
•
•
1111
1I
ll
IIJo .
1711
t«'l9
11)11
15/f
t498!
_- -
1)
,. roeo
1!. flllt
,.,.
"· li'U
tl JlQ
.... ....
,._
.-.
..... ,., Ntllltl a.... , _
eo- 0<*11 COIW •••
~·
lJ t«)i
,,.. 0..
.....
0 .0
S... SIIWy
s ..u.;o s tuoo
s ',450 $ • •
s em s ••m s
s $,5!50 $ ~,$Q s
10).40)
11s.5l2
2'J 100 TtO S T.$(10 $ to,0U0 S )002 ' 20700 S 11l.1Q2
2<
Skills Review (continued )
4. Look up values in a table.
a. Click the Swnmary sheet tab. Use the Name Manager to view the table names in the workbook, then close the dialog box.
b. Prepare to use a look-up function to locate an employee's annual compensation; enter the Employee Number 1578
in cell AJ8.
c. In ccll 818, use the VLOOKUP function and enter A18 as the Look-up_value, Table2 as the Table_array, 10 as the
Col_index_num, and FAlSE as the Range_look-up; observe the compensation displayed for that employee number,
then check it against the table to make sure it is correct.
d. Replace the existing Employee Number in ccll A18 with 1998, and view the annual compensation for that employee.
e. Format cell 818 \vith the AccOllllting format 1vith the S symbol and no decimal places.
f. Save the workbook.
S. Summarize table data.
a. Prepare to enter a database function to average the annual salaries by branch, using the LA branch as the initial
crjterion. In cell El8, use the DAVERAGE function, and click the upper-left corner of cell A1 twice to select the table
and its header row as the Database, select cell G1 for the rield, and select the range 017:018 for the Criteria. Verify
that the average LA salary is 56400.
b. Test the function further by entering the text Dallas in cell 018. When the criterion is entered, cell 1'.18 should
display 75000.
c. Format cell EIS in Accounting format \vith the S symbol and no decimal places.
d. Save the workbook.
6. Validate table data.
a. Select the data in column E of the table, and set a validation criterion specifying that you want to allow a list of
valid options.
b. Enter a list of valid options that restricts the entries to LA, Chicago, and Dallas. Remember to use a comma
between each item in the list.
c. Indicate that you want the options to appeai in an in-cell drop-down list, then dose the dialog box.
d. Add a row to the table. Go to cell E12, then select Chicago in the drop-down list.
e. Complete the new record by adding an Employee Number of 1119, a First Name of Cate, a last Name of Smith,
a Hire Date of 10/ 1/ 2017, a monthly salary of $5000, and an Annual Bonus of $5000. Format the range
Fl2:]12 as Accounting with no decimal places and using the S symbol. Compare your screen to FIGURE 8-21.
f. Add your name to the center section of the footer, save the worksheet, then preview the worksheet.
FIGURE 8·21
8 •
.,~ ~~~~~11
1)
... -- --
..
14
1'
1J .........
1. ot§il '
(' ,.,_
!O,rnl
......
• ~OCQ
......
•
J:-F- HMM" .... 0...
C.....,l_
IJrWid"'
.
"' ~T
LAT...
" e-dT-
..."'
II
Independent Challenge 1
As the manager of Tampa Medical, a diagnostic supply company, you spend a lot of time managing your inventory. To
help with this task, you have created an Excel table that you can extract information from using filters. You also need to
add data validation and summary infonnation to the table.
a. Start Excel, open EX 8-3.xlsx from where you store your Data Files, then save it as EX 8-Diagnostic.
b . Using the table data on the Inventory sheet, create a filter to display information about only the pulse monitors.
Clear the filtCL
c. Use a Custom Filter to generate a list of products with a quantity greater than 15. Clear the filter.
d. Copy the labels in cells Al:E1 into A16:E16. Type Stethoscope in cell A17, and type <$2 75.00 in cell 07.
Use the Advanced Filter with a criteria range of A16:El7 to extract a table of stethoscopes priced less than $275.00
to the range of cells beginning in cell A20. Enter your name in the worksheet footer, save the workbook, then
pre\~ew the worksheet.
e. On the Summary sheet, select the table data in column B. Open the Data Validation dialog box, then indicate
you want to use a validation list with the acceptable entries of Lee, Rand, Barry. Make su.re the In-cell
dropdown check box is selected.
f. Test the data validation by trying to change any cell in column Bof the table to Lane.
g. Using FIGURE 8-23 as a guide, enter a function in cell £18 that calculates the total quantity of Stethoscopes available
in your inventory. Enter your name in the worksheet footer, preview the worksheet, then save the workbook.
h. On the Subtotals sheet, sort the table in FIGURE a-23
ascending order by p.roduct. Convert the
X
table to a range. Insert subtotals by
product using the Sum function, then o.qb.,. ~ .. {l'rG~..cr.·~•«urtr""1 "Unnl Prl¢..,
select Quantity in the • Add Subtotal to• fidel ·~.~~~~. ~lb'
box. Remove the check box for the Total
..
Cntr.da 017-.016
a. Start Excel, open EX 8-4.xlsx from where you store your Data Files, then save it as F.X 8-Invoi ces.
b. Use the Advanced Filter to show invoices with amounts more than $300.00 ordered before 6/15/2017, using cells
A27:B28 to enter your criteria and extracting the results to cell A33. (Hint You don't need to specify an entire row as
the criteria range.) Enter your name in the worksheet footer.
c. Use tile Data Validation dialog box to restrict entries to those with order dates between 6/1/2017 and 6/30/2017.
Test the data restrictions by attempting to enter an invalid date in cell 825.
d. Enter 23706 in cell G28. Enter a VLOOKUI' function in cell H28 to retrieve the total based on the invoice number
entered in cell G28. Make sure you have an exact match with the invoice number. Test tile function with the invoice
number 23699.
e. Enter the date 6 / 1/ 20 17 in cell ]28. Use the database function, DCOUNT, in cell 1<28 to count the number of
invoices for the date in cell ]28. Save the workbook, then preview the worksheet
f. On the Subtotals worksheet, sort the table in ascending order by Type, then convert the table to a range. Create
subtotals showing the totals for commerdal and residential invoices. Display only the subtotals for the commerdal
and residential accounts, along with the grand totaL
g. Save the workbook, preview the worksheet, dose the workbook, then exit Excel. Submit the workbook to your instructor.
Independent Challenge 3
You are the manager of Fituess Now, a service company for fitness equipment. You have created an Exccl table that contains
your invoice data, along with the totals for each invoice. You would like to manipulate this table to display service categories
and invoices meeting specific criteria. You would also like to add subtotals to the table and add database functions to total
categories of invoices. Finally, you want to restrict entries in the Category column.
a. Start Excel, open EX 8-S.xlsx from where you store your Data Files, then save it as EX &-Equipm ent.
b. On the Invoice sheet, use the beadings in row 37 to create an advanced filter that extracts records 1vith the following
criteria to cell A42: totals greater than $1500 ha\'ing dates either before 9/10/2017 or after 9/19/2017. (Hi11t Recall that
when you want records to meet one criterion or another, you need to place the criteria on separate lines.)
c. Use the DSUM function in cell 02 to let worksheet users find the total amount for the category entered in cell F2.
Format the cell containing the total using the Accounting format with the S symbol and no decimals. Verify the
warranty category total is $8,228. Preview the worksheet
d. Use data validation to create an in-cell drop-down list that restricts category entries to "Preventative Maintenance",
•warranty", and "Service". Use the Error Alert tab of the Data Validation dialog box to set the alert style to the
Warning style with the message "Data is not valid. • Test the validation in the table with valid and invalid entries.
Save the workbook, enter your name in the worksheet footer, then preview the worksheet
e. Using tile Subtotals sheet, sort the table by category in ascending order. Convert the table to a range, and add
Subtotals to ti1e totals by category. Widen the columns, if necessary.
f . Use the outline to display only category names 111t11 subtotals and the grand total. Enter your name in the
workshect footer.
g. Save the workbook, then preview the worksheet.
h. Close the workbook, exit Excel, then submit the workbook to your instructor.
A
' "' '
Independent Challenge 4: Explore
You are an inventory manager at East Coast Medical, a medical equipment distributor. You tJack your inventory of
equipment in an Excel worksheet. You would like to use conditional formatting in your worksheet to help track the
produru that need to be reordered as well as your inventory expenses. You would also like to prevent data entry errors.
Finally, you would like to add an area to quickly look up prices and quantities for customers.
a. Start E.~ccl. open EX 8-6.xlsx from where you store your Data Files, then save it as EX 8-East Coast
Medical.
b . Using FIGURE 1·24 as a guide, use conditional formatting to add icons to the quantity column using the following
criteria: foonat quantities greater than or equal to 300 with a green drcle, quantities greater than or equal to 100
but less than 300 with a yellow circle, and quantities
FIGUREH4
less than 100 with a red drde. (Hint You may need to
click in the top Value tex1 box for the correct value to
,....., .......... "
display for the red circle.)
....................
..,_......,.. .... ....
.._
c. Conditionally format the Total data using Top/Bottom
Rules to emphasize the cells containing the top
•UN•._ .....
·~....,....---
~·--
..........
........._ • .._.
30 percent with red te.xt
d Add another rule to foonat the bottom 20 percent in
the Total column with purple text from the standard
colors palette.
e. RcstJict the Wholesale Price field entJies to decimal
values between 0 and 10000. Add an input message of
Prices must b e l ess than SlO,OOO. Add an
Information level error message of Please check
price. Test the validation entering a price of SlO, 100
in cell C3 and allow the new price to be entered.
f. Below the table, create a product lookup area with t11e following labels in adjacent cells: Product Number,
Wholesale Price, Quantity. Right align these labels in the cells.
g. Using the Table Tools Design tab, name RGURE 3-25
the table •Inventory•.
h. Enter 1445 under the label Product
Number in your products lookup area.
""""'...... -·-
·-.. .....,
i. ln the product lookup area, enter lookup
..,.. ...
East Coast MedicaJ
~tO,tto.OO , .......,
.. "TOGII
""
............
13,131,«10.00
functions to locate the wholesale price ,"" .... ~1,005..3<1
uu·t "'
,.. ..,,
t.a t,US.OO
...
and quantity information for the product 11!11
""
1261
,_,.
-~-
....
.....
·=$l4.1S
"
·-.53
St\.217.00
S3,4SJ.fS
number that you entered in the previous
step. Use the assigned table name of "" .... .... .... $2U1
""-"'
.,..,,., ......
"""'"
t&S,A61.05
"'' ........... •
l_fJ\18
.......
,...,.
--__.........
~ll:linOik:a S35C,749.l1
Inventory and make sure you match the ""
'"' ..,.., ...... ...,. 540,1tt.s2J
product number exactly. Foonat the '"' .... ._..,.,. ..... S4&,A67.V..
H.iio.OO
"" .... $31.(13&411
...
st,968.Zf
....
Jt00,37'&1'1
wholesale price with the Accounting u.•tUt
1521
.... ....
,_ .,...... 1645,:JS.C.l1
......
, ,. - - - a7;'M6.•
format and two dedrnal places. 1.12- S111.8$ot.56
'"" ._ ......
35 St,;atUO
the worksheet header, save the workbook, "" ...........
~ll:laol~
.........
$25.33 Q• $22,13&C2
......
$'12.78
s.tn.is
....
., 1'10
73
U.
IS
640
lSI!
$8l,tlliUI
St37~l.3ot
ute.to•
S20,919.:110
l1~1~
"""
IJi •a
Visual Workshop
Open EX 8-7:xlsx from where you store your Data Files, then save it as EX 8-Therapy . Complete the worksheet as
shown in AGURE S-26. An in-cell drop-down list has been added to the data entered in the Pool field. The range A18:F21 is
extracted from the table using the criteria in cells A15:Al6. Add your name to the worksheet footer, save the workbook,
preview the worksheet, then submit the workbook to your instructor.
FIGURE 8-26
1
A til c
Aquatic Therapy Sehedu1e
0 E F
-
2
3 Code Group Time Day Pool Instructor
~
Module Objectives
After completing this module, you will be able to:
• Plan a macro • Edit a macro
• Enable a macro • Assign keyboard shortcuts to macros
• Record a macro • Use the Personal Macro Workbook
• Run a macro • Assign a macro to a button
Name: HQStamp
--~--~ ~-----~---
- ' -----
----~ll&iliA'111~------------------------------------------------------------------
1. Start Excel, open a blank workbook, click the Save button (;) on the Quick Access
Toolbar, navigate to where you store your Data Files, in the Save As dialog box click the
Save as type list arrow, click Excel Macro-Enabled Workbook ('.xlsm), in the File name
text box type EX 9-Macro Workbook, then click Save
The security settings that enable macros are available on the Developer tab. The Developer tab does not
appear by default, but you can display it by customizing the Ribbon.
2. Click the File tab, click Options, then click Customize Ribbon in the category list
The Customize the Ribbon options open in the Excel Options dialog box, as shown in FIGURE 9·2.
3. Click the Developer check box, if necessary, in the Main Tabs area on the right side of
the screen to select it, then click OK
The Developer tab appears on the Ribbon. You are ready to change the security settings.
4. Click the Developer tab, then dick the Macro Security button in the Code group
The Trust unter dialog box opens.
~ 5. Click Macro Settings if necessary, click the Enable all macros (not recommended; potentially
Foe increased secu. dangerous code can run) option button to select it, as shown in FIGURE!-3, then dick OK
rity, yoo can did<
llle security setting The dialog box closes. Macros will remain enabled until you disable them by deselecting the Enable all
"Disable all macros macros option. As you work "ith Excel, you should disable macros when you are not working with them.
with notifteation'"
instead. Using that
setting. you wil
need to did< Enable
Content to run mac.
cos in a .xlsm file.
_._..- _ "
-....
·--- -...
~-
T ,... • ._,...,.
• • Mor...tf-.
._
-·-
..
···-
.....-
---
..-- t __......
. --
~
·-·-
~-
.....
--.-
._
,._
f=--
""_.._
~
•ta- "" ..
.. g,.
•Iii-
~
Iii...
In Step 3, click
this check box
if it does not
coolain a
...... A=a..
_,__
·-'-
--
• checkmaoll
·----
-·
--- -
•o-
g -
---
------·-
FIGURE 9-3: Trust Center dialog box
_
7-::~:os
-- .
......_
.......-.a.
o •\ ._:'~~~~-~~=:
. ;_--==,_=-_:--:ooo~-
. ------ ,
.....::-::-........______'1
--
In Step 5 click this
option; use only
when WOI'king with
files you lrust
I '" I c..•
Disabling macros
To prevent v~uses from running on yoor computer, yoo should disables macros. The first option disables all macros without
disable all maaoswhenyou are not working with them. To dis- notifying you. The second option notifies you when macros are
abje maaos, click the Oevl'loper lab then dick the Macro Security disabled, and the third option allows only digitally signed
button in the Code g10up. Clicking any of the first three options maaos to run.
----~ll&iliA'111~------------------------------------------------------------------
1. Click the Record Macro button ~ on the left side of the status bar
The Record Macro dialog box opens, as shown in FIGURE 9·4. The default name Macro I is selected. You can
either assign this name or enter a new name. This dialog box also lets you assign a shortcut key for running
the macro and assign a storage location for the macro.
2. Type HQStamp in the Macro name text box
It is important to check where the macro will be stored because the default choice is the last location that
was selected.
3. If the Store macro in list box does not display "This Workbook", click the list arrow, then
click This Workbook
4. Type your name in the Description text box, then click OK
The dialog box closes, and the Record Macro button on the status bar is replaced with a Stop Recording
button ~ Take your time performing the steps below. Excel records every keystroke, menu selection, and
mouse action that you make.
5. Press [Ctrl][Home]
When you begin an Excel session, macros record absolute cell references. By beginning the recording with
a command to move to cell AI, you eruure that the macro includes the instruction to select cell AI as the
first step, in cases where AI is not already selected.
6. Type Cape Town in cell A1, then click the Enter button ~ on the formula bar
7. Click the Home tab, click the Format button in the Cells group, then click Format Cells
8. Click the Font tab, in the Font style list box dick Bold, dick the Underline list arrow and
dick Single, dick the Color list arrow and click the Blue color in the Standard Colors row,
then compare your dialog box to FIGURE 9·5
9. Click OK, dick the Format button in the Cells group, dick Autofit Column Width, click the
can also cick Stop Recording button ijJ on the left side of the status bar, dick cell 01 to deselect cell
Stop Recording
in the Code
A1, then save the workbook
Igrot.., "" the FIGURE 9·6 shows the result of the actions you took while recording the macro.
lab to stop
macro.
St'(trt macro..::!"';;.'- , - - - - - - - - - - - - - , . - ,
Jl>ls WO!kboo
: .t::..__ __ _ _ _ __ _ _ _.L
': v_,•J
QucupUon:.-
t
Type your name and
description of macro here OK I C•nnl
.
8
9
l1)
12
14 y
k>BbCcYyZz
II A ! B I c
1 CapeTown
-
2 ..
- -
3
4
I ~
----~ll&ii§A'ill~--------------------------------------------------------------
1. Click cell A1, click the Home tab if necessary, click the Clear button in the Editing group,
click Clear All, then click any other cell to deselect cell A1
When you delete only the contents of a cell, any formatting still remains in the cell. By using the Clear All
option you can be sure that the cell is free of contents and formatting.
2. Click the Developer tab, click the Macros button in the Code group, click the Macros in
list arrow, then click This Workbook
The Macro dialog box, shown in AGURE 9-7, lists all the macros contained in the workbook.
3. Click HQStamp in the Macro name list if necessary, as you watch cell A1 click Run, then
deselect cell A1
The macro quickly plays back the steps you recorded in the previous lesson. When the macro is finished,
your screen should look like FIGURE 9-8. As long as the workbook containing the macro remains open, you
can run the macro in any open workbook.
4. Click the File tab, click New, then click Blank workbook
Because the EX 9-Macro Workbook.xlsm is still open, you can use its macros.
5. Deselect cell A1, click the Developer tab, click the Macros button in the Code group, click
To create a buttoo
on the QuickAcces.s
the Macros in list arrow, then click All Open Workbooks, click 'EX 9-Macro Workbook.
Toolbar lhat wil run xlsm'!HQStamp, click Run, then deselect cell A1
a macro, dick the When multiple workbooks are open, the macro nan1e in the Macro dialog box includes the workbook name
Customize Quick
Access Toolbar between single quotation marks, followed by an exclamation point which is an external reference
button D cick indicator, indicating that the macro is outs.ide the active workbook. Because you only used this workbook
More Conmands. .., to test the macro, you don't need to save it.
did< lhe Clloose
commands from ist 6. Close Book2 without saving changes
arraN, diet Macros, The EX 9-Macro Workbook.xlsm workbook r•emains open.
did< lhe desired
macro in lhe lis1, dick
Add, lhen did< OK.
Macro ? X
Mauo name:
Hostamp Bun
HQStamp
fdlt
Lists macros stored
in the workbook
,_
QptlonL.
MJ<ros in;
'
i•;rttdM! !.tn El
Dts,dptlon
Yo_ur N-ame.
Cane~)
A B I
•
fOJmatted text
inserted into cell AI • CapeTown
2
3
1. Make sure the EX 9-Macro Workbook.xlsm workbook is open, click the Macros button
in the Code group, make sure HQStamp is selected, click Edit, then maximize the Code
window, if necessary
The Visual Basic Editor starts, showing three windows: the Project Explorer window, the Properties window,
and the Code v.1ndow, as shown in FIGURE 9-9.
2. Click Module 1 in the VBAProject (EX 9-Macro Workbook.xlsm) within the Project
Explorer window if it's not already selected, then examine the steps in the macro,
comparing your screen to RGURU-9
The name of the macro and your name appear at the top of the Code window. Below this area, Excel has
translated your keystrokes and commands into macro code. When you open and make selections in a dialog
box during macro recording. Excel automatically stores all the dialog box settings in the macro code. For
example, the line .FontStyle = •noJd• was generated when you clicked Bold in the Format Cells dialog box.
You also see lines of mde lhat you didn't generate directly while recording the HQStamp macro, for example,
.Name = •CaJibri".
3. In the line .Size= 11, double-dick 11 to select it, then type 12
Because Module! is attached to the workbook and not stored as a separate file, any changes to the module
are saved automatically when you save the 111orkbook.
4. Review the code in the Code window
5. Click File on the menu bar, then click Close and Return to Microsoft Excel
You want to rerun the HQStarnp macro to make sure the macro reflects the change you made using the
Visual Basic Editor. You begin by clearing the headquarten location from cell AI.
6. Click cell A1, click the Home tab, click the Clear button in the Editing group, then click
Clear All
7. Click any other cell to de.select cell Al, click the Developer tab, dick the Macros button
in the Code group, make sure HQStamp is selected, click Run, then deselect cell A1
The headquartm stamp is now in 12-point type, as shown in FIGURE5-10.
8. Save the workbook
~-n
..............
••w.u.u..- ..
---'lJ'.· ..
-,......tu.
.o.ou--. • .-.~.
Tol-•
.-.u.. ...
. -.. to.l.M
··---·
~u-..~
oc.l.w • tUUM•
Code window
-- -~·-~"&I
... u u
...t..=••·hl-..-.,.,.~
Properties window
showing properties
·-
for Module!
..
- A B j c I 0
1 CapeTown I
2 f
font sizeis enlarg~
to 12-point
3 _,
----~llh''l¥'111~------------------------------------------------------------------
1. Click cell B2
You want to record the macro in cell 82, but you want the macro to enter the region of Africa anywhere in
a worksheet. Therefore, you will not begin the macro with an instruction to position the cell pointer, as you
did in the HQStamp macro.
2. Click the Record Macro button ~ on the status bar
The Record Macro dialog box opens.
3. With the default macro name selected, type Region in the Macro name text box
Notice the option Shortcut key: Ctrl+ followed by a text box. You can type a letter (A-Z) in the Shortcut key
letters for
keyboard lllortrut.
text box to assign the key combination of [CtriJ plus that letter to run the macro. Because some
letters entered common Excel shortcuts use the (Ctrl][letterj combination, such as [Ctri][CJ for Copy, you decide to use the
the lllortrut key key combination JCtri][Shiftj plus a letter to avoid overriding any of these shortcut key combinations.
are case
4. Click the Shortcut key text box, press and hold [Shift], type R, then in the Description
box type your name
You have assigned the shortcut key combination [Ctri][Shiftj[RJ to the Region macro. After you create the
macro, you wiU use this shortcut key combination to run it. Compare your screen with RGURE 9·11. You are
ready to record the Region macro.
5. Click OK to dose the dialog box
6. Type Africa in cell B2, dick the Enter button ~ on the formula bar, press [Ctrij[l] to italicize
the text, dick the Stop Recording button ~ on the status bar, then deselect cell B2
Africa appears in italics in cell B2. You are ready to run the macro in cell AS using the shortcut key
combination.
7. Click cell AS, press and hold [Ctri][Shift], type R, then deselect the cell
The region appears in cell AS, as shown in FIGURE 9-12. The macro played back in the selected cell (AS) instead
of the cell where it was recorded (B2) because you did not dick cell B2 after you began recording the macro.
Record Macro ? X
Macro name
' R~gion
ShortwtJ>ey:
ctr1-Shifh fRl+- Shortcut to
~ run macro
Stor:_m~ jn_
: __
[ThlsWot~ v
Qe.~criptron:
I''"'"'··
[ OK ] C<!Ocet
~ 6. Add a new worksheet, in cell A1 type Macro Test, press [Enter], press and hold
[Ctri][Shift], then type F
a few moments for
the macro to finish. The FormatPrint macro plays back the sequence of commands.
Kyou are using a 7. Preview Sheet2 in Backstage view and verify in the Settings that the orientation is land-
different letter fcx
the shortrut key scape and the last Custom Margins are 1"on the left, right, top, and bottom
combination, type
that letter instead al 8. Click the Back button 0 , then save the workbook
the letter f.
Short(IJt ~ey.:
Ctri"Shift+ · f
Cliflk to store in Pefsonal
Macro Workbook
Store maoo !n:
OK cancel
Jop;
Enter top margin ~
f1 .;d) IM :il
6er~ter on JtaV"f
0 Hortoontatty
t
Enter bottom margin
0 Ytrto<4lly
L _____________________.__..:o..:~~...J tantt!
----~llfil@i111L______________________________________________________________
1. Add a new worksheet to the workbook, click the Insert tab, dick the Shapes button Q in
the Illustrations group, then click the first rectangle in the Rectangles group
The mouse pointer changes to a+ symbol.
2. Click at the top-left corner of cell AS, then drag + to the lower-right corner
of cell 89
Compare your screen to FIGURE 9·16.
3. Type HQ Macro to label the button, click the Home tab, click the Center button ~ in
the Alignment group, then click the Middle Align button § in the Alignment group
Now that you have created the button, you are ready to assign the macro to it.
4. Right-click the new button, then on the shortcut menu click Assign Macro
The Assign Macro dialog box opens.
5. Click HQStamp under Macro name, then click OK
You have assigned the HQStamp macro to the button.
6. Click any cell to deselect the button, then click the button
The HQStamp macro plays, and the text Cape Town appears in cell AI, as shown in FIGURE 9·11.
7. Save the workbook, preview Sheet3 in Backstage view, then close the workbook
8. Click the Developer tab, click the Macro Security button in the Code group, click Macro
Settings if necessary, click the Disable all macros with notification option button to
select it, then click OK
9. Exit Excel, clicking Don't Save when asked to save changes to the Personal Macro
Workbook, then submit the workbook to your instructor
3
'-
4
5 ,_ Rectangle shape will
6 ~~ become button
7
8 ¥'
)
9
10 ,..-
+
11
12
:-
13
+ ,.
4
5
6
7
-
8
9 • '
10
'·
0..,._
..,
_..
"Oo-t-·----
~ ... ,.,.
' "
'-=~---.
1. Which element do you click to return to Excel without dosing the module?
2. Which element points to comments?
3. Which element points to the Properties Window button?
4. Which element points to the Code window?
5. Which element points to the Properties window?
6. Which element points to the Project Explorer window?
Match each term or button with the statement that best describes it.
7. VtrUS a. Set of instructions that performs a task in a specified order
8. Macro b. Statements that appear in green explaining the macro
9. Comments c. Destructive software that can damage computer files
10. Visual Basic Editor d. Used to make chan.ges to macro code
11. Personal Macro Workbook e. Used to store frequently used macros
A~to'l)latfrg W tTas s
14. Whlch of the following is 110t true about editing a macro?
a. You edit macros using the V'JSual Basic Editor.
b . A macro cannot be edited and must be recorded again.
c. You can type changes directly in the existing program code.
d. You can make more than one editing change in a macro.
15. A macro named will automatically run when the workbook it is saved in opens.
a. Default c. Macro!
b . Auto_Open d. Open_Macro
16. Macros are recorded with relative references:
a. Only if the Use Relative References button is selected. c. By default
b . In all cases. d. Only if the Use Absolute References button is not
selected.
17. Why is it important to plan a macro?
a. Macros can't be deleted.
b . Planning helps prevent careless errors from being introduced into the macro.
c. It is impossible to edit a macro.
d. Macros won't be stored if they contain errors.
18. Macro security settings can be changed using tbe - - - - - - tab.
a. Home c. Security
b. Developer d. Review
19. You can run macros:
a. From the Macro dialog box. c. From a button on the worksheet.
b. From shortcut key combinations. d. Using all of the above.
Skills Review
1. Plan and enable a macro.
a. You need to plan a macro that enters and formats your name and department in a workshce~ in the range Al:A2.
b. Write out the steps the macro will perfornL
c. Write out how the macro could be used in a workbook.
d. Start Excel, open a new workbook, then save it as a Macro-Enabled workbook named EX 9-Macros in the
location where you store your Data Files. (ffint The file will have the file extension .xlsm.)
e. Usc the Excel Options feature to display the Developer tab if it is not showing in the Ribbon.
f. Using the Trust Center dialog box, enable all macros.
2. Record a macro.
a. Open the Record Macro dialog box.
b. Name the new macro My Dept, store it in the current workbook, and enter your name in the Description text
box as the pGSOn who recorded the macro.
c. Record the macro, entering your name in cell AI and Sales Department in cell A2. (Hint You need to press
[Ctrlj[Homej first to ensure cell AI will be selected when the macro runs.)
d. Resize column A to fit the information entirely in that column.
e. Format the font using Purple from Standard Colors.
f. Add bold formatting to the text in the range Al:A2.
g. Stop the recorder, then save the workbook.
ALtO
Skills Review (continued)
3. Run a macro.
a. Clear cell entries and formats in the range affected by the macro, resize the width of column A to 8.43, then select
cell 83.
b. Run the MyDept macro. Confirm that your name and your sales department are entered in the range AI:A2.
c. On the worksheet, dear all the cell entries and formats generated by running the MyDept macro. Resize the width
of column A to 8.43.
d . Save the workbook.
4. Edit a macro.
a. Open the MyDept macro in the Visual Basic Editor. FIGURE 9-20
b . Change the line of code above the last line from Selection .Font. Bold = A 8 c
True to Sclection.Font.Bold = False. 1 YourName
c. Use the Close and Return to Microsoft Excel command on the me 2 sales Department
+
menu to ~~?turn to Excel. 3
d. Test the macro on Sheetl, click outside the range AI:A2, then compare
your worksheet to AGURE ~20, verifying that the text is not bold.
e. Save the workbook.
5. Assign keyboard shortcuts to macros.
a. Create a macro named DeptStamp in the current workbook, fiGURE HI
assign your macro the shortcut key combination (CtriJIShift](D], 0 E F G H
enter your name in the description. (Hint If you get an error when
trying to use (Ctri][Shifti[D], select another key combination.)
b. Begin recording, starting in the current cell of the worksheet. Type Soln lkportm•ml
Sales Department, format it in bold, italic, and with a font
color of green, without underlining. Stop recording.
c. Clear the contents and formats from the cell containing the sales
department text that you used to record the macro.
d. Use the shortcut key combination to run the Dt.>ptStamp macro in a cell other than the one in which it wa.s recorded.
Compare your macro result to FIGURE HI. The Sales Department text may appear in a different cell.
e. Save the workbook.
6. Use the Personal Macro Workbook.
a. Using Sheetl, record a new macro called FitToLand and store it in the Personal Macro Workbook with your
name in the Description text box. If you already have a macro named FitToLand, replace that macro. The macro
should set the print orientation to landscape.
b. After you record the macro, add a new worksheet, and enter Test data for FitToLand macro in cell AI.
c. Preview Sheet2 in Backstage view to verify the orientation is set to portrait.
d. Run the FitToland macro. (You may have to wait a few moments.)
e. Add your name to the Sheet2 footer, then preview Sheet2 to verify that it is now in Landscape.
f. Save the workbook.
7. Assign a macro to a button.
a. Add a new worksheet, then enter Landscape Button Test in cell A1.
b. Using the rectangle shape, draw a rectangle in the range A7:B8.
c. Label the button with the text l.andsca(M! Macro, then center and middle align the text. Compare your
worksheet to FIGURE 9-22.
d. Assign the macro PERSONALXISB!FitToLand to the button.
e. Verify that the orientation of Sheet3 is set to portrait.
f. Run the FitToLand macro using the button.
A, - s " l
Skills Review (continued)
g. Pre\~ew the worksheet, and velify that it is in lands:ca~. FIGURE 9-22
h. Add your name to the Sheet3 footer, then save the workbook.
i. Click the Developer tab, dick the Macro Security button in the
Code group, click Macro Settings if necessary, click the Disable all
macros with notification option button to select it, then
dick OK.
A
r·~ ,OO,ffi .. 8 C
j_
D
. ' 0
)
m. Enter your name in the footers of all three worksheets. Save the
workbook, close the workbook, then submit the workbook to your •
instructor and exit Excel. 6
1
Independent Challenge 2
••
You are an assistant to the VP of Sales at Green Horizons, a landscape distributor. As part of your work, you create
spreadsheets with sales projections for different regions of the company. You frequently have to change the print settings so
that workbooks print in landscape orientation with custom margins of 1' on the top and bottom. You also add a header
with the company name on every worksheet. You have dedded that it's time to create a macro to streamline this process.
(Note: Remember to enable macros before beginning this indepetrdmt dmllenge, and to disable them when you are finished.)
a. Plan and write the steps necessary to create a macro that performs aU of the tasks described above.
b. Check your macro security settings to confirm that macros are enabled.
c. Start Excel, create a new workbook, then save it as a macro-enabled file named EX 9 -Sales Macro in the
location where you store your Data Files.
d. Create a macro that changes the page orientation to landscape, adds custom margins of 1' at the top and bottom of
the page, adds a header of Green Horizons in the center section, formatted in bold with a font size of
12 points. Name the macro Format, add your name in the description, assign it the shortcut key combination
[CtriJ[Shift)[fj (or a different combination if necessary), and store it in the current workbook.
e. Add a new worksheet and enter the text Format Macro Test in ceU A1. Test the macro using the shortcut key
combination you set in Step d. Preview Shcet2 to check the page orientation, margins, and header.
f. Add a new worksheet, enter the text Format Worksheet Button Test in cell AI, add a rectangular button
with the text Format Worksheet that runs the Fonnat macro, then test the macro using the button.
g. Preview the Visual Basic code for the macro.
h. Save the workbook, close the workbook, exit Exccl, then submit the workbook to your instructot
Independent Challenge 3
You are the Southeast regional sales manager of Atlantic FIGUREH4
Consulting. a technology consulting firm. You manage the
Southeast operations and frequently create workbooks with
data from three office locations. It's tedious to change the
tab names and color.; every time you open a new workbook,
so you dedde to create a macro that wiU add the office
locations and colors to the three office location worksheet
tabs, as shown in FIGURE!·24. (Note: Remember to enable maaos be((Jre beginning Illis indepeudmt clwllmge, and to di5able them
when you are finished.)
a. Plan and write the steps to create the macro described above.
b. Start Excel and open a new worl:book.
c. Create the macro using the plan you created in Step a, name it WBFormat, assign it the shortcut key
combination [Ctrlj[Shiftj [WJ (or a different combination if necessary), store it in the Personal Macro Workbook, and
add your name in the description area. {Hint The tab colors are red, green, and blue from the Standard Colors.)
d. After recording the macro, close the workbook without saving it. Save the changes to the Personal Macro workbook.
A"""""" '•
Independent Challenge 3 (continued)
e. Open a new workbook, then save it as a mamrenabled fiGURE 9·25
workbook named EX 9-Atlantic Test in the location
where you store your Data Files. Use the shortcut key
combination you created in Step c to test the macro in the • ·r-r-
. . . . . . . . MloCia
new workbook.
f. Unhide the PERSONALXLSB workbook. (Hint: Click the ._u.ldd l.ti.M.t•a.cu~
View tab click the Unhide button in the Window group, --1.·-·--u-,
.......... ~...-..n
-..nt•-...u-,.- ohl.ol
.. 11Um,•
click PERSONALXLSB, then click OK. You will hide
PERSONAL.XI.SB at the end of this exercise.)
.......,.........:.,.--
-...,;.:.,-~ .. . kt.ft
-...c.t-....n., ...JMoc.
-~··
........,., ....LJ., .._ ..........
g. Edit the WBFonnat macro using RGURE 9-25 as a guide, ._u,-......• .. a..u-
tbta MQ. s l ... - . . ,~-).telt
Changing the Charlotte sheet name to Durham. (Hi11t: There
........
.Clot.., •
are two instances of Charlotte that need to be changed.) • turd - - - 0
-.....c·M..&.aM4·,.~
h. Open a new workbook, then save it as a macro-enabled .,ta -.au....-.z:IIIOR'.a.rut•~•t .Tab
workbook named EX 9-Atlantic in the location where
you store your Data r~es. Test the edited macro using the ........
.Ce.l.ar • U11.U
.ta..-d - 1 -.
-
~ • •• ,...,......s.. t.~
shortcut key combination you set in Step c. Jtta a.eu. ....u .......,._• •. r-•
--
.e.t.- • Uf1.1M4
i. Add a new sheet in the workbook, and name it Code. Copy .Ttmr' a ' - •
the WBFom1at macro code from the Personal Macro ......
Workbook, and paste it in the Code sheet beginning in cell
Al (be careful to select only the code for this macro). Save
the workbook. close the workbook. hide the Personal Macro
Workbook, then submit EX 9·Atlantic to your iustructot
j. Hide the PERSONALXISB workbook. (HiJJt: With the PERSONAL.XLSB workbook active, click the View tab, then
click the Hide button in the Window group.)
k. Close the workbook without saving changes to the PERSONAL.XLSB workbook, then exit Excel.
a. Start Exccl, open EX 9·2.xlsx from where you store your Data F'iles, Auto_Open Macro
• You.r Name
then save it as a Macro-Enabled workbook named EX 9-Patient
Information. ~qBox "Cont1d~nc:ia~ "I
b. Create a new macro with the name Auto_Open, store it in the '
Patient lnfonnation workbook, and add your name in the descrip· End Sub
tion area.
c. Stop the macro recording before completing any steps.
d Open the Auto_Open macro in the Visual Basic Editor.
e. Use AGURE9-2S as a guide to add a message box to the Auto_Open macro.
f. Return to Excel and save the workbook.
g. Close, then reopen, the workbook.
h. Close the message box.
i. Enter your name in the footer. Sa\'e the workbook, close the workbook, then submit the workbook to your
instructor and exit Excel.
s
Visual Workshop
Start Excel, open EX 9-3.xlsx from the location where you store your Data Files, then save it as a macro-enabled workbook
called EX 9 -Accounts. Create a macro with the name TotaLAccounts, save the macro in the EX 9-Accounts
workbook that does the following:
• Totals the weekly accounts for each employee by totaling the accounts for the first employee and copying that
formula for the other employees
• Adds a row at the top of the worksheet and inserts a label of Accounts in a font size of 14 point, in bold font,
centered across all columns
• Adds your name in the worksheet footer
Test the TotaiAccounts macro by reopening EX 9-3.xlsx and running the macro. Cnmpare your macro results to FIGURE 9·27.
Oose the Data File EX 9-3 \\~thout saving it, then save the EX 9-Accounts workbook Submit the EX 9-Accounts workbook
to your instructor. (Note: Remembfr to e11able macros before begi1111it!g this visual workshop, a11d to disable them w/Je11 you are
finis/Jed.)
FIGURE9·27
A B c 0 [ F G ft
2
3
4 6 8 8 7 7 6 2 44
5 4 3 7 6 3 5 0 28
6 7 6 6 5 5 .1 0 30
7 Delgado 7 6 5 8 7 7 0 40
8 7 6 5 5 7 8 0 38
9 8 8 2 6 8 5 3 38
10 7 8 8 6 7 2 0 38
11 6 8 4 4 4 4 1 31
12 7 8 2 8 8 1 0 34
13
H
15
Excel 221
, Excel 2016 Module 10
Enhancing Charts
~ Reason2Go's manager of the Sydney office, Will Moss, has requested charts
comparing sales and trends in the office's regions over the first two quarters. You
will produce these charts and enhance them to improve their appearance, clarify the display, and
make the worksheet data easier to interpret.
Module Objectives
After completing this module, you will be able to:
• Customize a data series • Create a combination chart
• Change a data source and add a • Enhance a chart
chart style • Summarize data with sparklines
• Add chart elements • Identify data trends
• Format chart axes
1. Start Excel, open EX 10-1.xlsx from the location where you store your Data File.s, then
save it as EX 10-Region Sales
To begin, Will wants to see how each region perfonned over January and February. The first step is to select
the data you want to appear in the chart.
2. Select the range A2:C5
3. Click the Quick Analysis tool ~ at the lower right comer of the selected range, click the
Charts tab, move the mouse pointer over the recommended charts to view your data in
Recommended different chart types, then point to ti!Je Clustered Column option
buuoo in the Aclustered column chart preview comparing the January and February sales for each branch appears, as
group on the
to l'J<jllore
shown in FIGURE 10-1. You decide to use this option to compare the monthly sales for each branch.
available charts. 4. Click Clustered Column, then on the Chart Tools Design tab on the Ribbon, click the
Switch Row/ Column button in the Data group
The legend now contains the region data, and the horizontal axis groups the bars by month. Will can now
easily compare the region sales for each month. You want to see how the graph looks with the Australia data
series plotted in a green color.
5. Double-dick the Jan Australia data series bar (the far-left bar on the graph), dick the Fill &
Line button ~ in the Format Data Series pane, click Fill, dick the Solid fill option button,
click the Fill Color list arrow 1:] click. Dark Green, Accent 5 in the Theme Colors group,
then close the Format Data Series pane
6. Point to the edge of the chart, then drag the chart to place its upper-left corner in the
upper-left corner of cell A7
7. Drag the chart's lower-right corner sizing handle to fit the chart in the range A7:H20,
then compare your chart to FIGURE 10·2
Dragging a comer sizing handle resizes the chart proportionally; dragging a side or top handle resizes it
horizontally or vertically.
8. Save the workbook
--
..
~
"..1
-· -· -
C........J_.... n t •
......
"""
•
--.. H I I
,_ __ __ _
Clus1ered column
chart option
II
12
""''.
ll
II
"'"""'
·~ .,.,.
QUI"'
·~
a;
18
..
19
20
11
12
Enhancing Charts
Excel2016
Module 10 Change a Data Source and
learning
Outcomes
• Add data to
a chart
Add a Chart Style
• Format a chart As you update your workbooks with new data, you may also need to add data series to (or delete them
with • mart stylt from) a chart Excel makes it easy to revise a chart's data source and to rearrange chart data. Also, you can
use preformatted styles to make a chart more attractive. a. Will wants the chart to show branch
soles for the first quarter, so you need to odd the March data to your chart. You also want to odd a chart style
and modify the chart colors to make the chart more attractive. You begin by changing the data view to compare
branch sales for each month.
1. Click the Chart Tools Design tab if necessary, then click the Switch Row/ Column button
in the Data group
The region data again appears on the horizontal axis. You want to add the March data to the chart.
2. In the worksheet, drag the lower-right corner of the data border in cell CS to the right
to include the data in column D
The March data series appears on the chart, .as shown in FIGURE 10-3. You want to make the columns more
attractive using one of the d1art styles.
3. With the chart selected, click the Chart Styles button [21 to the right of the chart, then
scroll down to and click Style 14 (the last style)
The data bars have an appearance of depth and tl1e january data bars are now a blue color again. The menu
remains open. You want to change the colors of the data bars.
4. Click Color at the top of the Chart Styles gallery
There are colorful and monochromatic color sets available.
5. Point to the color galleries to preview them, click Color 2 (the second row from the
top), then click 2J again to close the gallery
The data bars appear in the new color scheme. Compare your chart to FIGURE ID-4.
6. Save the workbook
- -
FIGURE 111-4: Chart with new Chart S1yle and color se1
A B c D E F G H
R2G Sydney Offi1:1:
2 jon feb Mar 1 Apr M&) Jun
3 Austrc~)id 571,253 S65,092 SS0,589 S64,952 $76,321 578,364
,[ Sew Zeal.utd SS2.514 $61,669 Sl>9,851 S56,257 S53,254 SS8,741
5 sia S51,87•1 $59,521 S56,52t 563,694 S57,2M 531,005
6
7
8 Chart Title
9 $80,000
10 $10.000
11 $60,000
12 550,000
13 SiO.OOO
14 $30,000
!5 $20,000
16 $10,000
17 w
18 A ttstr.ilia New Zealand
19
• Jan • Feb MMM
Enhancing Charts
Excel2016
Module 10 Add Chart Elements
learning When you create a chart. chart elements such as the chart title and legend often appear by default You
Outcomes can add or remove chart elements by dicking1the Chart Elements button on the right side of a selected
• Mow a chan
to a different chart to display an element list Other chart elements you can choose include a data table and data labels.
wori<5heet A data table is a grid containing the chart datta, attached to the bottom of a chart. Data tables are useful
• Add a data table
to a chart
because they display-directly on the chart itself-the values you used to generate a chart. Data labels
• Add data labels to also display series values, but value labels appe.ar near or on the data markers. ~ Will wonts you to
a chart move the chart to its own worksheet, odd a data table to emphasize the chart's lim-quarter dolo, and odd
data labels.
1. Click the chart object to select it if necessary, click the Chart Tools Design tab on the
Ribbon if necessary, then click the Move Chart button in the Location group
The Move Chart dialog box Opt'llS. You want to place the chart on a new sheet named First Quarter.
2. Click the New sheet option button, type First Quarter in the New sheet text box, then
click OK
The chart moves to a separate sheet
3. Click the Chart Elements button ~' dick the Data Table check box to select it, move the
mouse pointer over the Data Table li~t arrow, click once, then verify that With Legend
Keys is selected
Adata table ~<ith the first-quarter data and a key to the legend appears at the bottom of the chart, as shown
in FIGURE 10·5. You will add data labels to daJrify the exact amount of sales represented by each data bar.
4. Click the Data Labels check box in the CHART ELEMENTS gallery
Data labels appear above the data bars. You don't need the legend keys in the data table, so you dedde
to remove them.
5. Point to Data Table on the CHART ELEMENTS gallery, dick the Data Table list arrow, dick
No Legend Keys, dick under the CHART ELEMENTS gallery to dose it, then compare
your chart to FIGURE 10·6
The data table no longer shows the legend keys.
6. Save the workbook
111-
- o--
f2l O.T•
o ......
-
--
li!l ... , .
o .....
ta·-
li!l ......
o-
•
--
.........
-
Data table
Data table
list arrow
with legend
-- ·~
--- -----
FIGURE 10-': Chart with data table legend lleys removed
•
-- -
---
Data table
--
with legend
keys ~- '
•
--
...-
---
- --
,._
removed
·---
Formatting legends
To fonnal a legend's fil~ border, color, or sllaclclM, diCk lhe Chart FIGURE 10·7: Formatted legend
Elements burton[B poilt to legend. did the Legend lis! arrow,
then ctick More Oplion~ Using lhe options in the Fonnat Legend
pane, you an use the Legend Options tab and Text Oplions lab to
customizl! the legend. For example, you can add a picture to lhe
legeOO by clicking the Fil & line button ~. cticking Fd, cickilg lhe ......
• , . . . hO:II'W
Picture or texttre fi1 oplion button, dcking the File, Ctiplloard, or
Online bunon (depe<XIing on the picture source), then browsing to
your image. The legend in FIGURE 10-7 has a textured fiD backgrot.uld.
""'
You can also drag a legend to atYf location. To change a legend's font
silO!, coior, or style, nght<Jick the legend text, dick Font on the
shortcut menu, then adjust the settings in the Font dialog box.
Enhancing Charts
Excel2016
Module 10 Format Chart Axes
learning Excel plots and formats chart data and places the chart axes within the chart's plot area. Data values in
Outcomes two-dimensional charts are plotted on the vertical y-axis (often called the value axis because it usually
• Add axis titles
• Olange the shows value levels). Categories are plotted on the horizontal x-axis (often called the category axis because
wttical axis it usually shows data categories). Excel creates a scale for the value (y) axis based on the highest and
ma.x.imum value
lowest values in the series and places intervals .along the scale. a. Will asks you to odd axes titles to
explain the plotted data. He would also like you to make the axis values easier to interpret.
1. Click the chart to select it if necessary, dick the Chart Elements button ~. click the Axis
Titles check box to select it, then resize the chart and plot areas if necessary to display
the axis titles text boxes
You deride to label the axes.
2. Click the Horizontal axis title text box, type Regions, then pre.ss [Enter]
The word •Regions• appears as the Horizontal axis title after you press (Enter].
3. Click the Vertical axis title text box, type Sales, then press [Enter]
The word •Sales" appears in the Vertical a:xis title as shown in FIGURE 10.-. You dedde to change the
maximum number on the value axis. Tbe maximum number on the value axis is currently SSO,OOO.
4. Click ~. point to Axes, dick the Axes list arrow, then dick More Options
The Format Axis pane opens.
5. Click the Axis Options list arrow near the top of the pane, dick the Vertical (Value) Axis,
if necessary expand the Axis Options to display the Minimum and Maximum text boxes,
in the Maximum text box type 90000, then press [Enter]
Now S90,000 appears as the maximum value on the value axis, and the chart bar heights adjust to reflect
the new value. Next, you want the vertical axis values to appear without additional zeroes to make the chart
data easier to read.
6. Click the Display units list arrow, dick Thousands, then make sure the Show display units
label on chart check box is selected
The values are reduced to two digits and the word "Thousands" appears in a text box to the left of the
values.
7. Right-click the Sales title, in the shortcut menu dick Font, enter 16 in the Size text box
in the Font dialog box, dick OK, right-dick the Regions title, in the shortcut menu dick
Font, enter 16 in the Size text box in the Font dialog box, then dick OK
The axis titles are now easier to see. You also want the unit label to be more legible.
8. Right-click the Thousands title, in the shortcut menu dick Font, in the Font dialog box
enter 12 in the Size text box, then d i:ck OK
9. Adjust the positioning of the axis titles and/or unit label if necessary to match FIGURE 10-9,
then save the workbook
-- ......
••i -
Vertocal ......
ailS 11tle
--··-
..
...""
.... -
··-
.....,.
.....
.....,.
......
.....,
........
..........
.........
1. Click the Sales sheet tab to select it, select the range A2:D5, click the Quick Analysis
tool ~. click the Totals tab, then click the Average button
Averages for the months appear in row 6.
2. Click the First Quarter sheet tab, click the chart if necessary to select it, dick the Chart
Tools Design tab, then click the Select Data button in the Data group
The Select Data Source dialog box opens, where you can select worksheet data to include in the new chart
element.
3. Edit the Chart data range to =Sales!SAS2:SDS6, then click OK
The average data points are included in the chart as shown in AGURE 10·10. Before you create the combination
chart, you want to create more room on the chart. You can make more room by moving the legend into the
data table.
4. Click the Chart Elements button [!], click the Data Table list arrow, click With Legend
Keys, click the Legend check box to remove the legend, then click ~ to close the
gallery
You want to S~<itch the axis data to show average amounts for each month.
5. Click the Switch Row/ Column button in the Data group
The average amounts for each month will be easier to distinguish if they are on a different type of graph.
6. Click Change Chart Type in the Type group, click Combo in the Change Chart Type
dialog box, in the Chart Type column near the bottom of the dialog box click the
Australia Chart Type list arrow, click Clustered Column if necessary, then repeat this
process for the New Zealand Chart Type and the Asia Chart Type
These values "111 appear in the clustered column chart format, hut you want the average sales data to appear
in a line chan format.
7. Click the Average Chart Type list arrow, click Line for the Average data series if
necessary, then click OK
8. Click ~ click the Data Labels check box to remove the data labels on the chart, then
close the Chart Elements gallery
9. Compare your chart to FIGURE 10.11, then save the workbook
Chart Title
...
...
... "'
1... ...
~
l!l '"'
~ ..,
...
...
...
..
.....
,
""""'"
.......
tn.1u
.... I.».,S$9
Regions T
Average data series
. .,
ChartTiUc
line chart represents
Average data series
""'
•
11
i
$70
1
~ 5<1)
"'
<a"'
""
Ul
""
"'
S1>1
Sill
"'
'"""""""' """"
....... 56!1,{812
-
-~,..~ 561.66'
...... . . SbU:J '"'_m
- Awr• ~
Regions
Enhancing Charts
Excel2016
Module 10 Enhance a Chart
learning You can enhance your chart or worksheet titles using WordArt, which is preformatted text. Once you've
Outcomes added WordArt text, you can edit or format it by adding 3-0 effects and shadows. WordArt text is a
• Add a WordAtt
title to a chart
shape rather than text. This means that you cannot treat WordArt objects as if they were labels entered
• Add a shap<! style in a cell; that is, you cannot sort, use the spell checker, or use their cell references in formulas. You can
to tnt plot area
further enhance your chart by adding a shape style to one of the chart elements. a. Will asks you
to add a distinctive title to the chart. You dedde to use WordArt lor this purpose, and to achieve a more
dimensional/oak for the chart by adding a shape style to the plot area.
1. Click the Chart Title text box, type First Quarter Sales, then press [Enter]
2- Click the Chart Tools Format tab, then dick the More button ~ in the WordArt Styles
group
The Word Art styles galkry opens, as shown in FIGURE 10-12. This is where you select a WordArt style for
your text
3. Click the Fill - Indigo- Accent 1, Shadow
The title text becomes formatted with blue letters. Next, you want to enhance the look of the plot area;
you'll start by remO\'ing the gridlines.
4. Click the Chart Elements button ~. click the Gridlines checkbox to deselect it, then
dick ~ to dose the gallery
You also want to add a shape style to the plot area of the chart. Some chart elements cannot be selected
using the CHART ELEMENTS gallery on the chart; instead, you need to use the Chart Elements list arrow on
the Ribbon.
5. Click the chart to select it if necessary, click the Chart Tools Format tab if necessary, dick
the Chart Elements list arrow in the Current Selection group, then dick Plot Area
The plot area of the chart is selected, as shown by the four small circles on its comers.
6. Click the More button ~ in the Shape Styles group, dick the Subtle Effect- Indigo,
Accent 1 button (in the fourth row), dick the Shape Effects button in the Shape Styles
group, point to Preset, then dick Preset 5
The plot area of U1e chart is formatted in a light blue color with a slight 3-Deffect.
7. Click the Insert tab, dick the Header & Footer button in the Text group, dick the Custom
Footer button, enter your name in the center section, dick OK, then click OK again
Compare your chart to FIGURE 10-13.
Chnrt Tool;
In S1eJ) 3, clid<
this style
-A Oes•gn
'A
Q Troll mt' '"'hat you .-.!nt ·
A [A A
A A A ~ A
A A A !A (J
A A A ~ A
~ ~rW
..
FIGURE 18-13: Chart w~h formatted tiUe and plot area
Enhancing Charts
Excel2016
Module 10 Summarize Data with
learning
Outcomes
• Add spartlines to
a worksheet
Sparklines
• Format sparldines You can create a quick overview of your data by adding sparldines to the worksheet cells. Sparldines are
•Add markets to miniature charts that show data trends in a wor.ksheet r.ange, such as sales increases or decreases. Sparldines
'P"fkline<
are also useful for highlighting maximum and minimum values in a range of data. Sparklines usually
appear close to the data they represent. Any changes that you make to a worksheet are reflected in the
sparklines that represent the data. After you add sparklines to a worksheet, you can change the sparkline
and color. You can also format high and low data points in special colors. ~ As a supplement to the
chart, Will wants the Sales WOFksheet to illustrate the sales trends for the first half of the year. You decide to add
------'•'n:;-._________________________________
sparldines to tell o quick visual story about these trends.
1. Click the Sales sheet, click cell H3, click the Insert tab if necessary, dick the Line button
in the Sparklines group, verify that the insertion point is in the Data Range text box,
select the range B3:G3 on the worksheet, then dick OK
A sparldine showing the sales trend for Australia appem in cell H3. You can copy the sparldine to cells
representing other regions.
2. With cell H3 selected, drag the fill handle to fill the range H4:H5
The sparkUnes for all three regions are shown in FIGURE 10-14. You decide to change the sparkUnes to
columns.
3. Click cell H3, then click the Column button in the Type group of the Sparkline Tool.s
Design tab
All of the sparkUnes in column Happear as columns. The column heights represent the values of the data in
the adjacent rows. You want the sparldines to appear in a different color.
QUICK TIP
To display "' hide 4. Click the More button ~ in the Style group, then click Sparkline Style Colorful #5
data markers on a (in the bottom row)
Spartline, select or
deselect the Marken You want to highlight the high and low months.
c:lled< box in the 5. Click the Marker Color button in the Style group, point to High Point, then select Dark
Show group on the
Spar1<ine Tools Green, Accent 5 under Theme Colors.
Design lab. Mar1<ers
"'" only be added
6. Click the Marker Color button in the Style group, point to low Point, select Orange
to the line type of Accent 3 under Theme Colors, then compare your screen to RGURE 10-1s
sparldines.
7. Save your changes
-...... ....,..,..
~"""•> 011 , ..
I
: I••
JU(.
r. ~...
...... A~
ttl.l>ll
......
"'·""
~ J
--
Spartdines for
S..'U..•n S69.1U N.lr. l'US<
all regions
SUA:'t mu• ,,.,
~· ,. i'S7_.ZW
•v
-......
A r G
IU(. ~, Jncy OUacw
> ,.., M9
..
-.:'1,.!-"4 '"'
'5M."'l
'F
tit.,! S"iJ.:J
.... fOllllatled
-
,,~,
~. lli,m
wt•-:c
'"l.W"'
1w q_a
"'1>1
$Sa,IOI
IOU"I """"'
i-~~"4
Spartdines
"'"''
Enhancing Charts
Excel2016
Module 10 Identify Data Trends
learning You often use charts to visually represent data over a period of time. To emphasize patterns in data, you
Outcomes can add trendlines to your charts. A trendline is a series of data points on a line that shows data values
• Compare chart
representing the general direction in a data series. In some business situations, you can use trendlines to
data wing
trendJines
• Fotrnat a trendSne
project future data based on past trends. a. Will wants you to compare the Australia and Asia sales
performance aver the first two quarters and to project soles for each region for the next three months, assuming
• Klrecast future
tttnds us.ing post trends. You begin by charting the 6-monlhs sales data in a 2-DColumn chart.
trtndJinM
1. On the Sales sheet, select the range A2:GS, dick the Quick Analysis tool ~' dick the
Charts tab, then dick the Clustered Column button
2. Drag the chart left until its upper-left corner is at the upper-left corner of cell A8, then
drag the middle-right sizing handle right to the border between column G and column H
You are ready to add a trendline for the Australia data series.
3. Click the Chart Elements button ~. click Trendline, verify that Australia is selected in
the Add Trendline dialog box, then click OK
Alinear trendline identifying Australia sales trends in the first 6 months is added to the chan, along with an
entry in the legend identifying the line. You need to compare the Australia sales trend with the Asia sales trend.
4. Make sure the Australia trendline is not selected, dick ~ if necessary, point to
Trendline, click the Trend line list arrow, click linear, click Asia in the Add Trendline dia-
log box, then click OK
The chart now has two trendlines, making it easy to compare the sales trends of the Australia and the Asia
branches as shown in FIGURE 10-16. Now you want to project the next 3-month sales for the Australia and
Asia sales branches based on the past 6-month trends.
S. Double-dick the Australia data series trendline, in the Format Trendline pane dick the
Trendline Options button ill if neces.sary, enter 3 in the Forward text box, press [Enter],
click the Fill & line button ~. click the Color list arrow i:li click Indigo, Accent 1,
Darker SO%, then dose the Format Trendline pane
The formatted Australia trendline projects an additional 3 months of future sales trends for the region,
assuming that past trends continue.
6. Double-dick the Asia data series trendline, enter 3 in the Forward text box in the
Format Trendline pane, press [Enter], dick ~. click the Color list arrow ~. click
Orange, Accent 3, Darker SO%, then close the Format Trend line pane
The formatted Asia trendline also projects an additional 3 months of future sales trends for the region,
assuming that past trends continue. The trends would be easier to spot if there were more room for the
plot area.
7. Click [!1 then click the Chart Title checkbox to deselect it
Ne~t you will change the Asia june data. When chan data is changed you will view the chart animation
showing the resulting changes to the chart.
8. Type 80,000 in cell GS, view the chart as you press [Enter], enter your name in the
center section of the Sales sheet footer, save the workbook, preview the Sales sheet,
close the workbook, submit the workbook to your instructor, then exit Excel
The completed worksheet is shown in FIGURE 10-11.
.., ...
; . :I ~I N.2li
;
6 "'".
$51!,.!0' Tren.dlines
I
,...,.
-
9
.. -
IQ
,,..,.
-
II
11
ll
1: ......
.......
·~
I~
18
"
,_
• .. IU
... ...
- "*
,.,. .....
............, ""
,_.....,
:0
lt
-~ - ~ZIIiaM
...
AGURE 10.17: Sales chart wilb trendlines for Australia and Asia data
S70,Q(J)
S60,1100
$51\lk10
S40A~
530,000
$20,1Jt..J
~10.1100
50
- Auscralia - Nl"W /ooland - Asia ....... Lmear (Australla~ .... ... Li.n.?or (Asia)
Enhancing Charts
Practice
Concepts Review
FIGURf10·11
D"
a • r--------------~--~
-----~·~---=========~--~:7--- ~
T
Match each term with the statement that best describes it.
7. Plot area a. Category axis
8. Data series b. Miniature charts that show data trends
9. X·axis c. Line charts that can be: used to project future data
10. Sparklines d. Sequence of values plotted on a chart
11. Trendlines e. Location holding data charted on the axes
Excel242 E ha Carts
Select the best answer from the list of choices.
12. Descriptive text that appears above a data marker is called a:
a. Data series. c. High point.
b. Data label. d. Period.
13. Whicb of the following is true regarding WordArt?
a. Ccll rclerences to WordAit can be used in formulas.
b . WordArt is a shape.
c. Spelling errors in WordAit can be detected by the spcll checker.
d. Cells containing WordArt can be sorted.
14. Whicb Chart feature shows bow a cbange in data values affects a chart?
a. Visualization c. Update
b . Animation d. format
15. A chart1s scale:
a. C.an be adjusted. c. Always has a minimum of 0.
b. Always has a maximum of8()()()(). d. Always appears in units of 10.
16. A chart that combines two or more cbart types is a:
a. Combination chart. c. Oustered chart.
b. Grouped chart. d. Complex chart.
17. What is a data table?
a. Acustomized data series c. Agrid with chart data displayed above a chart
b. TI1e data used to create a chart, displayed d. A three-dimensional arrangement of data on
in a grid they-axis
18. Which of the following is false regarding treudlines?
a. Trendlines visually represent patterns in past data. c. Six types of trendlines can be added to a chart.
b. Trendlines are used to project future data. d. Trendlines can be formatted to stand out on a chart.
Skills Review
1. Customize a data series.
a. Start Excel, open EX 10-Z.xlsx from the location where you save your Data Files, then save it as
EX 10-Campus Coffee.
b. Select the range A2:D6.
c. Create a clustered column chart using the selected data.
d. Move and resize the cbart to lit in the range A8:G20.
e. Change the fill color of the january data series to Ta.n, Accent 1, Darker SO% in the Theme Colors.
f. Change the chart view by e.xchanging the row and column data.
g. Save the workbook.
2. Change a data source and add a chart style.
a. Add the April, May, and June data to the chart.
b. Resize the chart to fill the range A8:J20 to display the new data.
c. Change the chart view back to show the months in the legend by exchanging the row and column data.
d. Apply Chart Style 14.
e. Save the workbook.
3. Add chart clements.
a. Move the chart to its own sheet named Sales Chart
b. Add a data table with legend keys.
c. Add data labels to your chart.
ng v a:ts
Skills Review (continued )
d. Remove the data table legend keys. FIGURE 10-19
e. Save the workbook, then compare your screen to FIGURE 111-19.
""''""'
4. Format chart axes. ~--
a. Remove the data table.
b. Set the value axis maximum to 5000.
c. Add a horizontal axis title and label it Products.
d. Add a vertical axis title and label it Sales.
e. Fonnat both axes' titles in 12-point bold.
-- -..
f. Save the workbook.
S. Create a combination cbart.
a. On the Sales sheet, enter Average in cell A7.
..
b. Select the range B3:G6 and use the Quick Analysis tool to
place averages in row 7.
c. Edit the data source for the chart to include the range A2 :G 7.
d. Switch the row and column chart view.
e. Change the chart type to a combination chart, with the coffee, tea, pastry, and juice data as clustered column charts
and the average data as a tine chart.
f. Remove the data labels.
g. Save the workbook. FIGURE 10-20
6. Enhance a chart.
a. Add a chart title of Campos Coffee to the top of the chart.
b. Format the chart title with the WordArt style Fill - Blue,
--
Accent 4, Soft Bevel.
c. Remove the grtdlines. -
d. Add a shape style of Subtle Effect · Aqua, Accent 3 to the
plot area.
e. Compare yow chart to FIGURE 10-20. -
f. Add yow name to the chart footer, then save the workbook.
7. Summarize data witb sparklines.
_,_ _.. -----
a. On the Sales worksheet, add a Une sparktine to ceU H3 t11at
represents th.e data in the range B3:G3.
b. Copy the sparktine in cell H3 into the range H4:H6.
c. Change the sparklines to colwnns.
d. Apply the Sparkline style Colorful #2.
e. Add high point markers with the color of Green from the Standard Colors.
f. Save the workbook. FIGURE 10-21
8. Identify data trends. ..
a. Create a line chart using the data in the range A2:G6,
- .....
-.... ...0 .....·--- .........-···.
.... .....-.... -
w•
then move and resize the chart to fit in the range A8:G20.
b. Add linear trendlines to the Coffee and Tea data series.
c. Change the Tea trendline color to red and the Coffee
trendline color to purple.
•-...----
....
"'"" wo
I'I,:M ......
,._
·~
( I t"' "- ~
... ......
d. Set the forward option to six periods for both trendlines ,."' -~
_
to view the futwe trend, increase the width of the chart
·-
' .. -
--·
1•
to the border between columns J and K, remove the
chart title, then compare yow screen to FIGURE 111-21.
' •
_ ..............
~
_,_. _,_
...
E Ca
Skills Review (continued)
e. Add your name to the center footer section of the Sales sheet, save the workbook, preview the worksheet, dose the
workbook, then submit the workbook to your instructoL
f. Exit ExceL
Independent Challenge 1
You are the manager of a car rental company. You track the percentage of different types of verudes rented from the lot using
a worksheet. In preparation for an upcoming meeting with rental agents, you need to create two charts based on this data.
a. Start Excel, open EX 10·3.xlsx from the location where you store your Data Files, then save it as
£X 10 -Vehiclcs.
b. Using the data in A2:B7 of the Vettides worksheet, create a pie chart on the worksheet.
c. Move the chart to a separate sheet named Vehicles Pie Chart. Fonnat the chart using Chart Style 9.
d. Change the chart tide to Rental Percentages. Fonnat the title using WordArt Fill - Plum -Accent 3, Sharp
BeveL Change thechart title font to a size of 28. (Hint: Right-dick the title and click Font on the shortcut menu.)
e. Add values to the data labels. (Hint Double-click a data label
and select the Value checkbox in the Format Data Labels pane.) FIGURE 10.22
f. Select the Compact pie slice by clicking the chart, then clicking
the Compact slice. Change the slice color to the Pink, Accent 2,
Ughter 60% Theme color.
-
g. Add a shape style of Subtle Effect - Pink, Accent 2 to the chart
area. Compare your chart to FIGURE 10-22.
h. Return to the Vehicles worksheet, then use the data in AI :87 to
create a clustered column chart.
i. Place the chart on a new sheet named Vehicles Column
Chart. Format the chan using chan Style 7.
j. Change the chart title to Ren tal Percentages above the
chart, and format the title using WordArt Style Fill - Pink, Accent 1, Shadow.
k. Format the title in 28-point font.
I. Add horizontal and vertical axis titles. Change the tiitle of the horizontal axis to Category. Change the title of
the vertical axis to Percentage. Format both axes' titles in I 8-point bold.
m. Enter your name in the center sections of the footers of both chart sheets.
n. Save the workbook, then preview the charts.
o. Close the workbook, submit the workbook to your i:nstrnctor, t11en e.xit Excel.
Independent Challenge 2
You manage the local YMCA branch, which offers different categories of mernbersrups. The regional office has asked you
to assemble a brief presentation on the mernbersrup data over the past 4 rears. You dedde to include a mart showing
the memberships in each category as we.U as an analysis of trends in membersrups.
a. Start Excel, open EX 10-4.xlsx from the location where you store your Data Files, then save it as
£X 10-Membersh ips.
b. Create a clustered bar chart on the worksheet, comparing the membersrup enrollments in the four types of
memberships over the years 2014-2017.
c. Change the row and column data so the years are shown in the legend.
cl Add a chart title of Mcml,crship Data above tile chart, and fonnat it using WordArt Style Gradient
FiU - Dark Green, Accent 4, Soft Bevel.
Independent Challenge 2 (continued)
e. Move the chart to the region A9:H24.
f. Add line sparklines to cells F4:F7 showing the membership trend from 2014 to 2017.
g. Fonnat the sparlilines using Sparkline Style Dark #5.
h. Add high point markers to the sparklines with the color Roed, Accent 2 from the theme colors.
i. Add a new membership type of Senior in row 8 of the worksheet with the data in this table:
Year Membership
2014 405
2015 499
2016 550
2017 690
j. Add the data to the chart. Copy the sparklines to ceU f8.
k. Move the chart to a sheet named
Membershlp Chart. FIGURE 10-23
I. Add a horizontal axis title of Number of
Memberships, and fonnat i1 in 16-point bold
font. Delete the vertical axis title placeholder.
m. Add a data table with legend keys to the chart.
Delete the chart legend.
o. Compare your chart to FIGURE 11!-23.
o. Add your name to the footers of the
Membership and Membership Chart sheets,
save the workbook, and preview the
Membership Chart and Membership sheets.
p. Close the wol'kbook, submit the workbook to
....• .......• ~
•••Hu,._..., of H.,..be..-hl't ~·
~
~·
Independent Challenge 3
You manage the New England region of a home design store. You meet twice a year with the national sales manager to
discuss store sales trends. You decide to use a chart to represent the sales trends for stores you manage. You begin by
charting the sales for the first six months of the year. Then you add profit data to the chart and analyze the sales trend
using a trendline. Lastly, you enhance the chart by adding a data table and titles.
a. Start Excel, open EX 10-S.xlsx from the location where you store your Data Files, then save the workbook as
EX 10-New England Home.
b. Create a clustered column chart on the worksheet showing the january through March sales infonnation, using the
first Clustered Column suggestion in the chart recommendations. Move the upper-left corner of the chart to cell AS
on the worksheet.
c. Format the january data series using the lime, Accent 1, Darker 50% color
Cell Doto
from the theme colors.
A7 Profit
-
d. Add t11e Apr, May, and Jun data to the chart.
e. Move the chart to its own sheet namedjan - Jun. 87 S2,510
f. Add the profit data shown in the table to the Sales sheet. a S1,870
g. Add the new profit data to the chart, then change the row and 07 S2,350
column view so the store locations are in the legend. E7 S1,970
F7 S1,005
h. Change the chart type to a combination chart placing all store locations in a clus-
tered column chart and the profit data in a line chart. G7 S1,855
[ •c - ~
Independent Challenge 3 (continued)
i. Add a chart title ofjanuary • June Sales in 28-point font above the chart. Fonnat the chart title using the
WordArt Style Fill · lime, Accentl, Shadow.
j. Add a title of Sales in 20-point to the vertical axis. Fonnat
it in the same WordArt style as the chart title. Delete the RGUREI0-24
horizontal axis title placeholder.
k. Change the value axis scale to a maximum of 6000, then save
your workbook.
I. Add data labels to the profit data SHies. (Hint: Select the profit
-
line chart before adding data labels.)
j-
m. Compare your chart to FIGURE 10-24.
n. Enter your name in the center footer section of the chart
sheet, save the workbook, then preview t11e chart.
-
o. Close the workbook, submit the workbook to your instructor,
then exit Excel.
a. Start Excel, open EX 10-6.xlsx from the location where you store your Data Files, tllen save the workbook as
£X 10-Customer Satisfac tion.
b. Create a clustered column chart using the data in cclls A3:BIO. Move and resize your chart to fill the range OJ:L20.
c. Link tile chart title to cell AI. (Hint: With tile chart title selected, type " in tile formula bar, click cell Al, tllen
press [EnterJ.)
d. Format tile chart title text in WordArt style rill· Blue, Accent 1, Shadow.
e. Add a vertical axis title and link it to ccll A3. Fonnat tile axis title using a shape style of Subtle Effect· Blue,
Accent I. Add a shape effect of ciicle bevel.
f. Delete the horizontal axis title.
g. To improve the visibility of the Average Customer Rating series, place it on a line chart and assign it to a secondary
axis. (Hint Change the chart type to Combo and select Secondary Axis for the Average Customer Rating line chart)
h. Change the text in cell 83 from Average OJstomer Rating to Customer Rating and verify that the legend changed.
i. Change the chart title link to ccll A2 and verify tile change in the chart title.
j. Edit cell 84 to 6.0 and view the chart animation of the second bar to reflect this data change.
k. Add data labels to the Customer Rating data series. {ffmt: Select the Customer Rating line chart before adding
data labels.)
I. Assign the same shape style to the chart
title that you assigned to tile vertical axis. AGURE 10-25
..
-.--.. --
m. Compare your chart to FIGURE 10-25. ~:::;;:-~-~::::r·-'--"-- --''--. """'"""',..----'- --'--"-~
----
..,_
n. Change the worksheet orientation to .-...,. ..... u
Landscape, then scale the workshei!t ~
--- .. .
u
wid til to fit on I page. Enter your name
"
"
I=- "
I
in the center footer section of t11e "
worksheet, save the workbook, then ""
I ..
~
E
Visual Workshop
Open EX J0-7.xlsx from the location where you store your Data Files, then create the custom chart shown in FIGURE 10·26.
(Ffint The trendlines forecast three penods fonvard and use the standard line colors green and red.) Save the workbook a.s
EX 10-Footware Sales. Study the chart and worksheet carefully to make sure you select the displayed chart type with
all the enhancements shown. Enter your name in the center section of the workshed footer, then pre\1ew the worksheet in
landscape orientation on one page. Submit the workbook to your instructor.
FIGURE 10-26
A s c D E f G
7 I
8
9 !Footware Salesl
10
-
$ 20.000
ll
12
13 ___________________......--···-·
14
~-
16 _________-_.. -- ... -~
.---:::: --- ~
17
18 $ta,ooo ___ ...... ---~
--
19
20 $to,ooo
21
22 t&.ooo
23
24
25
26..,
27
28
29 $0
30 Jan F•b Mar Apr Mav Jun
31 - North~st - Southeast - Mldw..sl - west - -- --· Linear(Nort.hPut) ---- .. ·Linear(Midwen)
1'!2
Excel248 C arts
IExcel 2016 Module 11
Performing What-if
Analysis
~ Rae-Ann Schwartz, the manager of the head office for Reason2Go, is working on
sales projections and targets for the first half of the year. In preparation for this
project, Rae-Ann asks you to help analyze the· sales data for the other four branch offices using
what-if scenarios, data tables, Goal Seek, Solver, and the Analysis TooiPak.
Module Objectives
After completing this module, you will be able to:
• Define what-if analysis • Use Goal Seek
• Track what-if analysis with Scenario • Set up a complex what-if analysis
Manager with Solver
• Generate a scenario summary • Run Solver and summarize results
• Project figures using a data table • Analyze data using the Analysis TooiPak
•'
LGo-.
~
1 T.....
f'W'afttoif
a TGtll~ lfUJ 17.
•
10
II
12
u Dependent cell formulas
"'
~
.-of
6
1
s..t-
,...,
·-~ --~.,~~
$41AU
Imi,S'NI
~--~--~~~~~--~~~~~--,
'"'·""" $ 619.921 l$.&111
1. Start Excel, open EX 11-l.xlsx from the location where you store your Data Files, then
save it a.s EX 11-Sales
The first step in defining a scenario is choosing the changing cells. Changing cdls are those that will vary
in the different scenarios.
2. With the Projected Sales sheet active, select range C3:E3, dick the Data tab, dick the
What-If Analysis button in the Forecast group, then dick Scenario Manager
You want to be able to easily return to your original worksheet values, so your first scenario contains
those figures.
3. Click Add, drag the Add Scenario dialog box to the right if necessary until columns A
and B are visible, then type Original Sales Figures in the Scenario name text box
The range in the Changing cells box shows the range you selected, as shown in FIGURE 11 -3.
4. Click OK to confirm the scenario range
The Scenario Values dialog box opens, as shown in FIGURE 11-4. The existing values appear in the changing
cell boxes. Because you want this scenario to reflect the rurrent worksheet values, you leave these unchanged.
5. Click OK
You want to create a second scenario that will show the effects of increasing sales by S5,000.
6. Click Add; in the Scenario name text box type Increase Feb, Mar, Apr by 5000; verify that
the Changing cells text box reads C3:B, then click OK; in the Scenario Values dialog
box, change the value in the SC$3 text box to 80189, change the value in the SDS3 text
box to 76423, change the value in the SES3 text box to 89664, then click Add
You are ready to create a third scenario. It ~>iill show the effects of increasing sales by S10,000.
7. In the Scenario name text box, type Increase Feb, Mar, Apr by 10000 and click OK; in the
Scenario Values dialog box, change the value in the SCS3 text box to 85189, change the
value in the SDS3 text box to 81423, change the value in the SES3 text box to 94664,
then click OK
QUICK TIP
The Scenario Manager dialog box reappears, as shown in FIGURE 11-5. You are ready to display the results of
To edit a scenario,
your scenarios in the worksheet.
select it mthe 8. Make sure the Increase Feb, Mar, Apr by 10000 scenario is still selected, click Show, notice
Scenario Manager
dialog box, did< lhe that the percent of New York sales in cell 13 changes from 31.68% to 3291%; dick Increase
Edit button, then Feb, Mar, Apr by 5000, click Show, notice that the New York sales percent is now 32.30%;
edit the Scen.uio.
click Original Sales Figures, dick Show to return to the original values, then click Close
9. Save the workbook
Excel 252 Performing WhaHf Analysis
... __
FIGURE 11-3: Add Scenario dialog boX
'
Cell range
containing
--
..,... . ...,.;;::========]
value that yoo ~~;!F:::·~,...
~::::::::::::::::::;:;:::::::::;:==::E
wiltchange ..................,___.. ..........
Your user
.........._.,
name and
date will be
different --li!--
o-
10
11 with original values
f2
l3
14
IS
--- ·- ' --
FIGURE 11-5: Scenario Manager dialog box with three scenarios listed
X
Scenarios -,.r=:-~
...
~"'
--
' - " ' - • IICU1(fl
(.o. . . . . . . . . . . - - . ... 11111:#U
Merging scenarios
- 1
Exc.el stores scenarios in the W()(kboolt and on the worksheet il you how many scenarios exist on that sheel To merge scenarios
which you aeated them. To apply scenarios from another W()(ksheet from another wori<bool(, such as those sent to you in a wori<book by
or wori<book into the CUIWlt wori<shee!, dick the Merge button il a coworicet, open the other workbook file, dick the Book lin arro.v in
the Scenario Manager dialog box. The Merge Scenarios dialog box the Merge Scenarios dialog box, then elicit the wori<book name.
opens, letting you select scenarios from other locations. When you Wilen you merge wori<book scenariO\ i~s best Wthe workbooks
did a sheet name in the sheet tis~ the text under the sheet list tells ll.M! the same structure, so that there is no confusion of ceO values.
1. Seled the range 82:13, click the Formulas tab, click the Create from Selection button in
the Defined Names group, click the Top row check box to select it if necessary, then
click OK
Excel creates the names for the data in row 3 based on the labels in row 2. You decide to rt'\~ew them.
2. Click the Name Manager button in the Defined Names group
The eight labels appear. along "~th other workbook names, in the Name Manager dialog box, confirming
that they were created, as shown in FIGURE 1H . Now you are ready to generate the scenario summary report.
3. Click Close in the Name Manager dialog box, click the Data tab, click the What-If
Analysis button in the Forecast group, dick Scenario Manager, then click Summary in
the Scenario Manager dialog box
Excel needs to know the location of the cells that contain the formula results that you want to see in the
report. You want to see the results for New York total and percentage of sales, and total R2G sales.
4. With the contents of the Result cells text box selected, click cell H3 on the worksheet,
type , (a comma), click cell 13, type , (a comma), then click cell H7
With the report type and result cells specified, as shown in FIGURE 11·7, you are now ready to generate
the report.
5. Click OK
Asummary of the worksheet's scenarios appears on a new sheet titled Scenario Summary. The report shOI'Il
outline buttons to the left of and above the worksheet so that you can bide or show report details. llt'cause
the Current Values column shows the same values as the Original Sales Figures column, you decide to delete
column D.
6. Right-dick the column D heading, then click Delete in the shortcut menu
Next, you notice that the notes at the bottom of the report refer to the column that no longer exists. You
also want to make the report title and labels :for the result cells more descriptive.
7. Select the range 813:815, press [Delete], select cell 82, edit its contents to read
Scenario Summary for New York Sales, click cell C10, then edit its contents to read
Total New York Sales
8. Click cell Cll, edit its contents to rea'll Percent New York Sales, click cell C12, edit its
Iwo11<sheet. If you contents to read Total R2G Sales, the.n click cell A1
the values in
The completed scenario summary is shown in FIGURE 11-8.
you
generate a new 9. Add your name to the center section of the Scenario Summary sheet footer, change the
summary.
page orientation to landscape, then save the workbook and preview the worksheet
Newly
created
names
INor\~o...
WOittto...
WOftbo..,
Rtport fys)t
Oefautt report type -+"l~!)su..nolum""'"'
0 sunt,lo.flvotTable ttporl:
Cells to be ,&tsuh <t\ls:
recalculated w_hen _ •SHs~s"'·"''7 lfliil
a new scenano 1s ==~;:::::=:::;"-;::===:~
applied o• I I """' j
•
Columns Eand f
oontain values
f()( 5,000 and
10,000 increase
scenarios
1. Click the Projected Sales sheet tab, e11ter Total N.Y. Sales in cell K1, widen column Kto
fit the label, in cell K2 enter 419921, in cell K3 enter 469921, select the range K2:K3, drag
the fill handle to select the range K4:K6, then format the range using the Accounting
number format with zero decimal places
You begin setting up your data table by entering total New York sales lower and higher than the total in
cell H3. You can choose any values for these totals but having a consistent variation between these values will
help you understand the impact of the N.Y. \(>tal on the percent of total sales. You will use increasing amounts
of $50,000. These possible totals constitute the input values in the data table. With the varying input values
listed in column ](, you enter a fonnula reference to cell 13 that you want Excel to use in calculating the
resulting percentages (the output values) in column 1.., based on the possible totals in column K.
2. Click cell ll, type =, dick cell 13, dick the Enter button ~ on the formula bar, then
format the value in cell L1 using the Percentage format with two decimal places
The value in celll3, 31.68%, appears in cell Ll, and the cell name =Percent_of_Totai_Sales appears in the
formula bar, as shown in RGURE 11-9. Because it isn't necessary for users of the data table to see the value in
cell Ll, you want to hide the cell's contents from view.
3. With cell L1 selected, dick the Home tab, dick the Format button in the Cells group,
dick Format Cells, dick the Number tab in the Format Cells dialog box if necessary, dick
Custom under Category, select any characters in the Type box, type ;;; (three semico-
lons), then click OK
Applying the custom cell fonnat of three semicolons hides the values in a cell. With the table structure in
place, you can now generate the data table showing percentages for the varying sales amounts.
4. Select the range K1 :L6, dick the Data tab, dick the What-If Analysis button in the
Forecast group, then dick Data Table
The Data Table dialog box opens, as shown in FIGURE 11-10. Because the percentage fonnula in celll3 (which
you just referenced in cell Ll) uses the total sales in cell H3 as input, you enter a reference to cell H3. Yoo
place this reference in the Column input cell text box, rather than in the Row input cell te.xt box, because
the vaf)~ng input values are arranged in a column in your data table structure.
5. Click the Column input cell text box, dick cell H3, then dick OK
Excel completes the data table by calculating: percentages for each sales amount.
6. Format the range L2:L6 with the Percentage format with two decimal places, then dick
cell A1
QUICK TIP The fonnatted data table is shown in FIGURE 11-11. It shows the sales percentages for each of the possible
You cannot delete levels of N.Y. sales. By looking at the data table, Rae-Ann determines that if she can increase total New York
individual output
values in a data ta~
sales to S619,921, the N.Y. branch will then comprise just over 35%of total sales for the first half of2018.
you must delete all 7. Add your name to the center section of the worksheet footer, change the worksheet
output values.
orientation to landscape, then save the workbook and preview the worksheet
Excel256 Performing WhaHf Analysis
FIGURE 11-9: One-input data table structure
u
•
>
··-
J ,._,.,..
.•,-,_...,..,
·-
·-
FIGURE 11-10: Data Table dialog box
Data Table 7 X
.,·-....
2 .. .. ...,. • ""¥ .... 1'.W 1oWW. s .U9.,Ul
l .... , ... J91,.4~SJ1,111 !Jt,A.D sa.&,M4 St1,.tH ~ JllU U .. lUll. S 41ttJU B.Se•
,......, su.ou......,,..,.. _ _ _ _ ..-
·-..
SW. SJ'U26 ~ ..... Sruru S'IO.- SIJt.:.ltl .a.Lnlo S Sl9.flJ Dt.ld
!&U1:1 161,~ ~ Sll\* Sll.ltl UI,SJC S-31~ lUft
I !• ....,,.
..._.,
....... I 11.1!1!1
..
two-input data table structure was created by first entering the
number of payments in the range 86:06 and rates in the range
~
f
••
.... _ ...
..
,_,
·-......""' _.,......,..,..
•>n -.n ..,....,
"''"
....., ,"'"'
.....
IUl.a
-
A7:A 15. Then the data table values were created by selecting the 10 'n• ... I&,
_...
.-=• """
_
JUlJ:
".."u
range A6:015, clicking the Data tab, clicking the What-H Analysis
button in the Forecast group, then clicking Data Table. In the
....... ....... ...,.
""
.,...,.
Data Table dialog box, the rCffl input value is the term in cell Q.
a """"
~ ......
The column input value is the interest rate in cell 82. You can 11
1. Click cell 88
The first step in using Goal Seek is to select a goal cell. A goal cdl contains a formula in which you can
substitute values to find a specific value, or goal. You use cell 88 as the goal cell because it contains the
percent formula.
2. Click the Data tab, dick the What-If Analysis button in the Forecast group, then dick
Goal Seek
The Goal Seek dialog box opens. The Set cell text box displays 88, the ccll you selected in Step I, which
contains the formula that calculates januaris percentage of sales. You need to indicate that the result in cell
88 should equal17%.
3. Click the To value text box, then type 17%
The value 17% represents the desired solution you want to reach by substituting different values in the By
changing cell.
4. Click the By changing cell text box, tlhen dick cell 83
You have specified that you want ccll 83, the New York january amount, to change to reach the 17% solu-
tion, as shown in FIGURE 11·13.
S. Click OK
The Goal Seek Status dialog box opens with the following message: "Goal Seeking 1\~th Cell 88 found a
solution.• In the worksheet, notice the ne-w value in cell 83. By changing the amount in this cell to
$114,110, Goal Seek achieves a january per•centage of 17. If you click OK, the new value will be entered
in the worksheet; if you dick Cancel, the original value will be restored.
6. Click OK, then dick cell A1
Changing the sales amount in cell 83 changes the other dependent values in the worksheet (B7, H3, 13,
and H7), as shown in FIGURE 11·14.
7. Save the workbook, then preview the worksheet
· ~=======1c;M;-~,~
J ,._,..
. ·:·~
~ ~·~·~ ·~- ·~~~~~~~~~~~~~~~~~
'l1.,140 S8.\Zil
·~
~::
17»,1U
_. ,.....,.. SlUO SIUJO: SJ)IIIJIIQ
.
' '--"- s 1.&.11.)
1, . _} -
• - <tUlO
._._,
• focal~ .,.,...,..
II ~-
...... Coostraints
Amount must
be 3,100,000
Cells containing
branch budget ~--4<.-.
amounts Cell value is 715,000
,.. .
"
-.. . Target cell - :-M;;u;;;;;;:=
...
.,~
0
.... (-
Changing cells - -....O,.!>iuit•~-========:=:=:=:=:=:=:_
- -
_______:.,
Target value
Constraints
......" ... :!::
--==::: ~.'-'"'
-"-----------.,
...
onworltsheet ---~
values
- -
......-----~
1. Click Solve
The Solver Results dialog box opens, indicating that Solver has found a solution, as shown in FIGURE 11-11.
The solution values appear in the worksheet, but you decide to save the solution values in a summary work·
sheet and display the original values in the worksheet.
2. Click Save Scenario, type Adjusted Budgets in the Scenario Name text box, dick OK, in the
Solver Results dialog box click the Restore Original Values option button, then dick OK
The Solver Results dialog box closes, and the original values appear in the worksheet You \\ill display the
Solver solution values on a separate sheet
3. Click the What-If Analysis button in the Forecast group, click Scenario Manager, with the
Adjusted Budgets scenario selected in the Scenario Manager dialog box click Summary,
then click OK
The Solver results are displayed, as shown in FIGURE 11 ·19. You want to fonnat the information so it is easier
to interpret.
4. Select Column A, dick the Home tab H necessary, dick the Delete button in the Cells
group, right-dick the Scenario Summary 2 sheet tab, dick Rename on the shortcut
menu, type Adjusted Budgets, then press [Enter]
S. Select the range A16:A18, press [Delete], select the range A2:D3, dick the Fill Color list
arrow in the Font group, click Blue, Accent 1, select the range AS:D1S, click the Fill Color
list arrow, click Blue, Accent 1, Lighter 80%, right-click the row 1 header, click Delete,
select cell A1, then enter Solver Solutions
The formatted Solver solution is shown in FIGURE 11-20.
6. Enter your name in the center section of the worksheet footer, save the workbook, then
preview the worksheet
Click to restore
worksheet to its -..a-·- "' =-
original state
c--.
...,_ Click to create a
+i-- scenario summarizing
Solver's answer
+ '
I
•• ,......,.,.r,,..
•'
I
__
·--
·--
T.-o.~
....... ,
_..._
Best possible combination
1- - - of travel and entertainment
budget allocations
.
11
-~_.,....,
~-·••ilf!1:ei4llitl'l •
..
.,.
~~
-·
.........
,
10 london_Tmf!l
SVdnev...Ernertainment
$?0,920
$79,7~
$100,084
Sl04,08l
SydREy Travel $70,625 $9<.083
1. Click the Projected Sales sheet tab, dick the Data tab, then click the Data Analysis
WData Analysis does button in the Analyze group
not appear on yru
Data tab, did< the lie The Data Analysis dialog box opens, listing the available analysis tools.
tab, did< Options,
did< Add<n~ did<
2. Click Descriptive Statistics, then click OK
Go, in the AMins The Descriptive Statistics dialog box opens, as shown in FIGURE 11-21 .
dialog box did< the
Nlaly>is TooiPak 3. With the insertion point in the Input Range text box, select the range H3:H6 on the
dle<k box to select it, worksheet
!hen did< OK. You have told Excel to use the total projected sales cells in the statistical analysis. You need to specify that the
data is grouped in a column and the results should be placed on a new worksheet named Branch Statistics.
4. Click the Columns option button in tlhe Grouped By: area if necessary, dick the New
Worksheet Ply option button in the Output options section if necessary, then type
Branch Statistics in the text box
New Worksheet Ply indicates that the output will be placed on a new sheet (sometimes called a ply) in the
workbook. You selected this option because you want to add the summary statistics to the new worksheet
S. Click the Summary statistics check box to select it, then dick OK
The statistics are generated and placed on the new worksheet named Brandl Statistics. TABLE 11-1 describes the
statistical values provided in the worksheet. Column A is not wide enough to \'iew the labels, and the work-
sheet needs a descriptive title.
6. Widen column A to display the row labels, then edit the contents of cell A1 to read Total
Projected Sales jan - Jun
The completed report is shown in FIGURE 11 -22.
7. Enter your name in the center section of the Branch Statistics footer, preview the report,
save the workbook, close the workb0ook, then exit Excel
8. Submit the workbook to your instructor
Predicting data trends with Forecast Sheet
Forecast Sl>eet is a tool to projea future data based on past uends data lacks a valid pattern or seasonafity, you can manually set this
when you have historical time-based data. You can then forecast by expanding the Options area, then choosing the Set Manually
the future or your data related to a timeline by selecting the data, option button, lo<oming the Confidence Interval percentage, or
eliding the Data tab, then cficking the Forecast Sheet button in the eliding the Fill M~sing Points Using list arrow and selecting Zeros.
Forecast group. The Create Forecast WOf1csheel dialog box opens, F«ecasting sheet functions can also be used to predict future
where you can enter your Foreca!l End date and did Create. A values based on historical data. For example, ForeustmO returns
chart is aeated, showing your values along with the forecast values the projected va~ for a spec~ic future target date. You can also
and the related confidence levels. Adata table is also added to the use Forecast.ETS.Confint() and ForecasLETS.SeasonalityQ to find
worksl>ee~ showing the new projected data for the chart Wyour confidence intervals and the repetitive pattern length of data
o--
. ............er
o ... -
.:.__ Enter worksheet name
for statistical report
Ciick tocreate
statistical report ' a--··-:!=.:1J-
r--••o-.-
o ..._
~
o ..- '
• Sample Var:fance
9 Kurtosis
S.Al!l«19
o.oJSgs
tO Skewness 0.~14
t1 RMgt 2US17.A
t;l M1nirnutn 12203:9
n Maximum Snss&A
r4 sum 105<647
I! Count ~
16
17
11
-,....., $<),>GO--
,,..,.
- -- ,._
- ·--
... .... ,,.,..
,_ .....
....... s ....,., ,.,......
- -
•U'-9JI 71.ml
$19»'
S9UH
'""'"
S?GMI SO&.ltt w...
S>l....l
$JOt.$D
u ......
1110,101 ,...,... ,,......, , . , , . ,..........,
lJ.l>..
s
s
s
s
"9.9U
~u
6t9.9ll
....
,__
JMUI
Match each term with the statement that best describes it.
6. One.-input data table a. Add-in that helps you solve complex what-if sceoarios with multiple input values
7. Solver b. Separate sheet with results from the worksheet's scenarios
8. Goal Seek c. Generates values resulting from varying two sets of changing values in a fommla
9. Scenario summary d. Helps you backsolve what-if scenarios
10. Two-input data table e. Generates values resulting from varying one set of changing values in a formula
rtrm1~nWbat fA \'SIS
14. When you nse Goal Seek, you specify a then find the values that produce it.
a. Row input cell c. Changing value
b . Column input cell d. Solution
15. Which of the following Excel add-ins can be used to generate a statistical mmmary of
worksheet data?
a. Solver c. Conditional Sum
b . Lookup Wizard d. Analysis ToolPak
Skills Review
1. Define what-if analysis.
a. Start Excel, open EX 11-Z.xlsx from the location where you store your Data Files, then save it as
EX 11-Repair.
b . Examine the Stair Stepper Repair worksheet to detcrmine the purpose of the worksheet model.
c. Locate the data input cells.
d. Locate any dependent cells.
c. Examine the worksheet to determine problems the worksheet model can solve.
2. Track what-if analysis with Scenario Manager.
a. On the Stair Stepper Repair worksheet, select the range B3:BS, then use the Scenario Manager to set up a scenario
called Most Likely with the current data input values.
b. Add a scenario called Best Case using the same changing cells, but change the Labor cost per hour in the SBS3
text box to 80, change the Parts C05t per job in the SBS4 text box to 70, then change the Hours per job value in
cell SBSS to 2.5.
c. Add a scenario called Worst Case. For this scenario, change the Labor cost per hour in the SB$3 text box to 95,
change the Parts c05t per job in the SBS4 text box to 85, then change the Hours per job in the $BS5 tex't box to 4.
d. If necessary, drag the Scenario Manager dialog box to the right until columns Aand Bare Visible.
e. Show the Worst Case scenario results, and view the total job cost
f. Show the Best C.ase scenario results, and observe the job cost. finally, display the M05t Ukely scenario results.
g. Close the Scenario Manager dialog box.
h. Save the workbook.
3. Generate a scenario summary.
a. Create names for the input value cells and the dependent cell using the range A3:B7.
b . Verify that the names were created. (You will see other names in the Name Manager dialog box.)
c. Create a scenario summary report, using the Cost to complete job value in cell 87 as the result ceiL
d. Edit the title of the Summary report in cell 82 to read Scenario Summary for Stair Stepper Repair.
e. Delete the Current Values column.
f. Delete the notes beginning in cell Bll. Compare your worksheet to RGURE 11 -24.
g. Return to cell AI, enter your name in the center section of the Scenario Summary sheet footer, save the
workbook, then
FIGURE 11·24
preview the Scenario
Summary sheet. ..Jlil e c 0 ~ --- f G
't---il
~ Sc:enino Summary for Stair Stepper Rep.atr
4. Project fignres using
a data table. ttl 3 110lllft9ft' St$1C.se Worot C::Iu
'-=J s c h.a
1
1 C~Us:
a. Click the Stair 6 labor_coen.,per_hour S8DOO S!!S 0
Stepper Repair
sheet tab.
I 7
8
g
Parts_eo~_perjob
Ho.J:rs per tob
IResult Cell&:
57000
zso
$$500
J 00
the worksheet.
5. Use Goal Seek. •
3 UDorlllll,._
4 ~a. ...,.
5 fiQIIr'S - lCD ... m.IJ:I
SJSOO
a. Click cell 87, and open the Goal Seek dialog box. I - · -...
1
I
b . Assuming the labor rate and the hours remain the
same, determine what the parts would have to cost so
'"
that the cost to complete the job is S300. (Hint Enter a job cost of 300 as the To value, and enter 84 (the Parts
cost) as the By changing cell.) Write down the parts cost that Goal Seek finds.
c. Click OK, then use [CtriJ[Z) to reset the parts cost to its original value.
d. Enter the parts cost that you found in step Sb into cell A14.
e. Assuming the parts cost and hours remain the same, determine the labor so that the cost to complete the job is
$300. Use [Ctri][Z) to reset the labor cost to its original value. Enter the labor cost in cell AlS.
f. Save the workbook, then preview the worksheet.
6. Set up a complex what·if aualysis witb Solver.
a. With the Equipment Repair sheet active, open the Solver Parameters dialog box.
b. Make 814 (the total repair costs) the objective cell, with a target value of 16,000.
c. Use cells 136:06 (the number of aU scheduled repairs) as the changing cells.
d. Specify that cells 86:06 must be integers. (Hint: Select int in the Add Constraint dialog box.)
e. Specify a constraint that ceUs 86:06 must be greater than or equal to 10.
1. Run Solver and summarize results.
a. Use Solver to find a solution.
b . Save the solution as a scenario named Equipment Repair Solutio n , and restore the original values to the
worksheet.
c. Create a scenario summary using the Repair Solution scenario, delete the notes at the bottom of the solution, and
change the title in cell 82 to Repair Solutio n .
Compare your worksheet to AGURE 11-26. FIGURE 11-26
d. Enter your name in the center section of the
worksheet footer, save the workbook, then preview
• I•
the worksheet. •
' •
8. Analyze data using tbe Analysis TooiPak.
a. With the Equipment Repair sheet active, generate
summary descriptive statistics for the repair cost per
•
" -
model, using cells BJO:DlO as the input range. (Hint: The input is grouped in a row.) Place the statistics in a new
worksheet named Repair Cost Statistics.
b. Widen columns as necessary to view the statistics.
Skills Review (continued) FIGURE 11-27
~ }.tun
c. Change the contents of cell AI to Repair Costs. Delete row 6 containing the
5325
mode error (generated becau~ you do not have any repeating data values). Also d Standard Emw 1S1Ho77l7
delete row 9 containing the kurtosis error information (generated because you sj M.- _ 6500
6 }Sta!Xiard OeUtioll 262833122
only have three data values). Compare your worksheet to FIGURE 11-27. 7 Js.m~e Variance 6iC]812$
d. Add your name to the center section of the workshei!t footer, then preview the 8 Sktwntn _, &1'l4~99·
9 !long• 512$
worksheet. 10M- 2925,
111~ 8050
e. Save and close the workbook, submit the workbook to your instructor, then 12 ,Sum 11•1S
exit Excel. n 1eount J
Independent Challenge 1
You are the owner of Smith Landscaping, a landscaping amd plowing company based in Boston. You are planning
an equipment purchase of three new plows. You will research the monthly cost for a S 150,000 equipment loan to
purchase the new plows. You wHI create a worksheet model to determine the monthly payments based on several
different interest rates and Joan terms, using data from the company's bank. Using Scenario Manager, you will
create the following three scenarios: a 4-year Joan at 5 percent; a 3-year Joan at 4.5 percent; and a 2-year Joan at
4 percent. You will also prepare a scenario summary repOJt outlining the payment details.
a. Stari Excel, open EX 11-3.xlsx from the location where you store your Data Files, then save it as
£X 11-Equipment Loan.
b. Create cell names for cells 84:811 based on the Jabclls in cells A4:All, using the Create Names from Selection
dialog box.
c. Use Scenario Manager to create scenarios that calculate the monthly payment on a S150,000 Joan under tile
three sets of loan possibilities listed below. (Hint Create three scenarios using cells 85:B6 as the changing cclls.)
5%4Yr .05 48
-
4.5%3 Yr .045 36
4% 2Yr .04 24
d. Show each scenario to make sure it performs as intended, tllen display tile 5%4 Yr scenario.
e. Generate a scenario smnmary titled Scenario Sun• mary. Use cells B9:Bil as the Result cells.
f. Delete tile Current Values column in the report, and delete the notes at the bottom of the report. Rename tile
sheet Equipment Purchase.
g. Enter your name in the center section of tile Equipment Purchase sheet footer. Save the workbook, tilen preview
tile scenario summary.
h. Close the workbook, exit Excel, then submit the woJkbook to your instructor.
Independent Challenge 2
You are a CFO at Locke & Rogers, a communications consulting company ba~ in Michigan. The company president
has asked you to prepare a loan summary report for a business expansion. You need to develop a model to show what
the monthly payments would be for a $600,000 loan with a range of interest rates. You will create a one-input data table
that shows the results of varying interest rates in 0.2% increments, then you will = Goal Seek to specify a total
payment amount for this loan application.
a. Start Excel, open EX 11-4.xlsx from the location where you store your Data Files, then save it as
£X 11-Capital Loan.
Independent Challenge 2 (continued)
b. Use FIGURE IHB as a guide to enter the data table structure. Reference the monthly payment amount from cell 89 in
cell £4, then format the contents of cell E4 as hidden.
FIGURE 11-28
A !l c 0 F
l & R Communications
ij
4 Loan Amount $600,000.00
lrtecesl Rate
c. Using cells D4:E13, create a one-input data table with varying interest rates for the loan.
d. Generate the data table that shows the effect of varying interest rates on the monthly payments. Use cell liS, the
Annual Interest Rate, as the column input cell. Format the range E5:E13 as currency with two decimal places. Widen
Column Eas necessary.
e. Select cell 810 and use Goal Seek to find the interest rate necessary for a total payment amount of $700,000. Use cell
85, the Annual Interest Rate, as the By changing cell. Note the interest rate, then cancel the solution found by Goal
Seek. Enter the interest rate in cell 816.
f. Select cell 89 and use Goal Seek to find the interest rate necessary for a monthly payment amount of $11,000. Use
cell 85, the Annual Interest Rate, as the By changing cell. !Note the interest rate, then cancel the solution found by
Goal Seek. Enter the interest rate in cell 817.
g. Enter your name in the center section of the worksheet footer, save the workbook, then preview the worksheet.
b. Close the workbook, exit Excel, then submit the workbook to your instructor.
Independent Challenge 3
You are the owner of Atlantic Mobile Storage, a residential storage company based in Boston. You are considering a purchase
of new storage containers for your residential customers. You want to use Goal Seek to look at how the interest rate affects
the monthly payments for two of each size of container. Next you want to look at options for expanding the storage service
by purchasing a combination of differently sized containers that can store a total of 1500 cubic feet As you review your
expansion options, you n~ to keep the total monthly payments for aU of the containers at or below S6,500. You use Solver
to help find the best possible combination of containers and interest rates.
a. Start Excel, open E.X 11-5.xlsx from the location where you store your Data mes, tl1er1 save it as EX 11-Atlantic
MobUe.
b. Use Goal Seek to find the interest rate that produces a mon thly payment for the large container purchase of S!,B50,
and write down the interest rate tllat Goal Seek finds. Reset the interest rate to its original value, record the interest
rate in cell A19, then enter Interest rate for S l 850 larg e container payment in cell 819.
Independent Challenge 3 (continued)
c. Use Goal Seek to find the interest rate that produces a monthly payment for the medium container purchase of
$1050. Reset the interest rate to its original value, record the interest rate in cell A20, then enter In terest
rate for $1050 medium container payment in cell 820.
d Use Goal Seek to find the interest rate that produces a monthly payment for the small container purchase of
S675. Reset the interest rate to its original value, record the interest rate in cell A21, then enter Interest rat e
for $675 small container payment in cell .821.
e. Assign cell 88 the name Qu antity_Large, name cell C8 Quantity_Medium, name cell 08 Quantity_
Small, and name cell 815 TotaJ_Monthly_Payments. Use Solver to set the totai storage capadty of all
containers to 1500. Use the quantity to purchase, cells 88:08, as the changing cells. Specify that cells 88:08 must
be integers. Make sure that the total monthly payments amount in cell 815 is less than or equal to S6,500.
f. Generate a scenario named St orage Container Solu tion with the Solver values, and restore the original
values in the worksheet Create a scenario summary using the Storage Container Solution scenario and the Total
Monthly Payments as the result cells, delete the notes at the bottom of the solution, and edit cell 82 to contain
Total Stor age Capacity of 1500.
g. Enter your name in the center footer section of both worksheets. Preview both worksheets, then save the workbook.
h. Close the workbook, then submit the workbook to your instructot
a. Start Excel, open the EX 11-6.xlsx from the location where you store your Data Files, then save it as
EX 11-RV Loan.
b. Using FIGURE 11-29 as a guide, enter the input values for a two-input data table with varying interest rates for
3-, 4-, and 5-year terms.
FIGURE 11-29
c. Reference the monthly payment
amount from cell 89 in cell A13,
and format the contents of cell A13
as hidden.
d Generate the data table, using cells • ..___... Sl~CIO
~ :1:1)"
AJ3:D22, that shows the effect of - . . - -... Rau
var}1ng interest rates and loan •1
i ........ ~..... to
FIGURE 11-30
JL - __lL E !l !:! J
,i
1 P•clflc Robotics
January Profit
3 llowlv l.bor""' SM.tl
~
ll
1
8
9
~N"'"IMr
_,.
U:t7 •
sssu
- ·-eo.. Cool to ......
.....
s 1~.00 s
s z.-.oo
s ),...00
$
-
Unll
,.._.,
asua
$ J,.US.OS
unlb
~
157
17
10J.
s
s
$
-
Toni
~,550.5ot
74.-,&8
W.QII.l~
10 ~
11 , _ _ S ll.lSLOO $1,71UJ t:l s 151,lJ1.44
s soo.ooo.oo
12
13
FIGURE 11·31
A 6 c 0
' ="'''-'/Sl,a,L"";s~K:4"""----
1 1-----"Ptofi"'
2
3 Moan 125000
1969<1.87008
5 liSlandard
4 Median Errot 133565 3432 1
9 Mode iiWA
7 ~andar~ Oeviai~Crl 3938~.752.15
8 Sallljlle Variance_ t55t552S75
9 KurtOSIS -1.817031404
10 Skewness ·0.730953256
11 Range 83435.55695
12 Mfnimum 74596.87834
13.JMaxltn~~m 58132.4353
14 Sum 5000001 - -
15 Lc0unt 4
1~
Glossary
Delimiter Aseparator such as a space, comma, or semicolon
Argum~nt Information necessary for a formula or function to between elements in imported data.
calculate an answer. In the Visual Basic for Applications (VBA) Destination program In a data exchange, the progrnm that will
programming language, variable used in procedures that a main receive the data.
procedure might run. Set also Main procedure. Docum~t To make notes about basic worksheet assumptions,
ASCII file Atext file that contains data but no fonnatting; instead complex fomtulas, or questionable data.
of being divided into columns, ASCii file data are separated, or
delimited, by tabs or commas.
E dit To make a change to the contents of an active cell.
Auditing Track errors and dleck worksheet logic in Excel.
Edit Unk A link to a workbook on a OneDrive that can be edlted
AutoCompl~te In the Visual Basic for Applications (VBA)
programming language, a list of words that appears as you enter code; by users.
helps you automatically enter elerneJlts \\1th the coaect syntax. Element An XML component that defines the document
content
Embed To insert a copy of data into a destlnalion document; you
B ug ln programming, an error that causes a procedure to run can double-dick the embedded object to mooify It using the tools
incorrectly. of the source program.
Embedded chart Achart dlsplayed as an object in a worksheet
C all statement AVisual Basic statement that retrieves a Encrypted data Data protected by use of a password, which
procedure that you want to run, using the syntax Call eJtrodes it in a form that only authorized people 1\~th a password
proadurtuame. can decooe.
Categoty axis Horizontal axis of a chart, usually containing the names Extensible Markup language (XML) A S)~tern for defining
of data groups; in a 2-dlmensional char~ also known as the x-axis. languages using tags to structure data.
Cell comment Note you add to a worksheet cell; appears when yt>u
place the pointer over the cell. f ield In a table, a column Utat describes a characteristic about
Change history A worksheet containing a list of changes made to a records, such as first name or dty. In a PivotTable, you can drag
shared workbook. field names to PivotTable row, column, data, or report filter areas
Code window In the VISual Basic Edltor, tile window that displays to explore data relallonships.
the selected module's procedures, written In the Visual Basic Form control An object that can be added to a worksheet to help
programming language. users enter data. Ao example is a list box form control.
Combination chart Achart that comblnes two or more chart types Function A predefined fonnula that pro,~des a shortcut for a
in a single chart. common or complex calculation, such as SUM (for calculating a
Compatibility The ability of different programs to work together sum) or FV (for calculating the future value of an investment). In
and exchange data. Ute Visual Basic for Applications (VBA) progrnmming language,
a predefined procedure that returns a value, such as the Input Box
function which prompts the user to enter informallon.
D ata source Worksheet data used to create a chart or PivotTable.
Data table Arange of cells that shows the resulting values when
one or more Input values are varied loa formula; when one input Goal cell In backsolving, a cell containing a formula in which
you can substitute values to find a specific value, or goal.
value Is changed, the table is called a one-Input data table, and when
two input values are changed, it is called a two-Input data table. In a
chart, it is a grid containing Ute chart data.
Database program An application, such as Microsoft Access, that
lt . .Then...Eise statement In the Visual Basic programming
language, a condltional statement that directs Excel to pesfonn
lets you manage large amounts of data organiled in tables. specified actions under certain conditions; its syntaX is "If rondiriou
Database table Aset of data organlled uslng columns and rows Then smrem<'llts Bse (elsestaternenrs).
that is created in a database program. Integrate To incorpornte a document and parts of a document
Debug In progrnmmlng. to find and correct an error in rode. created in one program into another program; for example, to
Declar~ in the Visual Basic progrnnuning language, to assign a type, incorpornte an Excel chart into a l'owerPoint slide, or an Access
such as numeric or text, to a variable. table into a Word document.
Glossary 1
Previewing Prior to printing, seeing onscreen exactly how the
K eyword (Macros) In a macro procedure, a word that is printed document will look.
recognized as part of the \IJsual Basic programming language. Primary key The field in a database that contains unique
Keywords Terms added to a workbook's Document Properties that information for each record.
help locate the file in a search. Procedure Asequence of Visual Basic statements contained in a
macro that accomplishes a spedfic task.
L ink To insert an object into a destination program; the Procedure footer In Visual Basic, the lastllne ol a Sub procedure.
infonnallon you insert wiD be updated automatically when the data Procedure header The first line in a Visual Basic procedure, it
in the source document changes. defines the procedure type, name, and arguments.
Project In the Visual Basic Editor, the equi\oaJent of a workbook; a
M ain procedure A macro procedure containing several macros project contains Visual Basic modules.
that run sequentially. Project Explorer in the Visual Basic Editor, a "mdow that lists ali
Manual calculation An option that tums off automatic calculallon open projects (or worl1>ooks) and the worksheets and modules U~ey
of worksheet formulas, allo"~ng you to selectively detennine if and contain.
when you want Excel to perfonn calculations. Properties window In the Visual Basic Editor, the window that
Map An XML schema that is attached to a workbook. displays a list of clraracterisllcs, or properties, assodated with
Map an XMLelement Aprocess in whlch XML element names are a module.
placed on an Excel worksheet in spedfic locations. Property In Visual Basic, an attribute or an object that describes its
character or behavior.
Mode Indicator An area on the left end of the status bar that
indicates the program's status. For example, when you are changing
the contents of a cell, the word 'Edit' appears in the mode indicator. Range object In Visual Basic, an object that represents a ceO or a
range or cells.
o bject Independent element on a worksheet (such as a chart or Refresh To update a l'i\'OtTable so it reflects changes to the
underlj~ng data.
graphic) that is not located in a speclflc cell or range; can be moved
and resized aod displays handles when selected. In object linking Report filter A feature that allows you to fllter l~votTable data to
and embedding (OlE). the data to be exchanged between another show one or more fields.
document or program. bl Visual Basic, every Excel element,
including ranges. S oema In an XMl document, a list or the fields, called elements
Object Linking and Embedding (Olf) AMicrosoft \\C,ndows or attributes, and their characteristics.
feature that allows you to tramfer data from one document and SIJcer A graphic object used to filter a Pivot'fable.
program to another using embedding or linking. Sm.artArt graphics !'redesigned diagram types for speciflc types of
Olf St!> Object linking and Embedding. data, including List, Process, Cycle, and Hierarchy.
Outline symbols In Outline view, the buttons that, when clicked, Source program In a data exchange, the program used to create U1e
change the amount of detail that appears in the outlined data you are embedding or linking.
worksheet. Statement In VISual Basic, a line of code.
Strong password A password that is difficult to guess and that
P lvotChart report An Excel feature that lets you summarize helps to protect your workbooks from security threats; has at least
worksheet data in the form of a chart in which you can rearrange, I4 characters that are a mlx of upper· and lowercase letters,
or •pivot: parts of the chart structure to explore new data numbers, and special characters.
relationships. Sub procedure Aseries of Visual Basic statements that performs an
PlvotTable Field List A window containing fields that can be used actiion but does not return a value.
to create or modify a PivotTable. Summary function in a PivotTable, a function that determines
PlvotTable Report (PivotTable) An E.~cel feature that allow~ you to : U1e type of calculation applied to the PivotTable data, such as
summarize worksheet data in the form of a table in which vou can : SUM or COUNT.
rearrange, or •pivot,• parts of the table structure to explore new Syntax In the Visual Basic programming language, the formatting
data relationshlps; a/SIJ cal/exi a PivotTable. rules that must be followed so that a procedure will run successfully.
Plot area in a chart, the area inside the horizontal and vertical axes.
Populate Tile process of importing an XML file and ft!Ung the T emplate In Excel, a predesigned, formatted Ole that serves as the
mapped elements on the worksheet with data from the XML file. basjs for a new workbook; in OneNote, a page design you can apply
Also the process of adding data or fields to a table, PivotTable, to new pages to provide an appealing background, a consistent
or a worksheet. layout, or elements suitable for certain types of notes, such as
Presentation graphics program Aprogram such as Microsoft mf<!ting notes or to-do lists.
PowerPointthat you can use to create slide show presentations. Text file St!> ASCII file.
Glossary 2
Toggle A button with two seltings, on and ofr. View-only Unk Alink to a workbook on a OneDrive that can be
Tracer arrows In Excel worksheet auditing, anows that point from viewed by useiS.
cells that might haw caused an error to the acth•e cell containing
an error.
Track To Identify and keep a record of who makes which changes to
Web query An Excel feature that lets you obtain data from a
webpage and place in an Excel workbook for analysis.
it
a workbook. What-If analysis Adecision-making tool in which data is changed
and formulas are recalculated, in order to predict various possible
Usemame The name that apperu:s in the User name text box of outcomes.
Write acce1s The ability to make changes to a workbook; with read
the Excel Options dialog box. This name ls displayed at the
beginning of comments added to a worksheet. access, a user can only read the workbook contents and cannot
make changes.
V alidate A process In which an xml schema makes sure the
xml data follow~ the rules outlined in the schema.
Value axis In a chart, vertical axis that contains numerical values; in
XML Acronym that stands for eXtensible Markup Language,
which is a language used to structure, store, and send
a 2-dimensional chart, also known as they-axis. information.
Glossary 3
Index
chart(s), EX 225-241
SPECIAL CHARACTERS acMacy. EX 234
'("""'•opht~ IX 211 l<ldin9 chart elements, EX 230-231
• (-.1~ IX 160, IX 180 l<ldin9 d>art 1ljles. EX 228, EX 229
'~ '9'~ IX 1lS cNnging data !Ollt~ EX 228, EX 229
>(~mil\~ IX 160, IX 11111 combination, EX 234-235
C1J$1Cmimg data serie~ EX 226-227
lormalting axel, EX 232- 233
~parl:ine1, EX 238-239
trendlines, EX 240-241
A WordArt, EX 236-237
accuracy, cham, EX 234 chart axe~ lonnal!ing. EX 232-233
add-Ins, EX 260. lee also 5ptd{1t: odd-kls chart elements, adding. EX 230-231
Add Scen•rio dialog box, EX 252, EX 253 color scale, EX 183
Add ~ dialog box, EX 134, EX 135 column(s)
Advanced Filter feature. EX 182- 183 alcuiatod, EX 166
Anllysk Toolht, EX 264-265 hftzing. EX m
And 1ogial condition, EX 180, EX 182 tJbltl, EX 154
Aruwtr Aepom, EX 262 combination charts, EX 234-235
apOilrOphe 0. comment>, EX 211 comments
Arrange Windows dialog box, EX 130, EX 131 adding to Visual 8asic code, EX 211
ascending order, EX 164, EX 165 ICtnariOI, EX 254
asterisk('), wildcard, EX 160, EX 180 Compatibility Checker dialog box, EX 142, EX 143
AutoAiter, EX 178, EX 179 conditional formatting
AutoFIIter li<t arrows, EX 178 multiple rule!, EX 181
saving time using. EX 183
lOlling data, EX 164
COIUtrolnts, EX 260
counl, EX 265
B Crute Tobie dialog box, EX 156, EX 157
bod<ground~ worksheets, EX 136-137 alterio
b.osoMng, EX 258 rrdtiple, EX 182
banding, EX 157 ,..rth, EX 178
81 (Buslntlllntelligence), EX 259 criteria range, EX 182, EX 185
Box & Whisker cham, EX 237 CustomAutoFilterdialog box, EX 180, EX 181
Bu~nen Intelligence (81), EX 259 custom filters, EX 180-181
buttons. let also specific buttons custom formats, data tables, EX 256
adding macros, EX 216-217 customizing. data se<ies, EX 226-227
running macr~ EX 208
D
c
c*"latod columns, EX 166
dati entry orea. EX 132
data lal>els, cham, EX 230, EX 231
cell(s) data stries
changing, EX 252 adding width and depth, EX 226
dependtn~ EX 250 customizing. EX 226-227
goat EX 258 data source, changing. EX 228, EX 229
inpui.EX250 data tobles, EX230, EX 231
locking. EX 132 IWO-inpu~ EX 257
restricting values, EX 190 what-if analysis. EX 256-257
tatge1. EX 260 dati trends, EX 240-241
chlnglng cells, EX 2S2 dallbose(s), commJil functions. EX 189
Index 4
DAVERACE function, EX 189 format(s)
DCOUNT function, EX 189 data tables, custom, EX 256
DCOUNTA function, EX 189 read-only, EX 132
deleting. See also removing saving worl<books, EX 142, EX 143
Kenarios, EX 252 Format Cells dialog box, EX 206, EX 207
table data, EX 162- 163 formatting
views ~om ac!M! worlcshee~ EX 1J.4 dlart axes, EX 232-233
dependent cells, EX 250 chart legends, EX 231
depth, adding to data series, EX 226 conditional. See conditional formatting
des<ending order, EX 164, EX 165 maao bottons, EX 216
desaiptive statistics, EX 265 formula(s)
Del<riptive Statistics dialog box, EX 264, EX 265 hiding, EX 132
DCET fu nction, EX 189 tables, EX 166-167
disabling macros, EX 205 fr..,zjng rows and columns, EX I ll
di.splaying. See also viewing fu nction(s). See olso specifiC/unclions
data marlcers on sparldines, EX 238 database, common, EX 189
distribution Function Arguments dialog box,
preparing workbooks for, EX 138-1 39 EX 188, EX 189
saving workbooks for, EX 142-1 43
Document Inspector dialog box,
EX 138, EX 139
documentation, table design,
EX 154, EX 155 G
DSUM function, EX 189 goal cells, EX 258
dynamic page breaks, EX 135 goal s'"'k, EX 258-259
Coal Seek dialog box, EX 258, EX 259
gridlines
hiding, EX 168
printing, EX 168
E grouping worksheets, EX 144-145
editing
file summary information, EX138
macros, EX 210-211
Kenarios, EX 252, EX 253
enabling macros, EX 204- 205 H
error alerts, EX 191 header(s)
Excel Options dialog box, EX 204, EX 205 tables, EX 168
exporting, Excel files into other formats, EX 142 worksheets, EX 140
external reference indicator, EX 208 Header & Footer Tools Design tab,
exmcting data from tables, EX 184-185 EX 136, EX 137
hiding
data markers on sparl<lines, EX 238
formulas, EX 132
gridlines, EX 168
F worksheets, EX 130
fields, table~ EX 154 Histogram charts, EX 237
file(s), saving. See saving files HLOOKUP function, EX 187
file extensions, workbooks, EX 143 .htm file extension, EX 143
filter list arrows, EX 178 lltml file extension, EX 14 3
filtering table~ EX 178-183 HTML(Hypertext Markup language),
Advanced Filter fealllre, EX 182- 183 EX 142
AutoFut.,., EX 178, EX 179 hyperlinks. s.. 6nk(s)
custom filters, EX180-181
macr~ EX 203
Find and Replace dialog box, EX 160, EX 161
Find & Select button, EX 161
finding table data, EX 160-161 I
footers icon sets, EX 183
tables, EX 168 images, tifing, EX 136
worlcsheets, EX 140 input cells, EX 250
Forecast Sheet, EX 264 input messages, EX 191
form controls, creating and formatting, EX 217 input values, EX 256
instances, EX 130
intranets, EX 142
Index 5
K 0
keyboard shortcuts, assigning to macros, objectives, EX 26()
EX212-213 .ods file extension, EX 143
keywords, EX 138 OneOrive. 5ee Microsoft OneDrM!
kurtosis, EX 265 Or logical condition, EX 180, EX 182
o11tput values, EX 256
L p
legends, charts, formatting, EX 231
link(s), EX 140-141 page break(s), dynamic, EX 135
removing, EX 140 Page Break view, EX 135
target, EX 140, EX 141 Page Setup dialog box, EX 168, EX 169
list arrows, EX 178 panes, EX 133
Pareto charts, EX 237
locking cells, EX 132
.pdf file extension, EX 143
logical conditions, EX 180 PDFformat, pub6shing workbooks, EX 142,
LOOKUP function, EX 187
EX 143
lookup functions, EX 186-187 Personal Macro Workbook, EX 202,
EX 214- 215, EX215
planning
macros, EX 202- 203
M tables, EX 154- 155
playing macros, EX 208-209
macro(s), EX 201-217 PDWer Map, EX 259
assigning keyboard shortcuts, EX 212- 213 Power Pivo~ EX 259
assigning to buttons, EX 216-217 Power Query, EX 259
creating buttons to run, EX 208 Power View, EX 259
disabling, EX 205 print area, EX 169
editing, EX 210-211 printing
enab6ng, EX 204- 205 gndlinel, EX 168
filteiing table data using, EX 203 setting a print area, EX 169
Personal Macro Workbook, EX 202, EX 214-215 pr·ogram code, EX 210
planning, EX 202- 203 pr•ogramming. Set Vtsual Basic Editor; VtSuaiBasic
recooling, EX 206-207 for Applications (1/BA)
relative referencing, EX 213 pr·operties, EX 138, EX 139
lWlning. Set running macros Pr·o tect Sheet dialog box, EX 132, EX 133
viruses, EX 204 pr·otecting worksheets and workbooks, EX 132-1 33
Macro dialog box, EX 208, EX 209 Pr·otection tab, EX 132, EX 133
MATCH function, EX 187 p11blishing, workbooks, EX 142, EX 143
maximum, EX 265
mean, EX 265
median, EX 265
merging, scenarios, EX 253
metadata, EX 138
Q
q11estion mark (?),wildcard, EX 16(), EX180
.mht file extension, EX 143
.mhtml file extension, EX 143
Microsoft OneDrive, sharing workbooks, EX 139
minimum, EX265
mode, EX 265 R
models, EX 250, EX 251 range(s), EX 265
modules, EX 210 criteria, EX 185
multilevel sorts, EX164 read-only forma~ EX 132
re<ord(s), tables, EX 154
Record Macro dialog box, EX 206, EX 207, EX 212, EX 213, EX 214,
EX 21 5
re<ording, macros, EX 206-207
N reference(s), structured, EX 166
Name Manager dialog box, EX 254, EX 255 relative referencing, macros, EX 213
number sign (t), Page Break Preview, EX 135 Remove Duplicates dialog box, EX 162, EX 163
Index 6
removing. See also deleting
hyperlinl<s, EX 140 T
replacing table data, EX 160-161 table(s), EX 153-169
research tools, EX 141 adding data, EX 158-159
resizing, tables, EX 158 data restrictions, EX 190, EX 191
rows deleting data, EX 162-163
freezing. EX 133 darumentingde5ign, EX 154, EX 155
tables, EX 154 extiacting data, EX 184-185
running macros, EX 208-209 filtering. See filtering tables
automatically, EX 209 linding and re~acing data, EX 160-161
running Solver, EX 262, EX 263 formulas, EX 166-167
headers and foote", EX 168
looking up values, EX 186-187
~anning, EX 154-155
s
sample varfance, EX 265
printing. EX 168-169
resizing, EX 158
selecting elements, EX 159
saving files sorting data, EX 164-1 65
custom views ol worl<sheets, EX 134- 135 subtotals, EX 192-193
worl<bool<s, for distribution, EX 142-143 summarizing data, EX 188-189
scaling to fit, EX 136 validating data, EX 190-191
scenario(s), EX 252-253 table styles, EX 156, EX 157
comments, EX 254 table total row, EX 166
deleting, EX 252 target(s), hyperlinl<s, EX 140, EX 141
editing, EX 252, EX 253 target cells, EX 260
merging, EX 253 tiling, images, EX 136
Scenario Manager dialog box, EX 252, EX 253 Transpose function, EX 187
scenario summaries, EX 254-2SS Treemap charts, EX 237
Scenario Summary dialog box, EX 254, EX 255 trendlines, EX 240-241
Scenario Values dialog box, EX 252, EX 253 options, EX 241
screeruhots, EX 137 Trust Center dialog box, EX 204, EX 205
search criteria, EX 178 two-input data tables, EX 257
sharing, Excel files. See sharing Excel files
sharing Excel files, woritbool<s, u5ing OneOrive,
EX 139
single-file WEb pages, EX 142
skewness, EX 265
Solver, EX 260-263
v
validating, table data, EX 190-191
running, EX 262, EX 263 variables, EX 252
Solver Paramete" dialog box, EX 260, EX 261 VBA. s.., Visual Bask for Applications (VBA)
Solver Results dialog box, EX 262, EX 263 view(s), EX 134
sorting deleting from active worl<sheet, EX 134
conditionally formatted data, EX 164 View Side by Side button, EX 130
custom SO<! order<, EX 165 viewing. See abo displaying
multilevel sorts, EX 164 file summary infonmation, EX 138
table data, EX 164-165 worksheets, EX 130, EX 131
sparklines, EX 238-239 viruses, macros, EX 204
splitting worksheets into multiple panes, EX 131 Visual Basic Editor, EX 210
standard deviation, EX 265 Visual Basic for Applkations (VBA), EX 210.
standard error, EX 265 s.. also Visual Basic Editor
statistical charts, EX 237 comments, EX 211
structured references, EX 166 editing macr<>S, EX 210-211
styles VI.OOKUP function, EX 186-187
charts, EX 228, EX 229
table, EX 156, EX 157
subtotal(s), tables, EX 192-193
Subtotal dialog box, EX 192, EX 193
sum, EX 265
summarizing table data, EX 188-189
w
Waterfall charts, EX 237
Sunburst charts, EX 2 37 watermarks, EX 136
Synchronous Scrolling button, EX 130 webpages, single-file, EX 142
Index 7
what~! analy.is, EX 249-265 worksheet(s)
Analysis TooiPak, EX 264-265 active, deleting views from, EX 134
complex analysis, EX 260-261 arranging, EX 130, EX 131
data tables, EX 256-257 bad<ground, EX 136-137
goal...,l<ing, EX 258-259 grooping, EX144-145
guidelines, EX 250 headers and footers, EX 140
merging scenarios, EX 25l hiding, EX 130
predicting data trends with Forecast 5hee~ protecting, EX 132-133
EX264 saving custom views, EX 134-135
running Solw, EX 262, EX 263 sca6ng to fi~ EX 136
scffiario summaries, EX 254-255 splitting into multiple panes, EX 131
summarizing results, EX 262, EX 263 viewing, EX 130, EX B1
tradcing with Scenario Man"Jfr, EX 252-253
width, adding to data series, EX 226
wildcards, EX 160, EX 180
WordArt charts, EX 236-237
WordArt styles gallery, EX 236, EX 237 X
workbook(s) .xis file extension, EX 143
preparing lor distribution, EX 138-139 .xlsm file extension, EX 14l
proteding, EX 132-133 .xltrn file extension, EX 143
publishing, EX 142, EX 143 .xltx file extension, EX 143
sharing. Sa> >haring Excel Iiies .xps file extension, EX 143
Index 8