Excel Courseware 2010
Excel Courseware 2010
rE
Excel 2010
Microsoft® Office
va
lu
at
io
n
O
nl
y
Courseware
time by just picking and choosing what I want
from the courseware.”
Fo
— Stephanie Zimmerman
Thank you for choosing CustomGuide courseware as the Lancaster County Library
solution to your training needs. A proven leader in the
computer training industry, CustomGuide has been the “We have been able to customize our training
rE
key to successful training for thousands of students and sessions on all Microsoft Office products, at
instructors across the globe. all levels. The ROI of these guides is great.”
This manual is designed for computer users of all — Dawn Calvin
experience levels. Novice users can use it to learn skills Las Virgenes Municipal Water District
such as formatting text, while advanced users can use it to
va
create their own templates. “All in all, the friendliest, most open and easy
to understand tutorial of its type that I’ve ever
All this information is quickly accessible. Lessons are seen.”
broken down into basic step-by-step instructions that
answer “how-to” questions in minutes. You can print a — W. Boudville
Amazon.com
lu
complete 300-page training manual or a single page of
instructions.
“…curriculum that is of high quality, student
Here’s how a CustomGuide manual is organized:
friendly, and adaptable to the audience.”
at
Chapters — Sherrill Wayland
Each manual is divided into several chapters. Aren't sure
St. Charles Community College
if you're ready for a chapter? Look at the table of contents
that appears at the beginning of each chapter. It will tell
io
“…a nice training option for almost any need.
you the name of each lesson and subtopic included in the
Their complete Microsoft Office package is
chapter.
by far the best deal on the market.”
Lessons
n
— Technical Assistance Program
Each chapter contains lessons on related topics. Each
Purdue University
lesson explains a new skill or topic and contains an
exercise and exercise file to give you hands-on-
“Any instructor teaching classes on Windows
O
experience. These skills can also be practiced using
or Microsoft Office will definitely want to
CustomGuide Online Learning.
give serious consideration to this important
Review collection of titles that will definitely fit well
nl
A review is included at the end of the manual. Use these into their classroom learning.”
quiz questions and answers to assess how much you've
— Dale Farris
learned.
Golden Triangle PC Club
y
“The materials are exceptional – I am so
excited about using them! Thanks to you and
your team for doing this wonderful work!”
— Shannon Coleman
Learning Post Ltd.
Clear step-by-step instructions answer “how-to” Tips let you know more information about a specific
O
questions. Anything you need to click appears like step or topic as a whole.
this.
Whenever there is more than one way to do Tables provide summaries of the terms, toolbar
nl
something, the most common method is presented buttons, and options covered in the lesson.
in the numbered step, while the alternate methods
appear beneath.
y
The table of contents, index, tables, figures, and Icons and pictures show you what to look for as you
quiz questions automatically update to reflect any follow the instructions.
changes you make to the courseware.
Fundamentals
program that allows you to make quick
and accurate numerical calculations and
helps you to make your data look sharp
Fo
Starting Excel 2010 ............................................ 11 and professional. The uses for Excel are
Windows Vista and Windows 7................ 11 limitless: businesses use Excel for
What’s New in Excel 2010 ................................. 12
creating financial reports, scientists use
Excel for statistical analysis, and families
Understanding the Excel Program Screen ..... 13 use Excel to help manage their investment
rE
Giving Commands ............................................. 14 portfolios.
Ribbon ..................................................... 14 If you’re moving from Excel 2003 or
File tab ..................................................... 15
Quick Access Toolbar .............................. 15
earlier to Excel 2010, you’ll see that
Excel has undergone a major redesign.
Using Command Shortcuts .............................. 16 You’ll still be familiar with much of the
va
Keystroke shortcuts ................................. 16 program’s functionality, but you’ll notice
Contextual menus .................................... 16 a completely new user interface and many
Mini Toolbar.............................................. 16
new features that have been added to
Key Tips ................................................... 17
make using Excel more efficient.
lu
Creating a New Workbook ................................ 18
Create a new blank workbook ................. 18 This chapter is an introduction to working
Create a workbook from a template ........ 18 with Excel. You’ll learn about the main
parts of the program screen, how to give
at
Opening a Workbook......................................... 19
commands, use help, and about new
Previewing and Printing a Worksheet ............. 20 features in Excel 2010.
Saving a Workbook ........................................... 21
io
Save a new workbook.............................. 21
Save workbook changes.......................... 22
Save a workbook under a different name
n
and/or location ......................................... 22
Save a workbook as a different file type .. 22
Closing a Workbook .......................................... 23
O
Using Help .......................................................... 24
Search for help ........................................ 24
Browse for help ........................................ 24
nl
Choose the Help source .......................... 24
Exiting Excel ...................................................... 26
y
Ribbon
The Ribbon is made up of three basic components: tabs,
groups, and buttons. It is the primary way to give
Fo
commands in Excel. Quick Access
Toolbar
Tabs: Commands are organized into tabs on the Ribbon.
Contextual tab
Each tab contains a different set of commands. There are
different types of tabs:
Command tab
• Command tabs: These tabs appear by default
rE
whenever you open the Excel program. In Excel
2010, the Home, Insert, Page Layout, Formulas,
Data, Review, and View tabs appear by default.
• Contextual tabs: Contextual tabs appear whenever
va
you perform specific task, or when a specific object
is selected. The tabs offer commands relative to only Dialog Box
that object or task. For example, whenever you select Launcher
an image, the Picture Tools tab appears on the
Ribbon. Button
lu
Groups: The commands found on each tab are organized
into groups of related commands. For example, the Font
group contains commands used for formatting fonts. Click Group
at
the Dialog Box Launcher ( ) in the bottom-right corner Figure 1-2: Elements of the Ribbon.
of a group to display even more commands. Some groups
also contain galleries that display several formatting
options.
io
Trap: Based on the size of the program window,
Excel changes the appearance and layout of the
commands within the groups.
n
Buttons: One way to issue a command is by clicking its
button on the Ribbon. Buttons are the smallest element of
the Ribbon. Click a button to give a command.
O
Tips
9 You can hide the Ribbon so that only tab names
nl
appear, giving you more room in the program
window. To do this, double-click the currently
displayed command tab. Or, right-click a Ribbon tab
and select Minimize Ribbon from the contextual
y
menu. To display the Ribbon again, click any tab.
Figure 1-3: Hiding the Ribbon gives you more room in the
program window.
File tab
The File tab appears in the upper-left corner of the
program window. When clicked, it opens Backstage view,
which is where you find commands for basic file
management, including New, which creates a new file;
Open, which opens an existing file; Save, which saves the
currently opened file; and Close, which closes the
currently opened file. This is also where you find
commands for controlling program options and sharing.
Fo
Tips
9 The File tab replaces the File menu and Office Button
found in previous versions of Excel.
Customize
Quick Access
lu
Save Redo Toolbar
at
Undo
Keystroke shortcuts
Without a doubt, keystroke shortcuts are the fastest way to
Fo
give commands in Excel. They’re especially great for Table 1-2: Common Keystroke Shortcuts
issuing common commands, such as saving a workbook. <Ctrl> + <O> Opens a workbook.
In order to issue a command using a keystroke shortcut, <Ctrl> + <N> Creates a new workbook.
you simply press a combination of keys on your
keyboard. For example, rather than clicking the Copy <Ctrl> + <S> Saves the current workbook.
rE
button on the Ribbon to copy a cell, you could press and <Ctrl> + <P> Prints the worksheet.
hold the copy keystroke shortcut, <Ctrl> + <C>.
<Ctrl> + <B> Toggles bold font formatting.
A contextual menu displays a list of commands related to <Ctrl> + <C> Copies the selected cell, text or object.
va
a specific object or area. To open a contextual menu: <Ctrl> + <X> Cuts the selected cell, text or object.
<Ctrl> + <V> Pastes the selected cell, text or object.
1. Right-click an object or area of the worksheet or
program screen. <Ctrl> + <Home> Moves the cell pointer to the beginning
of the worksheet.
lu
A contextual menu appears, displaying commands
that are relevant to the object or area that you right- <Ctrl> + <End> Moves the cell pointer to the end of the
worksheet.
clicked.
at
2. Select an option from the contextual menu, or click
anywhere outside the contextual menu to close it
without selecting anything.
io
Mini Toolbar
The Mini Toolbar appears when you select text or data
n
within a cell or the formula bar, and contains common
text formatting commands.
Tips
9 If you don’t want the Mini Toolbar to appear every
time you select text, click the File tab and click
Options. Click the Personalize category, uncheck the
Show Mini Toolbar on selection check box, and
click OK.
9 A larger version of the Mini Toolbar and a contextual
menu appear when you right-click an object or area
of the worksheet window.
Fo
Key Tips Key Tip badge
Key Tips appear whenever you press the <Alt> key. You
can use Key Tips to perform just about any action in
Excel, without ever having to use the mouse.
rE
To issue a command using a Key Tip, first press the <Alt>
key. Tiny letters and numbers, called badges, appear on
the Quick Access Toolbar, and all of the tabs on the
Ribbon. Depending on the tab or command you want to
select, press the letter or number key indicated on the Figure 1-8: Press the <Alt> key to display Key Tips.
va
badge. Repeat this step as necessary until the desired
command has been issued.
lu
at
io
n
O
nl
y
Open a workbook
You can locate workbook on your computer and simply
double-click it to open it, but you can also open a
Fo
workbook from within the Excel program.
Figure 1-11: The Print settings and Print Preview as shown in Backstage view. Use the print
settings in the left column to control how the document is printed. Use the print preview area in
the right column to preview how the document will look when printed.
3. Click Save.
nl
y
2. Type what you want to search for in the “Type words Enter search Browse help topic
to search for” box and press <Enter>. keywords here. categories.
Tips
9 Office 2010 offers enhanced ScreenTips for many Table 1-4: Help buttons
buttons on the Ribbon. You can use these ScreenTips Return to the previous help
to learn more about what a button does and, where Back
topic.
available, view a keystroke shortcut for the
command. If you see the message “Press F1 for more Return to move forward to the
Forward next help topic after clicking
help”, press <F1> to get more information relative to
Back.
that command.
Stop the transfer of information
9 When you are working in a dialog box, click the Stop
from the online Help database.
Fo
Help button ( ) in the up per right-hand corner to
get help regarding the commands in the dialog box. Refresh the page to correct page
Refresh
layout or get the latest data.
Click here to return to the Help
Home
home page.
rE
Click here to print the current
Print
help topic.
Click here to change the size of
Change Font Size
the text in the Help window.
Show Table of Click here to browse for help
va
Contents using the Table of Contents.
Click here to layer the Help
window so that it appears behind
Keep On Top
all other Microsoft Office
programs.
lu
at
io
n
O
nl
y
3. The Ribbon can be hidden so that only tab names appear. (True or False?)
9. Print settings and print preview appear side by side in Backstage view. (True or False?)
y
10. When you save a workbook with a different name, the old workbook is deleted. (True or False?)
11. You can close a workbook which one of the following ways?
A. Press <Ctrl> + <C>.
B. Click and drag the workbook window to the Recycle Bin.
C. Click the workbook’s Close button.
13. Which of the following are ways to exit Excel? (Select all that apply.)
Fo
A. Click the File tab and click Exit Excel.
B. Click the Office Button and click Close Excel.
C. Click the Close button on the title bar.
D. Click the Close button on the Quick Access Toolbar.
rE
Quiz Answers
1. False. You must start Excel to begin using it.
va
2. C. The Ribbon was introduced in Excel 2007, so it is not new in Excel 2010. It has been improved, however, so that it
is possible to customize tabs and groups on the Ribbon.
lu
3. True. Double-click a tab to hide the Ribbon, then click any tab to view commands once again.
4. True. The File tab contains basic file commands, similar to the File menu of previous versions.
at
5. C. The Quick Access Toolbar is a customizable toolbar of common commands that appears above or below the
Ribbon.
io
6. A. <Ctrl> + <Alt> + <Delete> is a Windows command, not an Excel command.
7. False. It's true that a new workbook appears automatically when you open Excel. However, that is not the only way to
n
create a new workbook.
8. A. Select Open and then navigate to the saved file you want to open.
O
9. True. In Backstage view, print settings appear alongside a preview of how the document will look when printed.
10. False. The original workbook remains intact, with its original name.
nl
11. C. Click the Close button or press <Ctrl> + <W> to close a workbook.
y
12. C. Press <F1> to access help in Excel.
13. A and C. Click the File tab and click Exit, or click the Close button on the title bar.
with
tasks in Excel: entering labels and
numbers, and entering formulas.
Wor ksheets
Fo
2. Press <Tab>.
Table 2-1: Navigation Shortcuts
at
The active cell is one cell to the right of the previous
cell. Refer to Table 2-1: Navigation Shortcuts for Press To Move
more information on navigating shortcuts. → or <Tab> One cell to the right.
Tips
io
← or One cell to the left.
9 Excel 2010 worksheets have 1,048,576 rows and <Shift> + <Tab>
16,384 columns! To view the off-screen portions of ↑ or One cell up.
n
the worksheet, use the scroll bars. <Shift> + <Enter>
9 Using the <Ctrl> key with arrow keys is very ↓ or <Enter> One cell down.
powerful. These key combinations jump to the edges <Home> To column A in the current row.
of data. For example, if you have a group of data in
O
columns A-G and another group in columns R-Z, <Ctrl> + <Home> To the first cell (A1) in the
<Ctrl> + < → > jumps between each group of data. worksheet.
<Ctrl> + <End> To the last cell with data in the
nl
worksheet.
<Page Up> Up one screen.
<Page Down> Down one screen.
y
<F5> or Opens the Go To dialog box where
<Ctrl> + <G> you can go to a specific cell address.
1. Select the range of cells in which you want to enter Figure 2-3: Entering text in a selected cell range.
O
data.
By selecting a range, you restrict where the cell
pointer can move and can concentrate on data entry
nl
instead of moving the cell pointer back and forth.
Values Values
Values in Column A.
Values are any numerical data entered in a worksheet.
Once values are entered in the worksheet, they can be
Fo
used in formulas.
Formulas
Formulas are values, but unlike regular values, formulas
rE
contain information to perform a numerical calculation, Formulas
A formula in cell B1
such as adding, subtracting, or multiplying. A cell with the using the multiplication
formula =5+3 will display the result of the calculation: 8. operator.
The cell displays the
All formulas must start with an equal sign (=). Then you result of the formula,
specify more information: the values you want to while the Formula Bar
va
calculate and the arithmetic operator(s) or function displays the formula.
name(s) you want to use to calculate the values.
• Operators are the basic symbols used in
mathematics: + (plus), - (minus), / (divide), *
lu
(multiply). In Excel, you use these just as you would
to write out a math problem.
• Functions are used more often in Excel. Functions Relative cell reference
When the formula in cell
at
are pre-made formulas that you can use as shortcuts, B1 is copied to the rest
or to perform calculations that are more complicated. of the cells in column B,
the cell references are
updated in each row.
Relative and absolute cell references
io
Formulas can contain numbers, like 5 or 8, but more often
they reference the contents of cells. A cell reference tells The results of each
formula are different
Excel where to look for values you want to use in a
n
because each formula
formula. For example, the formula =A5+A6 adds the refers to a different cell.
values in cells A5 and A6.
Using cell references is advantageous because if you
O
change the values in the referenced cells, the formula
result automatically updates using the new values. There
are two types of cell references: relative and absolute.
nl
• Relative: Relative references refer to cells in relation Absolute cell reference
to the cell that contains the formula. When the When the formula in cell
formula is moved, it references new cells based on C1 is copied to the rest of
the cells in column C, the
y
their location relative to the formula. Relative cell references are not
references are the default type of references in Excel. updated.
Use Fill
Fill is a great way to enter sequential numbers, months or
Fo
days quickly. Fill looks at cells that you have already
filled in and makes a guess about how you want to fill in
the rest of the series. For example, if you enter January,
Fill will fill in the following months for you. You can also
use Fill to copy formulas to adjacent cells.
rE
5 10 15, 20, 25
1/20/12 1/21/12, 1/22/12, 1/23/12
UPV-3592 UPV-3593, UPV-3594, UPV-3595
14. Press ______ to move the cell pointer one cell to the left.
A. <Enter>
B. <Shift> + <Tab>
C. The up arrow key
rE
D. <Tab>
15. You can select all the cells in a worksheet at once. (True or False?)
va
Quiz Answers
lu
14. B. Pressing <Shift> + <Tab> moves the cell pointer one cell to the left.
15. True. You can select all cells at once by pressing Ctrl + A.
at
io
n
O
nl
y
Wor ksheet
your Excel worksheets. You’ll learn how
to edit cell contents; cut, copy and paste
information; insert and delete columns
Fo
Editing Cell Contents ........................................ 40 and rows; undo any mistakes you might
Edit cell contents...................................... 40 make; and even correct your spelling
Replace cell contents............................... 40 errors.
Clear cell contents ................................... 40
Cutting, Copying, and Pasting Cells ............... 41
rE
Moving and Copying Cells Using the Mouse
................................................................. 42 Using Exercise Files
This chapter suggests exercises to practice
Cutting, Copying, and Pasting Cells ............... 43
the topic of each lesson. There are two
Using the Office Clipboard ............................... 45 ways you may follow along with the
va
Checking Your Spelling..................................... 46 exercise files:
Inserting Cells, Rows, and Columns ............... 48 • Open the exercise file for a lesson,
perform the lesson exercise, and close
Deleting Cells, Rows, and Columns ................ 49
the exercise file.
lu
Using Undo, Redo and Repeat ......................... 50
Undo a single action ................................ 50 • Open the exercise file for a lesson,
Redo an action......................................... 50 perform the lesson exercise, and keep
Undo multiple actions .............................. 50 the file open to perform the remaining
at
lesson exercises for the chapter.
Using Find and Replace .................................... 51
Search options ......................................... 52 The exercises are written so that you may
“build upon them”, meaning the exercises
io
Using Cell Comments ....................................... 53
Insert a comment ..................................... 53 in a chapter can be performed in
View a comment ...................................... 53 succession from the first lesson to the last.
Edit a comment ........................................ 53
n
Delete a comment.................................... 54
O
nl
y
3. Press <Enter>.
The newly typed information replaces the previous
O
cell contents.
2. Press <Delete>.
y
Other Ways to Clear Cell Contents: Type
Under the Home tab on the Ribbon, click the any text
Clear button in the Editing group.
Tip: Note that this clears the cell contents, not the
actual cell.
Figure 3-2: Replacing cell contents.
Tips
9 You may cut, copy, and paste any item in a
worksheet, such as clip art or a picture, in addition to
Fo
cell data. A moving dashed border
appears around a cell or cell
Copy cells range when you cut or copy it.
When you copy a cell, the selected cell data remains in its
rE
original location and is added to the Clipboard.
Move cells
Moving cells typically involves a process of cutting and
pasting. When you cut a cell, it is removed from its
original location and placed in a temporary storage area
called the Clipboard.
2. Click the Home tab on the Ribbon and click the Cut
button in the Clipboard group.
Fo
A line of marching ants appears around the selected
cells and the message “Select destination and press
ENTER or choose Paste” appears on the status bar.
Other Ways to Cut Cells:
rE
Press <Ctrl> + <X>. Or, right-click the selection
and select Cut from the contextual menu.
Figure 3-4: When cells are cut and pasted, they are
moved to a new location in the worksheet.
3. Select the cell to which you want to move the cells.
When you select a destination to paste a range of
va
cells, you only have to designate the first cell where
you want to paste the cell range.
Formulas Paste only formulas from cells. Values & Number Paste the values and number
Formatting formatting from cells.
nl
Formulas & Number Paste formulas and number Values & Source Paste the values and all formatting
Formatting formatting. Formatting from source cells.
y
Keep Source Formatting Paste using formatting from the Formatting Paste only the formatting used in
original cells. source cells.
No Borders Remove borders from pasted cells. Paste Link Paste a link to the selected cells.
Keep Source Keep the width of the original cells. Picture Paste a picture of the selected cells.
Column Widths
Transpose Flip the data so the rows are flipped Linked Picture Paste a picture of the cells with a link
to columns and vice versa. to the original cells.
3. Click the Home tab and click the Paste button list
arrow in the Clipboard group.
Fo
Now open the Paste Special dialog box.
6. Press <Enter>.
lu
The pasted content is deselected.
at
Table 3-2: Paste Special Commands
Paste Option Description
io
All Pastes all cell contents and formatting. Same as the Paste command.
Formulas Pastes only the formulas as entered in the formula bar.
Values Pastes only the values as displayed in the cells.
n
Formats Pastes only cell formatting. Same as using the Format Painter button.
Comments Pastes only comments attached to the cell.
Validation Pastes data validation rules for the copied cells to the paste area.
O
All using Source theme Pastes all cell contents and formatting, including the theme, if one was applied to the source data.
All except borders Pastes all cell contents and formatting applied to the copied cell except borders.
nl
Column widths Pastes only the width of the source cell’s column to the destination cell’s column.
Formulas and number formats Pastes only the formulas and number formats.
y
Values and number formats Pastes only the values and number formats.
Operation (several options) Specifies which mathematical operation, if any, you want to apply to the copied data.
Skip blanks Avoids replacing values in your paste area when blank cells occur in the copy area.
Transpose Changes columns of copied data to rows, and vice versa.
Paste Link Links the pasted data to the source data by pasting a formula reference to the source data.
3. Click OK.
The dialog box closes.
3. Click OK.
va
Tips
9 The AutoCorrect feature automatically corrects
commonly misspelled words for you as you type.
lu
at
io
n
O
nl
y
Insert cells
Fo
1. Select the cell or cell range where you want to insert
cells.
The number of cells you select is the number of cells
that will be inserted.
rE
2. Click the Home tab on the Ribbon and click the 1. Select where you want to insert new cells.
Insert button list arrow in the Cells group. Select
Insert Cells.
The Insert dialog box appears. Here you can tell
Excel how you want to move the existing cells to
va
make room for the new ones by selecting “Shift cells
right” or “Shift cells down.”
You can also select “Entire row” or “Entire column” 2. The new cells appear in the selected cell range.
in the Insert dialog box to insert an entire row or Click the Insert
lu
Options button to
column and not just a cell or cells. choose settings
for new cells.
3. Select the insert option you want to use and click
at
OK. Figure 3-11: Existing cells shift down to make room for the
inserted cells.
The cell(s) are inserted and the existing cells shift.
Other Ways to Insert Cells:
io
Right-click the selected cell(s) and select Insert
from the contextual menu. Select an option and
click OK.
n
Insert rows or columns
Delete cells
Fo
1. Select the cell(s) you want to delete.
Undo an action Enter “.35” in F2. Delete rows 4 and 5. Undo both actions,
then redo both actions.
Undo does just that—it undoes any actions as though they
never happened.
Fo
1. Click the Undo button on the Quick Access Toolbar.
Your last action is undone. For example, if you had Undo
deleted an item and then decided you wanted to keep button
it after all, undo would make it reappear. Undo button
list arrow
rE
Other Ways to Undo:
Press <Ctrl> + <Z>.
Undo multiple
Redo an action actions by selecting
the actions you wish
Redo is the opposite of undo: it redoes an action you have to undo.
va
undone. For example, if you decide that you do, after all,
want to delete an item that you have just brought back
with undo, you can redo the delete action.
Find
Fo
The Find feature makes it very easy to find specific words
and values in a worksheet.
1. Click the Home tab on the Ribbon and click the Find
& Select button in the Editing group. Select Find
rE
from the list.
The Find tab of the Find and Replace dialog box
appears.
Other Ways to Find Text:
va
Press <Ctrl> + <F>.
6. Click Close.
Search options
rE
Use Excel’s search options to change how Excel searches
in the document.
Insert a comment
3. Type a comment.
va
4. Click outside the comment area when you’re
finished.
Other Ways to Insert a Comment:
Right-click the cell you want to attach a comment
to and select New Comment from the contextual
lu
menu. Type a comment.
View a comment
at
Delete a comment
16. You can replace cell contents by typing over the current contents. (True or False?)
Fo
17. To copy cells using the mouse, press and hold the _____ key while clicking and dragging the selection.
A. <Alt>
B. <Ctrl>
C. <Shift>
rE
D. <F4>
18. The Paste Options button appears after pasting cells in Excel. (True or False?)
19. With the Paste Special command, you can choose to paste only ________.
va
A. values
B. formulas
C. cell comments
D. All of these are correct.
lu
20. The Office Clipboard is available in other Office programs besides Excel. (True or False?)
at
21. Which button should you click to leave misspelled text alone and move to the next questionable word?
A. Ignore Once
B. Ignore All
io
C. Add to Dictionary
D. Change
n
22. When you insert a row, the existing rows are shifted in which direction?
A. Left
B. Upward
C. Downward
O
D. Right
nl
23. Pressing the <Delete> key deletes the selected cell and its contents. (True or False?)
25. To access the find and replace commands, click the Find & Select button in the _______ group on the Home tab.
A. Editing
B. Cells
C. Number
D. Clipboard
Quiz Answers
16. True. Simply click a cell and type to replace its contents.
17. B. Press and hold the <Ctrl> key to copy cells using the mouse.
Fo
18. True. The Paste Options button appears after pasting cells in Excel.
19. D. You can use the Paste Special command to paste any of these elements.
rE
20. True. The Office Clipboard can be used in all Office programs.
21. A. Click the Ignore Once button to leave text alone and move to the next questionable word.
22. C. The existing rows are shifted downward when you insert a row.
va
23. False. Pressing the <Delete> key only deletes the cell’s contents.
Wor ksheet
dazzle everyone at meetings with their
sharp-looking worksheets that use
colorful fonts and borders.
Fo
Formatting Text .................................................. 58
This chapter explains how to format a
Formatting Values ............................................. 59 worksheet to make it more visually
Adjusting Row Height and Column Width ...... 60 attractive and easier to read.
Adjust column width ................................. 60 You will learn how to change the
Adjust row height ..................................... 60
rE
appearance, size, and color of text and
AutoFit columns or rows .......................... 60 how to align text inside a cell. You will
Working with Cell Alignment ............................ 61 learn how to add borders and shading and
Adding Cell Borders and Background Colors 62 how to use cell styles, as well as many
other tools that will help your worksheets
Copying Formatting .......................................... 64
va
look more organized and professional.
Applying and Removing Cell Styles ................ 65
Apply a cell style ...................................... 65
Remove a cell style.................................. 65
Using Exercise Files
lu
Creating and Modifying Cell Styles ................. 66
Modify or duplicate a cell style................. 67
This chapter suggests exercises to practice
the topic of each lesson. There are two
Using Document Themes ................................. 68 ways you may follow along with the
at
Apply a document theme ......................... 68 exercise files:
Mix and match document themes............ 68
Create new theme colors and fonts ......... 69 • Open the exercise file for a lesson,
Save a new document theme .................. 69 perform the lesson exercise, and close
io
Applying Conditional Formatting .................... 70 the exercise file.
Apply Highlight Cell Rules and Top/Bottom • Open the exercise file for a lesson,
Rules ........................................................ 70
n
perform the lesson exercise, and keep
Apply Data Bars, Color Scales and Icon
Sets .......................................................... 71 the file open to perform the remaining
lesson exercises for the chapter.
Creating and Managing Conditional Formatting
O
Rules ................................................................... 72 The exercises are written so that you may
Create a new rule .................................... 72 “build upon them”, meaning the exercises
Manage rules ........................................... 72 in a chapter can be performed in
nl
Remove conditional formatting ................ 73 succession from the first lesson to the last.
Finding and Replacing Formatting .................. 74
y
Underline
O
Select a different font.
Font
nl
Font Color
1. Point to the row header’s bottom border until the Figure 4-3: Increasing the width of column A.
at
pointer changes to a .
1. Select the cell(s) you want to add the color to. Figure 4-8: Click and drag the Draw Border tool to add
rE
borders to cells.
2. Click the Home tab on the Ribbon and click the Fill
Color list arrow in the Font group.
A list of colors you can add to the selected cell(s)
appears.
va
3. Select the color you want to use.
The fill color is applied.
Notice that the color you chose now appears as the
lu
selected color on the button. If you want to apply the
shading to another paragraph, just click the button to
apply the displayed shading color.
at
Other Ways to Apply Background Color:
Right-click the cell selection and click the Fill
Color list arrow on the Mini Toolbar. Select a
io
color. Or, right-click the cell(s) you want to
format and select Format Cells from the
contextual menu or click the Dialog Box
Launcher in the Font group. Click the Fill tab in
n
the Format Cells dialog box and select a
background color or fill effects.
Tips
O
9 You can use an image as the background of a Figure 4-9: The Fill tab of the Format Cells dialog box.
worksheet. Click the Page Layout tab and click the
Background button. Browse to and select the image
nl
you want to use as the worksheet background. Click
Insert.
y
2. Click the Home tab and click the Cell Styles button
in the Styles group.
rE
A gallery of styles appears.
1. Select the cell that has the formatting you want to use
for the style.
rE
The new style will use these formatting properties.
If you need, you will be able to modify the formatting
further before the style is created.
2. Click the Home tab and click the More button in the
va
Cell Styles gallery of the Styles group.
A list of all the available cell styles appears.
1. Click the Home tab and click the Cell Styles button
in the Styles group.
Fo
2. Right-click the cell style you want to modify and
select Modify.
The Style dialog box appears. This is where you can
change the appearance of the style being modified or
duplicated.
rE
Trap: Selecting Modify changes the style, while
selecting Duplicate adds a new custom style and
leaves the original built-in style alone.
6. Click Save.
at
Save a new document theme
Finally, you can save any combination of theme colors,
theme fonts, and theme effects as a new document theme.
io
5. Click Save.
y
Tips
9 When you save a new theme color or font, or save a
new document theme, it becomes available in all
Office programs.
9 To remove a custom theme or theme element, right-
click the theme and select Edit. Click Delete in the
dialog box and click Yes to confirm the deletion.
5. Click OK.
The conditional formatting is applied to the cells.
30. You can align cell contents horizontally but not vertically within a cell. (True or False?)
at
31. The Border list arrow is located in the ________ group on the Home tab.
A. Alignment
io
B. Clipboard
C. Font
D. Number
n
32. Click the Format Painter button once to apply it once or twice to apply it multiple times. (True or False?)
O
33. Excel contains preset formatting styles that you can quickly apply to cells. (True or False?)
nl
34. Which of these formatting properties can be included in style formatting?
A. Number
B. Font
C. Fill and Border.
y
D. All of these.
37. Which of the following is not a conditional format that can be applied to cells?
A. Data Bars
B. Characters
C. Color Scales
Fo
D. Icon Sets
38. You can preview how a new conditional formatting rule looks before you apply it. (True or False?)
rE
39. You cannot edit a conditional formatting rule after you’ve created it. (True or False?)
40. Which of the following types of items can NOT be found using Excel’s Find feature?
A. Formulas
B. Comments
va
C. Conditional Formatting
D. Styles
lu
Quiz Answers
at
27. D. Comma Style is not a type of font formatting.
33. True. Excel contains preset formatting styles that are all ready for you to apply to cells.
nl
34. D. Number, Font, Fill and Border, are all available in cell styles. You can also include Alignment and Protection
formatting in the style.
y
35. D. Document themes consist of theme colors, fonts, and effects.
36. A. Conditional formatting allows you to highlight cells that meet specific criteria.
38. True. Click Preview in the New Formatting Rule dialog box to see how new conditional formatting will look before
you apply it.
Char ts
Fo
spreadsheet.
In this chapter, you will learn how to
create, edit and format dynamic looking
Choosing and Selecting the Source Data ....... 80
charts.
Choosing the Right Chart ................................. 81
rE
Inserting a Chart ................................................ 82
Move a chart within a worksheet ............. 82
Move a chart to another worksheet ......... 82 Using Exercise Files
Resize the chart ....................................... 83 This chapter suggests exercises to practice
the topic of each lesson. There are two
va
Editing, Adding, and Removing Chart Data .... 84
Edit chart source data .............................. 84
ways you may follow along with the
Add a data series ..................................... 84 exercise files:
Copy data into a chart.............................. 85 • Open the exercise file for a lesson,
Remove a data series .............................. 85 perform the lesson exercise, and close
lu
Changing Chart Data ......................................... 86 the exercise file.
Change the source cell range .................. 86
Rename or edit a data series................... 86 • Open the exercise file for a lesson,
at
Reorder the data series ........................... 87 perform the lesson exercise, and keep
Update horizontal axis labels ................... 87 the file open to perform the remaining
lesson exercises for the chapter.
Changing Chart Layout and Style .................... 88
io
Working with Chart Labels ............................... 89 The exercises are written so that you may
Edit chart label text .................................. 89 “build upon them”, meaning the exercises
Add or move a chart label ........................ 89 in a chapter can be performed in
n
Format a chart label ................................. 90 succession from the first lesson to the last.
Remove a chart label ............................... 90
Changing the Chart Gridlines........................... 91
O
Choose major and minor gridlines ........... 91
Format gridlines ....................................... 91
Changing the Scale ........................................... 92
nl
Change display units ............................... 92
Change the scale of the axis ................... 92
Change formatting for axis values ........... 93
y
Emphasizing Data .............................................. 94
Change the color of data series ............... 94
Change the color of a single data point ... 94
Annotate the chart ................................... 95
Use a different chart type for data ........... 95
Using Chart Templates ...................................... 96
Save a chart as a template ...................... 96
Create a new chart using a template ....... 96
Line charts are used to illustrate trends over time. Each value is plotted as a point on
rE
Line the chart and is connected to other values by a line. Multiple items are plotted using
different lines.
Pie charts are useful for showing values as a percentage of a whole. The values for
each item are represented by different colors.
Pie
va
Limit pie charts to eight sections.
Bar charts are just like column charts, except they display information in horizontal
Bar bars rather than in vertical columns.
lu
Area charts are the same as line charts, except the area beneath the lines is filled
Area with color.
at
Scatter charts are used to plot clusters of values using single points. Multiple items
XY (Scatter) can be plotted by using different colored points or different point symbols.
io
Stock charts are effective for reporting the fluctuation of stock prices, such as the
n
Stock high, low, and closing points for a certain day.
A surface chart is useful for finding optimum combinations between two sets of
O
Surface data. Colors and patterns indicate values that are in the same range.
nl
A doughnut chart shows the relationship of parts to a whole, but it can contain more
Doughnut than one data series. (You may want to try stacked column or stacked bar charts
instead.)
y
Bubble charts are similar to XY Scatter charts, but they compare three sets of values
Bubble instead of two, with the third set determining the size of the bubble.
3. Click OK.
5. Click OK.
nl
The Edit Series dialog box closes.
6. Click OK.
y
The Select Data Source dialog box closes, and the
data is added to the chart.
Other Ways to Add Data to a Chart:
If the chart uses adjacent cells for source data,
click and drag the sizing handles around the
source data on the worksheet. Figure 5-8: Another way to add and remove data in a
chart is to click and drag the sizing handles around the
source cells. These sizing handles only appear if the
source data is adjacent.
4. Click OK.
nl
The Select Data Source dialog box closes and the
chart is updated.
y
If you need to use a new set of data for your chart, you Reorder the data series to this order:
Leisure
can change the data source. Business
Fo
Adventure
1. Under Chart Tools on the Ribbon, click the Design
tab and click the Select Data button in the Data Rename the “United States” category “U.S.”
group.
The Select Data Source dialog box appears.
rE
Click to minimize the
2. Click the Chart Data Range reference button and dialog box and make
select the cell(s) you want to use as the data source. room for selecting data.
Press and hold the <Ctrl> key to include non-
adjacent cells in the data source.
va
3. Press <Enter>.
The Select Data Source dialog box expands. The new
cell range for the source data is selected in the Chart
data range text box.
lu
4. Click OK.
at
The dialog box closes and the chart is updated with
the new data. Figure 5-10: The Select Data Source dialog box.
1. Under Chart Tools on the Ribbon, click the Design You can enter a new name
for a data series without
tab and click the Select Data button in the Data changing the source data.
group.
O
The Select Data Source dialog box appears.
nl
2. Select the series you want to change under Legend
Entries (Series).
6. Click OK.
Fo
The Edit Series dialog box closes and the updated
series label appears in the Select Data Source dialog
box.
7. Click OK.
rE
The Select Data Source dialog box closes and the
changes are displayed in the chart.
3. Select the range of cells you wish to use for the axis
labels.
4. Click OK.
Other Ways to Update Axis Labels:
Edit the label in the source data.
Edit chart label text Move the legend to the bottom of the chart.
It’s easy to edit the text of a label that already appears in Remove the Primary Horizontal Axis Title from the chart.
the chart.
Fo
1. Select the chart and double-click the label you wish
to edit.
A cursor appears in the label.
rE
2. Edit the label text and click the chart.
Tips
9 Text that is linked to worksheet data cannot be
directly edited. To edit these labels, you need to edit
va
the labels and data in the actual worksheet.
3. Click the button for the label you want to use in the
n
Labels group. Table 5-1: Chart Labels
A list of options for that label appears. Chart Title: Tells people what the chart is
about.
Tip: If you don’t see a label option that suits you,
O
click the More Options button at the bottom of Axis Titles: Tells people about the data being
the list to display the Format dialog box. Here you charted on the axis.
can fine-tune the label to your specifications.
Legend: Displays the name of a data series in
nl
the chart.
4. Select the option you want to use from the list.
Data Labels: Labels the specific values of
The label appears on the chart. If you add a chart or data in the chart.
y
axis title, placeholder text will appear that you can
replace with your own text. Data Table: Adds a table that contains all the
data in the chart.
Tips
9 To add data labels to one data series, select that data
series instead of the entire chart area.
4. Select None.
The label is removed from the chart.
at
io
n
O
Figure 5-17: Removing a chart label.
nl
y
3. Select a gridline.
None Minor Gridlines
A list appears with different display options for the
va
vertical or horizontal gridlines. The table to the right,
Table 5-2: Horizontal Gridline Examples, gives you
an idea of available gridlines in Excel. The options
for the vertical gridlines are the same, which you
would most likely use for bar charts.
lu
4. Select the gridline option you want to use. Major Gridlines Major & Minor
The chart is updated to show the gridlines as selected. Gridlines
at
Tip: To hide gridlines, select the None option.
Format gridlines
io
You can also change the line formatting used in gridlines.
3. Select an axis and select More Primary Axis Minimum/ By default, Excel chooses the minimum and
O
Options from the list. maximum maximum axis values for you, but you can
values adjust the scale of an axis by selecting Fixed
The Axis Options tab is selected. Refer to Table 5-3: and entering your own values.
Format Axis Dialog Box for a description of the
nl
Major/minor Excel determines the axis unit of measure by
formatting options available in this tab. default, but you can select your own here.
unit
4. Select the axis display options you want to use and Display units Choose the units you want to use to display
axis values—for example, in thousands or
y
click Close.
millions.
The scale of the chart is changed according to the
Major/minor Select whether or not you want to display
options you chose. tick mark major or minor tick marks, as well as
Other Ways to Change Display Units: type whether they are displayed inside, outside, or
Right-click an axis in the chart and select Format across the axis.
Axis from the contextual menu. Axis labels Decide where you want axis labels located.
5. Click Close.
The formatting is applied to the axis.
va
Other Ways to Change Number Formatting:
Right-click an axis in the chart and select Format
Axis from the contextual menu. Click the
Number tab in the Format Axis dialog box.
lu
Tips
9 If the source data already has specific number
formatting, it will be reflected in the chart axes.
at
io
n
O
nl
y
5. Click the Fill tab and apply the fill properties you
at
want to use for the data series.
6. Click Close.
io
The formatting is applied to the data series. Figure 5-20: Changing the color of a data series in the
chart.
3. Click the Fill tab and apply the fill properties you
want to use for the data point.
4. Click Close.
The formatting is applied to the data point. Figure 5-21: Changing the color of a single data point
makes it stand out from the rest of the data series and
chart.
4. Click OK.
The sparkline is inserted in the cell(s).
lu
41. Which of these is an important thing to consider when selecting data for a chart?
A. What is the main point?
B. Keep it simple.
C. What is the truth?
rE
D. All of these.
42. Which of these chart types would be best for illustrating values as a percentage of a whole?
A. Area
B. Pie
va
C. Scatter
D. Column
46. To remove a chart label, select the label and press <Delete>. (True or False?)
y
47. Which of these options is NOT true?
A. Gridlines can be displayed for both the horizontal and vertical axes.
B. You can remove all gridlines from a chart by choosing None for the axis.
C. Gridlines can only be displayed using default settings.
D. Major and minor gridlines can be shown at the same time.
49. You can double-click a chart element to change its formatting. (True or False?)
50. If you decide you no longer need a chart template that you’ve saved, you can delete it. (True or False?)
Fo
51. Chart type cannot be changed after a chart is created. (True or False?)
Quiz Answers
41. D. Consider all of these when selecting data: the main point, the truth, and simplicity.
lu
42. B. Pie charts are best for showing values as a percentage of a whole.
at
43. A. A line chart displays trends over time.
44. B. To create a chart, click the Insert tab, then select a chart type and chart in the Charts group.
io
45. A. Horizontal axis labels are tied to the source data; they only change if the source data is changed.
46. False. To remove a chart label, click the label button in the Labels group and select None from the list.
n
47. C. Gridlines can be formatted to use whatever color, style, and width you prefer.
49. True. You can double-click a chart element to change its formatting.
nl
50. True. If you decide you no longer need a chart template that you’ve saved, you can delete it.
Wor kbooks
data, you’ll find that it can be difficult to
organize and view it all at once.
Luckily, Excel gives you several options
Fo
Using Workbook Views ................................... 102
for viewing and working with data and
Change workbook views ........................ 102
Zoom in or out of a worksheet ............... 103
windows. You can split windows, insert
new worksheets, copy worksheets, work
Selecting Worksheets in a Workbook ........... 104 with multiple workbooks at once, hide
Select a worksheet ................................ 104 data, protect and share workbooks.
rE
Select multiple worksheets .................... 104
In this chapter, we’ll look at ways to make
Inserting and Deleting Worksheets ............... 105
viewing and working with data easier.
Renaming, Moving and Copying Worksheets
........................................................................... 106
Move or copy a worksheet using click and
va
drag ........................................................ 107 Using Exercise Files
Splitting and Freezing a Workbook Window. 108 This chapter suggests exercises to practice
the topic of each lesson. There are two
Creating Headers and Footers ....................... 110
ways you may follow along with the
lu
Create a basic header or footer ............. 110
Use Auto Headers & Footers ................. 110 exercise files:
Insert Header & Footer Elements ........... 111 • Open the exercise file for a lesson,
at
Hiding Rows, Columns, Worksheets and perform the lesson exercise, and close
Windows ........................................................... 112 the exercise file.
Setting the Print Area ...................................... 114 • Open the exercise file for a lesson,
io
Set print area ......................................... 114 perform the lesson exercise, and keep
Move a page break ................................ 115 the file open to perform the remaining
Insert a manual page break ................... 115 lesson exercises for the chapter.
Remove a page break ........................... 115
n
Adjusting Margins and Orientation................ 116
The exercises are written so that you may
“build upon them”, meaning the exercises
Adding Print Titles, Gridlines and Headings 117 in a chapter can be performed in
O
Adjusting Size and Scale ................................ 119 succession from the first lesson to the last.
Adjust paper size ................................... 119
Scale to fit .............................................. 119
nl
Advanced Printing Options ............................ 120
Print multiple worksheets ....................... 120
Print multiple worksheets ....................... 120
y
2. Click the button for the view you want to use in the
Workbook Views group. Figure 6-1: The Workbook Views group on the View tab.
Page Break view lets you view where the page will break if you
print the worksheet.
Zoom in or out
Change views Zoom
Sometimes it is helpful to make a worksheet appear larger
on the computer’s screen, especially if you have a small
monitor or poor eyesight. It can also be helpful to zoom
out so that you can see how the whole worksheet looks.
Figure 6-2: Select a view or adjust the Zoom slider in the
1. Click and drag the Zoom slider on the status bar to status bar.
the percentage zoom setting you want.
Fo
Other Ways to Zoom:
Click the View tab on the Ribbon and click the
Zoom button in the Zoom group. Or, click the
Zoom to Selection button in the Zoom group to
zoom in on the currently selected cell(s).
rE
Create a custom view
Changing the print settings, zoom level, and workbook
appearance every time you view or print a workbook can
get old. By creating a custom view, you can save the view
va
and print settings so you don’t have to reapply them over
and over.
2. Click the Add button and type a name for the view in
at
the Name text box.
There are two additional settings here:
• Print settings: Saves print settings such as page
io
breaks.
• Hidden rows, columns and filter settings:
n
Keeps columns and rows hidden and any applied
filters filtered.
Insert a worksheet
Delete a worksheet
lu
Rename a worksheet
By default, Excel worksheets are given the rather boring
Fo
Replace the worksheet
names Sheet1, Sheet2, Sheet3, and so on. You can give name with a new one
them more meaningful names.
2. Type a new name for the worksheet. Figure 6-6: Renaming a worksheet
3. Press <Enter>.
va
The sheet is renamed.
Other Ways to Rename a Worksheet:
Right-click the sheet tab, select Rename from the
contextual menu, and type a new name. Or, select
lu
the worksheet you want to rename, click the
Home tab on the Ribbon, click the Format button
in the Cells group and select Rename Sheet. Type
a new name.
at
5. Click OK.
The worksheet(s) are moved or copied to the new
location.
Fo
Move or copy a worksheet using click and
drag
The easiest way to move or copy a worksheet within a
workbook is with the mouse.
rE
2. Click and drag the sheet tab to move it to a new Click and drag a worksheet tab
location in the workbook. Or, press and hold the to move it in the workbook.
va
<Ctrl> key while you click and drag the sheet tab to
copy the sheet. Figure 6-8: Click and drag to move a worksheet.
Tips
9 To change the color of a sheet tab, right-click the tab,
lu
point to Tab Color and select a color from the
palette.
at
io
n
O
nl
y
1. Select the cell where you want to split the window. Click and drag
va
the split box to
The worksheet will be split above and to the left of split a
the active cell, creating four panes. Split button worksheet
Each pane can window
To split into only two panes, select a cell in the top or be navigated
bottom-most visible row, or the left-most visible independently
lu
column.
2. Click the View tab on the Ribbon and click the Split
at
button in the Window group.
The worksheet is split into sections that can be
navigated individually without moving other
sections.
io
Other Ways to Split the Window:
Click and drag the vertical split box or the
horizontal split box to where you want the
n
window to split.
1. Click the Freeze Panes button in the Window group The window is
io
horizontally
and select Unfreeze Panes. frozen here.
All cells in the worksheet are unfrozen so you can
scroll freely throughout the entire worksheet. Figure 6-10: A worksheet with frozen panes: columns A-B,
n
and rows 1-4. Information in the frozen panes remains on
the screen as you scroll and move through a worksheet.
O
nl
y
Set print area Move the page break after row 60 up to row 40.
Sometimes you may only want to print part of a Add a page break after row 18, then remove the break.
worksheet. You can define an area so that any time you
print, only that cell range is printed.
Fo
1. Select the cell range you want to print.
1. Click the View tab on the Ribbon and click the Page
Break Preview button in the Workbook Views group.
The worksheet appears in Page Break Preview view.
Dashed lines indicate automatic page breaks, while
solid lines represent page breaks that have been
changed or added.
Adjust orientation
n
2. Select the paper size you want to use from the list.
va
The worksheet layout updates to the new paper size.
Select a different page
Scale to fit size from the Size list.
You can tell Excel how many pages wide or tall you want
lu
the data to fit onto when printed.
1. Open the workbook you wish to print. Figure 6-23: Backstage View with multiple pages selected
for printing.
nl
2. Click the File tab and select Print.
1. Click the View tab on the Ribbon and click the New
Window button in the Window group.
Another window with the workbook’s contents Figure 6-25: Two workbooks arranged vertically.
appears in the Excel program window.
Tips
9 Viewing the same workbook in multiple windows
does not create a new file. When a change is made to
the workbook in one window, the change is reflected
in all the windows for the workbook.
9 Each instance of a workbook window is marked in
the title bar. For example, if a new window was
opened for Workbook 1, the two windows would be
named Workbook 1:1 and Workbook 1:2.
Fo
rE
2. Click the File tab on the Ribbon and select Save As.
The Save As dialog box appears.
There are three basic types of templates you can
rE
create:
• Excel Template: This is the standard Excel 2007
template that works with XML.
• Excel Macro-Enabled Template: This type of
va
template is the standard template but is enabled to
work with XML.
• Excel 97-2003 Template: Use this to create
workbooks that are compatible with earlier
versions of Excel. These files are not XML
lu
compatible.
3. Click the Save as type list arrow and select the type
at
of template you want to create. Figure 6-27: Saving a workbook as an Excel Template.
55. To select a worksheet, click the View tab on the Ribbon, click the Sheet button in the Worksheet Selection group, and
select the sheet you want to make active. (True or False?)
va
56. You can add additional worksheets to a workbook. (True or False?)
57. You can move a worksheet within a workbook simply by dragging the sheet's tab to a new location. (True or False?)
lu
58. Splitting and freezing a workbook window are exactly the same thing. (True or False?)
at
59. You can work with headers and footers easiest in Page Layout View. (True or False?)
60. When you hide a row, column, or worksheet, the hidden data is deleted. (True or False?)
io
61. In Page Break Preview view, you can move a page break by clicking and dragging it to a new location. (True or
n
False?)
62. In Page Break Preview view, you can move a page break by clicking and dragging it to a new location. (True or
False?)
O
63. Which of the following is NOT a preset margin size setting available in Excel?
nl
A. Large
B. Normal
C. Wide
D. Narrow
y
64. The Sheet Options group on the Page Layout tab has commands that allow you to view or print which of the
following:
A. The Formula Bar
B. Formulas
C. Page numbers
D. Gridlines
55. False. To select a worksheet, click that worksheet's tab at the bottom of the workbook window.
57. True. You can move a worksheet within a workbook simply by dragging the sheet's tab to the new location. Hold down
the Ctrl key if you want to copy it.
at
58. False. They are similar, but splitting allows you to scroll through all window sections independently. Also, you can
move split lines but not frozen sections.
io
59. True. Page Layout View makes it easy to work with headers and footers.
60. False. Hiding data doesn't delete it, it just hides it from view until it is unhidden.
n
61. True. In Page Break Preview view, you can move a page break by clicking and dragging it to a new location.
O
62. True. In Page Break Preview view, you can move a page break by clicking and dragging it to a new location.
66. B. In Excel 2010, you can only print one workbook at a time.
Functions and
spreadsheet. Without formulas, Excel
would be nothing more than a grid for
displaying numbers and text. As you will
For mulas
Fo
see in this chapter, formulas can do a lot
more than just adding, subtracting,
multiplying, and dividing. Excel has
Formulas with Multiple Operators ................. 128 hundreds of different formulas you can
Inserting and Editing a Function ................... 129 use to create complex statistical, financial,
rE
Insert Function dialog box ..................... 129 and scientific calculations. The most
Function Library ..................................... 130 expensive calculator in the world couldn’t
Edit a function ........................................ 130 come close to matching all of Excel’s
functions.
AutoCalculate and Manual Calculation ......... 131
Use AutoCalculate ................................. 131 In this chapter, you’ll learn about more
va
Change AutoCalculate options .............. 131 complex formula writing, how to insert
Manual formula calculation options ....... 131 and edit functions, how to define names,
Defining Names ............................................... 133 and how to trace formulas and diagnose
Define a name for a cell range .............. 133 errors.
lu
Define names with the New Name dialog
box ......................................................... 133
Using and Managing Defined Names ............ 135
at
Use defined names ................................ 135 Using Exercise Files
View defined names .............................. 135 This chapter suggests exercises to practice
Edit defined Subheading ....................... 135 the topic of each lesson. There are two
Delete defined names ............................ 136 ways you may follow along with the
io
Displaying and Tracing Formulas .................. 137 exercise files:
Display formulas .................................... 137 • Open the exercise file for a lesson,
Trace precedents and dependents ........ 137
n
perform the lesson exercise, and close
Use the Watch Window ......................... 138
the exercise file.
Understanding Formula Errors ...................... 139
• Open the exercise file for a lesson,
O
Using Logical Functions (IF) .......................... 141 perform the lesson exercise, and keep
Using Financial Functions (PMT) ................... 142 the file open to perform the remaining
lesson exercises for the chapter.
Using Database Functions (DSUM) ............... 143
nl
The exercises are written so that you may
Using Lookup Functions (VLOOKUP) ........... 144
“build upon them”, meaning the exercises
User Defined and Compatibility Functions ... 145 in a chapter can be performed in
y
Financial Functions ......................................... 146 succession from the first lesson to the last.
Date & Time Functions .................................... 147
Math & Trig Functions ..................................... 149
Statistical Functions........................................ 151
Lookup & Reference Functions ..................... 152
Database Functions......................................... 153
For example:
() =(20+5)/(10-5) would add 20 and 5 (25), subtract 10 by 5 (5) and then divide the results to equal 5.
But…
at
=20+5/10-5 would divide 5 by 10 (0.5), add the result to 20 (20.5) and then subtract 5 to equal 15.5.
: Reference Operator
io
% Percent
^ Exponentiation
n
* and / Multiplication and division
Edit a function
lu
1. Select the cell with the function you want to edit.
Choose from the following options:
at
• Click the Insert Function button on the formula
bar and edit the function arguments in the
Function Arguments dialog box.
io
• Click in the formula bar and directly edit the
function in the formula bar.
n
Table 7-2: Function Categories
Most Recently Used Lists the functions you’ve used most recently.
All Lists every function available in Excel.
O
Financial Lists financial functions to calculate interest, payments, loans, etc.
Date & Time Lists functions to calculate date and times values.
nl
Math & Trig Lists math and trigonometry functions, such as SUM, COS, and TAN.
Statistical Lists statistical functions, to calculate averages, standard deviations, etc.
Lookup & Reference Lists functions that lookup or reference values.
y
Database Lists functions that lookup or calculate values in a list or database.
Text Lists functions that can be used with text or labels.
Logical Lists IF…THEN conditional-type functions.
Information Lists functions that return information about values and the worksheet itself.
Engineering Lists functions used in engineering calculations.
Cube Lists functions that extract data from OLAP cubes.
Three options appear in the list: Maximum Largest value in the selection.
3. Click the Scope list arrow and select the scope you
Fo
want to use.
The scope determines whether the name is
recognized by the whole workbook or just individual
worksheets within the workbook.
rE
Tip: Names in which the scope is a worksheet can
be recognized in other sheets of the workbook.
Just qualify the sheet name first, for example:
Sheet1!Income_FY08.
Click to collapse the dialog
va
4. (Optional) Enter a comment in the Comment box. box and select the cell or
cell range you want to name.
The comment will be visible in the Name Manager
dialog box. Figure 7-7: The New Name dialog box.
6. Click OK.
y
The name is defined and the dialog box closes.
Tips
9 You can use upper- and lowercase letters in defined
names, but Excel doesn’t distinguish between them.
9 Besides creating defined names, you can also create
“table names.” Excel automatically creates a table
name like “Table1” when a table is created, but you
can use the Name Manager to change the name.
Once cells have been given names, they are easy to Delete the JanIncome defined name.
Fo
reference in other formulas.
1. Click the Formulas tab on the Ribbon and click the Figure 7-9: Defined names are denoted in the Name
Name Manager button in the Defined Names group. Manager dialog box by an icon that looks like a note tag.
Table names appear with a table icon
The Name Manager dialog box appears.
4. Click OK.
O
The defined name or names are deleted.
Tips
9 In the Name Manager dialog box, you can filter the
nl
list of defined names by scope; whether or not they
have errors; or by type of name (defined or table).
Click the Filter button and select the filter you want
y
to use.
9 You can also click the New button in the Name
Manager dialog box to define a new name.
Display formulas
1. Click the Insert Function button on the Formula bar. Rate Nper Pv
The interest The number The present
The Insert Function dialog box appears. rate per of payments value of loan
va
period amount, or
2. Click the Or select a category list arrow and select principal
Financial.
Functions that fall under this category are shown in Figure 7-19: The syntax for the PMT Function.
lu
the Select a function box.
FLOOR =FLOOR(number, significance) Rounds a number down to the nearest multiple of significance.
y
FLOOR.PRECISE =FLOOR.PRECISE(number, Rounds a number down, to the nearest integer or to the nearest
significance) multiple of significance.
LN =LN(number) Calculates the natural (base e) logarithm of a positive number.
LOG =LOG(number, base) Calculates the logarithm of a positive number using a specified
base.
67. To change the order of evaluation, enclose the part of the formula to be calculated first in parentheses. (True or False?)
70. You can define a name for multiple non-adjacent cells. (True or False?)
lu
71. Which of the following is NOT a button found in the Defined Names group?
A. Name Manager
at
B. Evaluate Formula
C. Define Name
D. Use in Formula
io
72. Click the __________ button to display arrows that show what cells affect the currently selected cell.
A. Show Formulas
n
B. Watch Window
C. Define Name
D. Trace Precedents
O
73. The Error Checking dialog box does not include which one of the following buttons?
A. Help on this error
B. Show Calculation Steps
nl
C. Edit in Formula Bar
D. Show Formulas
y
74. What are the three arguments or parts of an IF formula?
A. IF, THEN, ELSE
B. The conditional statement, the value if the test is false, and the value if the test is true.
C. The logical test, the value if the test is true, and the value if the test is false.
D. The conditional statement, the expression, and the value.
76. The DSUM function calculates the totals of specific records based on your criteria. (True or False?)
77. Which of the following functions looks up values vertically down a column and then horizontally across a row?
A. HLOOKUP
B. DSUM
Fo
C. DLOOKUP
D. VLOOKUP
rE
Quiz Answers
67. True. To change the order of evaluation, enclose the part of the formula to be calculated first in parentheses.
69. True. By default, Excel recalculates the formulas in a workbook whenever you change a value that affects another
value.
lu
70. True. You can define a name for multiple non-adjacent cells.
71. B. The Evaluate Formula button is not found in the Defined Names group.
at
72. D. Click the Trace Precedents button to display arrows that show what cells affect the currently selected cell.
73. D. The Error Checking dialog box does not have a Show Formulas button.
io
74. C. The three parts of an IF formula are the logical test, the value if the test is true, and the value if the test is false.
n
75. D. A fixed or variable interest rate option is not part of the PMT function.
76. True. The DSUM calculates the totals of specific records based on your criteria.
O
77. The VLOOKUP functions can look up values vertically down a column and then horizontally across a row.
nl
y
Data Ranges
and columns, you can then easily sort the
data into a desired order, or filter the data
to display specific information, such as
Fo
Sorting by One Column .................................. 161 records from a specific zip code.
Sorting by Colors or Icons ............................. 163 In this chapter, you will learn how to sort
Sorting by Multiple Columns .......................... 165 and filter data in data ranges in several
different ways.
Sorting by a Custom List ................................ 166
rE
Create a custom list ............................... 166
Sort by a custom list .............................. 167
Filtering Data .................................................... 168
Filter text, numbers and dates ............... 168
Using Exercise Files
Remove filtering ..................................... 168
va
This chapter suggests exercises to practice
Creating a Custom AutoFilter ......................... 169 the topic of each lesson. There are two
Using an Advanced Filter................................ 170 ways you may follow along with the
exercise files:
lu
• Open the exercise file for a lesson,
perform the lesson exercise, and close
the exercise file.
at
• Open the exercise file for a lesson,
perform the lesson exercise, and keep
the file open to perform the remaining
io
lesson exercises for the chapter.
The exercises are written so that you may
“build upon them”, meaning the exercises
n
in a chapter can be performed in
succession from the first lesson to the last.
O
nl
y
2. Click the Home tab on the Ribbon and click the Sort
& Filter button in the Editing group.
O
A list of sorting options appears, which change
according to the type of data you are sorting:
• Text options: Sort A to Z or Sort Z to A.
nl
• Number options: Sort Smallest to Largest or Sort
Largest to Smallest.
y
• Date options: Sort Oldest to Newest or Sort
Newest to Oldest.
2. Click the Home tab on the Ribbon and click the Sort
& Filter button in the Editing group.
7. Click OK.
O
The Excel Options dialog box closes and the custom
list is created.
nl
Tips
9 You can only create a custom list based on a value,
not on cell color, font color, or an icon.
y
Figure 8-7: The Custom Lists dialog box after the custom
list is added.
2. Click the Home tab on the Ribbon, click the Sort &
Filter button in the Editing group, and select Custom
Sort.
Fo
The Sort dialog box appears.
Figure 8-8: Results sorted by custom list.
3. Click the Sort by list arrow and select a column to
sort by (the column with data that matches the
rE
custom list).
6. Click OK.
The data is sorted according to the custom list.
lu
Tips
9 To sort by rows instead of columns, click Options in
the Sort dialog box and select Sort left to right.
at
io
n
O
nl
y
2. Click the Home tab on the Ribbon, click the Sort &
rE
Filter button in the Editing group, and click Filter.
Filter buttons that look like arrows appear in the first
cell of each field header. Figure 8-9: Data filtered to display only North region sales
Other Ways to Filter: reps.
Click the Data tab on the Ribbon and click the
va
Filter button in the Sort & Filter group.
Remove filtering Figure 8-10: Setting criteria for a field. Items that are
You can remove a filter to once again display all the data. checked are shown. Items that are not checked are filtered
out.
1. Click the Home tab on the Ribbon, click the Sort &
Filter button in the Editing group, and select Filter.
The filter buttons disappear and filtering is removed.
2. Click the Home tab on the Ribbon, click the Sort &
Fo
Filter button in the Editing group, and click Filter.
Filter buttons appear in the first cell of each column
in the range.
rE
3. Click the filter button in the column you want to
filter.
A list of options appears. Depending on whether the
selected cells contain text, numbers, or dates, the
options will differ.
va
4. Point to the option that appears in the list: Text
Filters, Number Filters, or Date Filters.
A list of comparison operators, such as Equals, Figure 8-11: The Custom AutoFilter dialog box.
appears, as well as the Custom Filter option.
lu
7. Click the second list arrow in the first row and select
O
a value from the list or enter your own value in the
text box.
nl
8. (Optional) Select And or Or and select a second
criteria to filter the column by.
Tip: You can use wildcards when entering values
y
in the Custom AutoFilter dialog box. Use a ? to
represent any single character or a * to represent a
series of characters.
9. Click OK.
The Custom AutoFilter dialog box closes and the data
is filtered.
7. Click OK.
Extract range Criteria
va
The data is filtered based on the criteria in the criteria range
range, and the results are displayed in the data range.
Tip: To remove the advanced filtering, click the Figure 8-14: Filter results copied to another location
(extracted) using the Advanced Filter.
Clear button in the Sort & Filter group on the
Data tab.
lu
The table below, Comparison Operators and
Wildcards, provides a description of operators and
wildcards you can use for entering filter criteria.
at
78. Before you sort data, make sure it's organized into...
A. a chart.
B. alphabetical order.
C. a pivot table.
rE
D. columns and rows.
79. You can sort Excel data by any of the following, except by...
A. font color.
B. cell icon.
va
C. number formatting.
D. cell color.
81. You can create your own custom list for sorting or use a predefined custom list. (True or False?)
io
82. Which one of the following is a way to turn on the filtering buttons?
A. Click the Insert tab and click the Filter button in the Filter group.
n
B. Click the Filter tab and click the Filter button in the Filter group.
C. Click the Home tab on the Ribbon, click the Sort & Filter button in the Editing group, and click Filter.
D. Type the formula =Filter(Data) in the first cell of the column you want to filter.
O
83. You can use wildcards when entering values in the Custom AutoFilter dialog box. (True or False?)
nl
84. With an Advanced Filter, you can do all of the following, except...
A. Extract and copy filtered results to another range on the worksheet.
B. Use wildcards in the filter criteria.
y
C. Filter using criteria located outside of the data range.
D. You can do all of these things.
Quiz Answers
78. D. Before you sort data, make sure it's organized into columns and rows.
80. A. Use the Sort dialog box to sort data by multiple columns.
81. True. You can either create your own custom list or use a predefined custom list.
82. C. To display the filtering buttons, click the Home tab on the Ribbon, click the Sort & Filter button in the Editing
group, and click Filter.
83. True. You can use wildcards when entering values in the Custom AutoFilter dialog box.
Fo
Tables
of Excel—make it easier to work with
ranges of Excel data. By turning an Excel
range into a table, you can work with the
Fo
Creating a Table ............................................... 175 table data independently from the rest of
Create a table from a cell range ............ 175 the worksheet. You can quickly sort and
Create a blank table............................... 176 filter the table columns, add total rows,
Adding and Removing Data ............................ 177 and apply table formatting to an Excel
Add table rows and columns.................. 177 table.
rE
Remove table rows and columns .......... 177 Some examples of things you might track
Resize a table ........................................ 178
Resize a table ........................................ 178
in a table include telephone numbers,
clients, and employee rosters. Once you
Working with the Total Row ............................ 179 create a table in Excel, you can easily
Add a Total row ...................................... 179 find, organize, and analyze its information
va
Calculate Total row values ..................... 179 with Excel’s rich set of table-management
Structured references ............................ 179
features.
Sorting a Table ................................................. 181
Custom Sorting ...................................... 181
lu
Filtering a Table ............................................... 183
Clear a filter ........................................... 183 Using Exercise Files
Custom AutoFilter .................................. 183 This chapter suggests exercises to practice
at
Removing Duplicate Rows of Data ........ 184 the topic of each lesson. There are two
ways you may follow along with the
Formatting the Table ....................................... 185
Apply a style while creating a table ....... 185 exercise files:
io
Apply a different style to an existing table • Open the exercise file for a lesson,
............................................................... 185 perform the lesson exercise, and close
Remove a table style ............................. 185
the exercise file.
Format the table style ............................ 186
n
Using Data Validation ...................................... 187 • Open the exercise file for a lesson,
Set validation criteria ............................. 187 perform the lesson exercise, and keep
Create an input message ...................... 188 the file open to perform the remaining
O
lesson exercises for the chapter.
Summarizing a Table with a PivotTable......... 189
The exercises are written so that you may
Converting to a Range .................................... 190
“build upon them,” meaning the exercises
nl
in a chapter can be performed in
succession from the first lesson to the last.
y
5. Click OK.
Figure 9-3: Resizing a table using the sizing handle.
at
The table is resized. If cells are added to the table,
they are empty so you can enter data in the cells.
Other Ways to Resize a Table:
io
Click and drag the sizing handle in the lower-right
corner of the table to include more or fewer cells.
Or, enter data in a cell below or to the right of the
table; the table automatically expands.
n
O
nl
y
3. Click OK.
va
Tips
9 If you add or edit data in a table that is filtered or
sorted, you need to click the Reapply button in
lu
the Sort & Filter group on the Data tab to include
the new or edited data.
Custom Sorting
at
When you need to sort by more than one field, you have
to use a Custom Sort.
io
The Custom Sort can sort records by more than one field,
such as if you want to sort alphabetically by first and last
Figure 9-5: The list before and after being sorted in
name, or by state and city.
ascending order by the Last field.
n
1. Click a field’s filter button and select Sort by →
Custom Sort from the list.
The Custom Sort dialog box appears.
O
Other Ways to Use Custom Sort:
Click the Home tab and click the Sort & Filter
button in the Editing group. Select Custom Sort
nl
from the list.
5. Click OK.
7. Click OK.
Fo
The data in the table is sorted by the sort
specifications.
Figure 9-7: The table sorted by last name, then first name.
rE
va
lu
at
io
n
O
nl
y
1. Click the filter button for the filter you want to clear. When a filter is applied
at
to a column, the filter
button changes.
2. Select Clear Filter From from the list.
The filter is cleared and the table data is displayed
io
without the filter.
Custom AutoFilter
n
When you need to filter using more complicated criteria,
you have to use a Custom AutoFilter. Custom AutoFilters
are more difficult to set up and create than ordinary
AutoFilters, but they’re much more flexible and powerful.
O
4. Click OK.
n
Duplicate values are deleted and a message appears,
telling you how many duplicate values that were
found and removed.
Figure 9-12: The results of the remove duplicates
O
5. Click OK. command.
nl
y
4. Click OK.
A table is created and formatted with the selected
style. Table Tools appear on the Ribbon, and the
lu
Design contextual tab appears.
2. Click the Data tab on the Ribbon and click the Data
Validation button in the Data Tools group.
va
The Data Validation dialog box appears, displaying
the Settings tab.
4. Complete the remaining fields on the Settings tab and Table 9-3: Validation Criteria Options
click OK.
n
Any value No validation criteria applied. Any value
The data validation is set for the selected cell(s). Now can be entered.
when a user tries to enter data that is not valid, Excel
Whole number Allows a whole number between
will prevent the entry and display a message about
minimum and maximum limits you set.
O
the cell being restricted.
Decimal Allows a decimal or a percent entered as a
Tips decimal between limits you set.
9 By default, when you enter invalid data in a validated
nl
List Allows a value from a list of choices you
cell, a warning message appears and entry of the input or select from a range. A list arrow
invalid data is not allowed. However, you can modify then appears in the cell, allowing the user
the message that appears, and even allow invalid data to make a choice from the list.
y
to be entered into a validated cell. To do this, click Date Allows a date within prescribed limits.
the Error Alert tab in the Data Validation dialog box
and select the desired options. Time Allows a time within prescribed limits.
9 To find validated data in a worksheet, click the Find Text length Allows text containing a certain number of
characters that you prescribe.
& Select button in the Editing group on the Home tab
and select Data Validation. The validated cells are Custom Allows you to enter a formula to calculate
highlighted. what is allowed in the cell.
3. Click Yes.
rE
The table converts back to a normal range of cells,
but the table formatting is still applied.
Other Ways to Convert a Table to a Range:
Select the table, right-click the table and select
Table → Convert to Range from the contextual
va
menu.
lu
85. You can create a blank table or a table that uses an existing data range. (True or False?)
Fo
87. By default, when you add a total row to a table, the last column is summed. (True or False?)
88. Custom sorting allows you to sort data by multiple columns. (True or False?)
va
92. Which of the following is NOT a formatting option in the Table Style Options group?
n
A. Header Row
B. Checkered Rows
C. Banded Columns
D. First Column
O
94. You can summarize and analyze table data using a ________.
A. PivotTable
B. PivotSheet
C. PivotGrid
D. DataSheet
Quiz Answers
85. True. You can create a blank table or a table that uses an existing data range.
87. True. When you add a total row to a table, the last column is summed by default.
88. True. Custom Sorting allows you to sort by multiple levels, so you can sort by multiple columns.
rE
89. D. Color is not a filter option in Excel. It is, however, a way you can sort.
90. False. Removing duplicates from a table deletes the data completely.
93. C. You don't need to protect the worksheet to use the data validation feature.
lu
94. A.You can summarize and analyze table data using a PivotTable.
95. True. When you convert a table to a range, the table formatting remains applied to the cells.
at
io
n
O
nl
y
PivotTables
worksheet data, including sorting and
filtering records. This chapter explains
how to use a PivotTable to analyze data
Fo
Creating a PivotTable ...................................... 194 ranges.
Specifying PivotTable Data ............................. 195 A PivotTable is usually the best way to
Add fields ............................................... 195 summarize and analyze data ranges or
Rearrange fields .................................... 195 tables. PivotTables are good for grouping
Changing a PivotTable’s Calculation............. 196 or expanding levels of data, switching
rE
columns and rows (“pivoting” data), and
Filtering and Sorting a PivotTable ................. 197
filtering and sorting. They lend
Filter a PivotTable .................................. 197
Sort a PivotTable.................................... 197 themselves particularly well to
summarizing long lists of data that need
Working with PivotTable Layout .................... 198 to be summed.
va
Adjust PivotTable Field List layout ......... 198
Show/Hide PivotTable elements ............ 198 This chapter explains how to create
Layout group on the Design tab ............ 199 PivotTables, modify their structure, and
Grouping PivotTable Items ............................. 200
create PivotCharts that graphically
illustrate PivotTables.
lu
Group dates or times ............................. 200
Group numeric items ............................. 200
Group other selected items ................... 200
Ungroup items ....................................... 201
at
Using Exercise Files
Updating a PivotTable ..................................... 202
This chapter suggests exercises to practice
Refresh PivotTable data......................... 202
Change PivotTable data source............. 202 the topic of each lesson. There are two
io
ways you may follow along with the
Formatting a PivotTable .................................. 203 exercise files:
Apply a built-in style ............................... 203
Work with style options .......................... 203 • Open the exercise file for a lesson,
n
perform the lesson exercise, and close
Creating a PivotChart ...................................... 204
the exercise file.
Using Slicers .................................................... 205
• Open the exercise file for a lesson,
O
Create a PivotTable Slicer ..................... 205
Filter data using a slicer ......................... 206 perform the lesson exercise, and keep
Format a slicer ....................................... 206 the file open to perform the remaining
Delete a slicer ........................................ 206 lesson exercises for the chapter.
nl
Sharing Slicers Between PivotTables ........... 207 The exercises are written so that you may
Apply a slicer to another PivotTable ...... 207 “build upon them”, meaning the exercises
y
in a chapter can be performed in
succession from the first lesson to the last.
Figure 10-4: This diagram illustrates how areas in the PivotTable Field List correspond to areas in the PivotTable report.
nl
1. Select the items in the PivotTable that you want to 3. The data for each month is grouped together under one
group. column, rather than being shown as separate days.
Figure 10-10: Grouping the PivotTable dates by month.
Ungroup items
Fo
1. Select the items in the PivotTable that you want to
ungroup.
4. Click OK.
nl
The PivotTable updates with the data from the new
source range.
y
Apply a built-in style Select the Banded Rows style option and deselect the
Column Headers option.
1. Select a cell in the PivotTable.
The PivotTable Tools are displayed on the Ribbon.
PivotTable
Fo
style options Built-in styles
2. Click the Design tab and select a style in the
PivotTable Styles group.
The PivotTable is formatted with the style you
selected.
rE
Tip: Click the More button in the PivotTable
Styles group to display an expanded PivotTable
Styles gallery.
Delete a slicer
io
If you no longer want to filter PivotTable data, you can
remove the slicer completely.
96. You can create a PivotTable in its own new worksheet or in one that already exists in your workbook. (True or False?)
Fo
97. Specify the data you want to use in the PivotTable in the ___________ task pane.
A. Select Fields
B. Specify Fields
C. PivotTable Field List
rE
D. PivotTable Layout
98. Which of the following is NOT a calculation available in the Value Field Settings dialog box?
A. Count
B. Average
va
C. StdDev
D. These are all available
99. You can filter a PivotTable by dragging a field into the _______ box in the PivotTable Field List.
lu
A. AutoFilter
B. Report Filter
C. Pivot Filter
D. Data Filter
at
100. Which of the following is NOT a button found in the Layout group on the Design tab?
A. Header Row
io
B. Grand Totals
C. Report Layout
D. Blank Rows
n
101. You can group any type of PivotTable item except for dates. (True or False?)
O
102. When you make changes to your PivotTable's source data, the PivotTable refreshes automatically to include the edits.
(True or False?)
nl
103. Which of the following is NOT an option in the PivotTable Style Options group?
A. Banded Columns
B. Banded Rows
y
C. Bold Headers
D. Row Headers
104. When you modify a PivotTable, the PivotChart is updated along with it. (True or False?)
Quiz Answers
96. True. You can create a PivotTable in either a new or existing worksheet
97. C. Specify the data you want to use in the PivotTable in the PivotTable Field List task pane.
Fo
99. B. You can filter a PivotTable by dragging a field into the Report Filter box in the PivotTable Field List.
rE
100. A. Header Row is not a button found in the Layout group on the Design tab.
102. False. You must manually refresh the PivotTable to include changes made to your source data.
va
103. C. Bold Headers is not an option in the PivotTable Style Options group.
104. True. When you modify a PivotTable, the PivotChart is updated along with it.
lu
105. True. Slicers provide a visual way to filter PivotTables.
Data
numerous tools for analysis and
organization, so they perform Excel tasks
the manual way.
Fo
Creating Scenarios .......................................... 211
This method can help you get by in
Create scenarios.................................... 211
Display a scenario ................................. 212
simple situations, but isn’t very effective
when you need to perform more complex
Creating a Scenario Report ............................ 213 what-if analysis or organize large lists of
Create a Scenario Summary report ....... 213 data.
rE
Working with Data Tables ............................... 214 In this chapter, you will learn about
Create a one-input data table ................ 214
Create a two-input data table................. 215
Excel’s tools for analyzing and
organizing. These include tools for
Using Goal Seek .............................................. 216 creating multiple worksheet scenarios,
va
Using Solver ..................................................... 217 using Goal Seek and Solver tools to
Install the Solver add-in ......................... 217 perform what-if analysis, and organizing
Use Solver ............................................. 217 your data by subtotaling, outlining, or
Using Text to Columns .................................... 219
consolidating.
lu
Split data using a delimiter ..................... 219
Split data using a fixed column break .... 220
Grouping and Outlining Data ......................... 221 Using Exercise Files
at
Group rows or columns manually .......... 221 This chapter suggests exercises to practice
Hide or show detail ................................ 221
the topic of each lesson. There are two
Ungroup rows or columns ...................... 222
Outline data automatically ..................... 222 ways you may follow along with the
io
Remove an outline ................................. 222 exercise files:
Using Subtotals ............................................... 223 • Open the exercise file for a lesson,
Create subtotals ..................................... 223 perform the lesson exercise, and close
n
Remove subtotals .................................. 224 the exercise file.
Consolidating Data by Position or Category 225 • Open the exercise file for a lesson,
Consolidate by position or category ...... 225 perform the lesson exercise, and keep
O
Consolidating Data Using Formulas.............. 227 the file open to perform the remaining
lesson exercises for the chapter. (This
chapter does not use the same exercise
nl
file for the duration of the chapter.)
The exercises are written so that you may
y
“build upon them”, meaning the exercises
in a chapter can be performed in
succession from the first lesson to the last.
Create scenarios
A scenario is a set of input values that you can substitute
in a worksheet to perform what-if analysis. For example,
rE
you could create scenarios to show various interest rates,
loan amounts, and terms for a mortgage. Excel’s scenario Scenario name
manager lets you create and store different scenarios in
the same worksheet. The cell range
that contains
the values you
1. Create or open a worksheet that contains one or more
va
want to
formulas. change.
The Scenario Values dialog box appears. Here you Figure 11-2: The Scenario Values dialog box.
need to enter desired values for the changing cells.
y
Tip: To make sure you don’t lose the original
values for the changing cells, use the original cell
values in the first scenario you create.
Display a scenario
va
Once you have created scenarios in a worksheet, you can
display the worksheet using the values from those Figure 11-3: The Scenario Manager dialog box.
scenarios.
lu
1. Click the Data tab on the Ribbon, click the What-If
Analysis button in the Data Tools group, and select
Scenario Manager from the menu.
at
The Scenario Manager dialog box appears.
3. Click the Set cell box, and click the cell in the
worksheet that contains the formula you want to use.
va
4. Click the To value box and enter the value you want
to change it to. Excel calculates the
values needed to
meet the goal.
5. Click the By changing cell box, and click the cell
you want to change to achieve the formula result.
lu
This cell must be a cell that is referenced by the
formula.
at
6. Click OK.
Excel calculates and displays the value needed to
achieve the formula result you desire.
io
5. Click Yes.
n
Microsoft Office reconfigures so that Solver is
installed in Excel. The Solver command will now be
available in the Analysis group on the Data tab on the
O
Ribbon.
Tip: You may need to restart Excel so that Solver
installs properly.
nl
Use Solver
y
1. Open or create a workbook that contains the problem
you want to solve.
A problem should consist of a formula that you want
Excel to solve by changing the values of its inputs
until it arrives at the desired result.
Figure 11-10: The Add-Ins dialog box.
5. Click Next.
Next you can select a format for each column of data.
Figure 11-16: After splitting text.
7. Click Finish.
Fo
Tip: A message may appear, asking if you want to
replace the contents of the destination cells. If so,
click OK.
The data is split into different columns.
rE
Split data using a fixed column break
You can also decide for yourself where you want to split
the data using a fixed column break.
2. Click the Data tab on the Ribbon and click the Text
to Columns button in the Data Tools group.
The Convert Text to Columns Wizard dialog box
lu
appears.
1. Click the Data tab on the Ribbon and click the Hide
Detail or Show Detail button in the Outline group.
y
Other Ways to Hide or Show Detail:
Click the outline symbols next to or above the
worksheet. These include the Row Level and
Column Level buttons and the plus and minus
button.
Remove an outline
nl
1. Click the Data tab on the Ribbon, click the Ungroup
button list arrow in the Outline group, and select
Clear Outline.
y
The outline is cleared from the worksheet.
Remove subtotals
Figure 11-21: Subtotals of sales and commissions calculated at each change in position. In other words, the
subtotal of each position appears in the list, with the grand total appearing at the bottom.
n
O
nl
y
107. To make sure you don't lose the original values for the changing cells, you should use the original cell values in the
first scenario you create. (True or False?)
Fo
108. The result cells you specify in the Scenario Summary dialog box are ___________.
A. the total row of your scenarios
B. the data labels used in your scenarios
rE
C. the cells that you change in the scenarios
D. the cells that are affected by the changing cells in the scenarios
109. You can create either a one- or a two-input data table. (True or False?)
va
110. Use Goal Seek when __________.
A. you don't know the result of a formula, but you know the formula input values
B. you know the desired result of a formula, but not the input value the formula needs to arrive at the result
C. you want to quickly create scenarios
lu
D. you know the result of one formula, but not the result of another formula that references that formula
112. Which of the following is NOT a delimiter that Excel can use to split cell data?
A. Space
io
B. Semicolon
C. Comma
D. All of these are common delimiters
n
113. You can group rows and columns manually by selecting them. (True or False?)
O
114. You should sort data before you group and summarize its information using the Subtotals command. (True or False?)
115. You can consolidate by _______ when the data in all the worksheets is arranged in exactly the same order and
nl
location.
A. position
B. category
y
C. absolute reference
D. column
116. The cells you reference don't need to be in the same position on each sheet, or even have the same labels, to be
consolidated using formulas. (True or False?)
108. D. The result cells you specify in the Scenario Summary dialog box are the cells that are affected by the changing cells
in the scenarios.
109. True. You can create either a one- or a two-input data table
Fo
110. B. Use Goal Seek when you know the desired result of a formula, but not the input value the formula needs to arrive at
the result.
113. True. You can group rows and columns manually by selecting them.
114. True. Always sort data before using the Subtotals command.
va
115. A. You can consolidate by position when the data in all the worksheets is arranged in exactly the same order and
location.
lu
116. True. The cells you reference don't need to be in the same position on each sheet, or even have the same labels, to be
consolidated using formulas.
at
io
n
O
nl
y
1. Select the cell you want to use for the hyperlink and
enter the text or image you want to hyperlink.
rE
2. Click the Insert tab on the Ribbon, and click the
Hyperlink button in the Links group.
Other Ways to Insert a Hyperlink:
Select the text and press <Ctrl> + <K>. Or, right-
click the cell and select Hyperlink from the
va
contextual menu.
The Insert Hyperlink dialog box appears. There are Figure 12-1: The Insert Hyperlink dialog box.
four different types of Hyperlink destinations you can
create:
lu
• Existing File or Web Page: Creates a link that
takes you to another Excel workbook or to a file
created in another program, such as a Microsoft
at
Word document, or to a Web page on the Internet.
• Place in This Document: Takes you to a
bookmark in the same document.
io
• Create New Document: Creates a new Excel
workbook and inserts hyperlinked text into your
existing workbook that connects to the new one.
n
• E-mail Address: Creates a clickable e-mail
address.
This hyperlink opens another file when clicked.
O
3. Either browse to or enter the hyperlink’s destination
and click OK.
The hyperlink is created. Now whenever you click
nl
the hyperlink, Excel will take you to the hyperlink’s
destination file or the location that you specified.
y
Tips
9 To edit an existing hyperlink, right-click the
hyperlink and select Edit Hyperlink from the
contextual menu.
9 To remove a hyperlink, right-click the hyperlink and
Figure 12-2: Click hyperlinked text to display the linked
select Remove Hyperlink from the contextual menu. file or Web page.
1. Click the Data tab on the Ribbon and click the From
Text button in the Get External Data group.
The Import Text File dialog box appears.
Trap: If the Get External Data group does not
appear on the Ribbon, click the Get External
Fo
Data button and select an option from the list.
Step 1: Select the file type that describes the data you want to
2. Browse to and select the text file that contains the import from the text file.
data you want to import. Click the Import button.
rE
Step 1 of the Text Import Wizard appears. Here you
need to select whether the file is delimited or fixed
width. You also need to select the row of text from
which you want to start importing data.
3. Select a file type and enter the row at which you want
va
to start importing. Click Next.
Step 2 of the Text Import Wizard appears. Specify the
delimiters used to separate the data in the text file.
lu
4. Select delimiters or specify fixed width column
breaks. Click Next. Step 2: Set the delimiter used to separate data in the text file. A
preview is shown of how the data looks with the selected
Step 3 of the Text Import Wizard appears. Select a
at
delimiter.
column and choose the format you want to use for its
data.
You can also select “Do not import column (skip)”
io
and the column will not be included in the Excel
workbook.
n
5. Specify a format for each column, or skip the
column. Click Finish.
The Wizard closes and the Import Data dialog box
appears, asking you where you want to import the
O
data in the workbook.
1. Click the Data tab on the Ribbon and click the From
Web button in the Get External Data group.
va
The New Web Query window opens, displaying the
Internet Explorer Home page.
Trap: If the Get External Data group does not
appear on the Ribbon, click the Get External
Data button and select an option from the list.
lu
117. A hyperlink is text or an image that points to a file, a specific location in a file, or a Web page on your computer, on a
network, or on the Internet. (True or False?)
rE
118. To import data into Excel, use the buttons in the ___________ group on the Data tab on the Ribbon.
A. Connect to External Data
B. Get External Data
C. Import Data
D. Import Files
va
119. When you click a yellow table selection arrow on a Web page, it turns into a green checkmarked box. (True or False?)
120. Which of the following is NOT a button in the Connections group on the Data tab on the Ribbon.
lu
A. Hyperlink
B. Refresh All
C. Properties
at
D. Connections
io
Quiz Answers
117. True. A hyperlink is text or an image that points to a file, a specific location in a file, or a Web page on your computer,
n
on a network, or on the Internet.
118. B. To import data into Excel, use the buttons in the Get External Data group on the Data tab on the Ribbon.
O
119. True. When you click a yellow table selection arrow on a Web page, it turns into a green checkmarked box.
nl
120. A. Hyperlink is not a button in the Connections group.
y
Macros
task over and over again, you might want
to consider creating a macro to complete
the task for you. A macro helps you
Fo
Recording a Macro .......................................... 240 perform routine tasks by automating
them. Instead of manually performing a
Playing and Deleting a Macro ........................ 242
Play a macro .......................................... 242 series of time-consuming, repetitive
Delete a macro ...................................... 242 actions, you can record a single macro
that does the entire task all at once for
rE
Adding a Macro to the Quick Access Toolbar you.
........................................................................... 243
This entire chapter is devoted to macros.
Editing a Macro’s Visual Basic Code............. 244
We start with the basics: learning how to
Inserting Copied Code in a Macro ................. 245 record and play a macro. Then you’ll
Display the Developer tab and enable move into some more advanced topics
va
macros ................................................... 245 including how to write and edit macros
Enable macros ....................................... 245
using the Visual Basic programming
Insert code in a macro ........................... 245
language.
Declaring Variables and Adding Remarks to
lu
VBA Code ......................................................... 247
Declare a variable (DIM statement) ....... 247
Add a remark to a procedure (REM Using Exercise Files
statement) .............................................. 248
at
This chapter suggests exercises to practice
Prompting for User Input ................................ 249 the topic of each lesson. There are two
ways you may follow along with the
Using the If…Then…Else Statement ............. 250
exercise files:
io
6. Click OK.
Now comes the important part—recording the macro.
The macro is recorded and ready to use. Figure 13-2: The Stop Recording button in the status bar
indicates all your actions are being recorded in the macro.
Other Ways to Stop Recording: Click the Stop Recording button to stop recording the
Click the Stop Recording button on the status macro.
va
bar.
10. Click the Save as type list arrow and select Excel
at
Macro-Enabled Workbook (.xlsm) from the list.
Click Save. Figure 13-3: This dialog box appears to warn you that
macros must be saved in a different file type.
The workbook is saved, and the macros will be
available next time the workbook is opened.
io
n
O
nl
y
2. Select the macro you want to run and click the Run
button.
va
The macro runs, performing the steps you recorded.
Delete a macro
lu
1. Click the View tab on the Ribbon and click the
Macros button list arrow in the Macros group. Select
View Macros. Figure 13-4: Macros are usually disabled when the file is
opened, even if the file is saved to be macro-enabled.
at
The Macro dialog box appears.
3. Click Yes.
n
The macro is deleted.
O
nl
y
Tips Then remove the DateStamp macro from the Quick Access
Toolbar.
9 It may seem obvious, but you must create a macro
before you can add it to the Quick Access Toolbar.
Fo
Macro button
1. Click the Customize Quick Access Toolbar button Customize Quick
next to the Quick Access Toolbar and select More Access Toolbar
button
Commands.
The Quick Access Toolbar tab of the Excel Options
rE
Figure 13-6: The Quick Access Toolbar with a macro
dialog box appears. button added.
2. Select the macro you want to edit and click the Edit
va
button.
The Microsoft Visual Basic Editor program appears.
Those funny-looking words are Visual Basic—the
language that was used by Excel to record the macro
lu
you created.
You don’t have to learn Visual Basic to be proficient
at Excel, but knowing the basics can be helpful if you
at
ever want to modify an existing macro. If you take a
close look at the code for your macro, some of the Edit code by finding the property you want to
procedures should make a little sense to you. For change, and changing its code. For example,
example, if your macro contains a copy or paste this property controls if the text is aligned to
io
command, you may see the text “Selection.Copy” or the Left, Center, or Right side of the cell.
“Selection.Paste”.
Figure 13-9: Editing a macro’s code using the Microsoft
You can delete sections of code to delete certain Visual Basic Editor.
n
actions from the macro, or edit the code to change the
macro’s actions.
O
3. Edit the macro’s code as desired, then click the Save
button on the Standard toolbar.
4. Scroll through the code until you see the code you
va
want to copy, then select the code and click the Copy
button on the Standard toolbar.
The code is copied.
lu
Now open the macro in which you want to paste the
copied code.
121. Which of the following is NOT a place where you can choose to store a macro?
A. This Workbook
Fo
B. New Workbook
C. Universal Macro Workbook
D. Personal Macro Workbook
rE
122. To play a macro in the Macro dialog box, click the _______ button
A. Run
B. Play
C. Macro
D. Go
va
123. You can select a symbol of your choice to represent the macro on the Quick Access Toolbar. (True or False?)
125. You can change your macro security settings in the _________ window.
A. Macro Center
io
B. Code Center
C. Trust Center
D. VBA Control
n
127. Which of the following statements would prompt a user for information?
A. REM DOB as Date
y
B. Sub HireDate(
C. DIM HireDate(
D. InputBox(
122. A. Click the Run button in the Macro dialog box to play a macro.
123. True. You can select a symbol of your choice to represent the macro on the Quick Access Toolbar.
124. B. Excel macros are written in the Visual Basic programming language.
Fo
125. C. You can change your macro security settings in the Trust Center window.
126. B. Dim HireDate as Date would declare the variable 'HireDate' as a date.
rE
127. D. The statement InputBox(
va
lu
at
io
n
O
nl
y
Excel
application. Customization lets you use a
particular mix of commands and shortcuts
that are best for your working style.
Fo
Customizing the Ribbon ................................. 254
The lessons in this chapter focus on how
Create a new group ............................... 254
Rename a tab or group .......................... 254
to customize the Ribbon, the Quick
Add a command to a group ................... 255 Access Toolbar, and AutoCorrect. We’ll
Restore the default Ribbon .................... 255 also discuss how to access and review the
Remove a tab or group .......................... 255 default options for a program.
rE
You can add new groups to tabs, or you can create new Click to reorder the
tabs with new groups. selected tab or group.
Fo
1. Click the File tab on the Ribbon and select Options.
The Options dialog box appears.
4. Click OK.
The tab or group is renamed.
Figure 14-2: Adding commands to groups on the Ribbon.
6. Click Add.
The entry is added to the AutoCorrect list.
128. You can only add custom groups to custom tabs. (True or False?)
Fo
131. AutoCorrect entries created in Excel will not appear in any other programs. (True or False?)
lu
132. Which of the following is NOT a tab in the Excel Options dialog box?
A. Proofing, which changes how Excel corrects your text.
at
B. Display, which changes how content appears on the screen.
C. General, which lists the most commonly modified options in Excel.
D. Trust Center, which changes your privacy options.
io
133. Which of the following is NOT an example of information that could be used in an AutoFill list?
A. Since you can create your own AutoFill lists, you could use any of this information in an AutoFill list.
n
B. The names of the seven dwarves.
C. A product list.
D. A list of employees.
O
134. The United States decides to change the format of social security numbers. How can you create a custom number
format for the new social security format?
A. Click the Number tab on the Ribbon and click the Custom List button in the Number group. Select the Custom
nl
category and type the number format in the Type box.
B. Buy and install the Custom Number Wizard Add-On for Microsoft Excel.
C. Enter the number format in the Number Format list on the Formatting tab of the Ribbon.
y
D. Click the Home tab on the Ribbon and click the Dialog Box Launcher in the Number group. Select the Custom
category and type the number format in the Type box.
Quiz Answers
128. False. You can add custom groups to default tabs or to custom tabs.
130. D. AutoCorrect changes spelling errors, grammar errors, and capitalization errors.
131. False. AutoCorrect entries created in Excel will appear in all other Microsoft Office programs.
133. A. Since you can create your own AutoFill lists, you could use any of this information in an AutoFill list.
Fo
134. D. To create a custom number format, click the Home tab on the Ribbon and click the Dialog Box Launcher in the
Number group. Select the Custom category and type the number format in the Type box.
rE
va
lu
at
io
n
O
nl
y