Excel 2010
Excel 2010
Microsoft® Office
Courseware
time by just picking and choosing what I want
from the courseware.”
— 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
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
create their own templates.
“All in all, the friendliest, most open and easy
All this information is quickly accessible. Lessons are to understand tutorial of its type that I’ve ever
broken down into basic step-by-step instructions that seen.”
answer “how-to” questions in minutes. You can print a
— W. Boudville
complete 300-page training manual or a single page of
Amazon.com
instructions.
Here’s how a CustomGuide manual is organized: “…curriculum that is of high quality, student
friendly, and adaptable to the audience.”
Chapters
Each manual is divided into several chapters. Aren't sure — Sherrill Wayland
if you're ready for a chapter? Look at the table of contents St. Charles Community College
that appears at the beginning of each chapter. It will tell
you the name of each lesson and subtopic included in the “…a nice training option for almost any need.
chapter. Their complete Microsoft Office package is
by far the best deal on the market.”
Lessons
Each chapter contains lessons on related topics. Each — Technical Assistance Program
lesson explains a new skill or topic and contains an Purdue University
exercise and exercise file to give you hands-on-
experience. These skills can also be practiced using “Any instructor teaching classes on Windows
CustomGuide Online Learning. or Microsoft Office will definitely want to
give serious consideration to this important
Review
collection of titles that will definitely fit well
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
learned. — Dale Farris
Golden Triangle PC Club
“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.
Streamlined design Featuring a professional-looking, easy-to-read design, 3rd generation courseware appeals to
instructors, students and individual users alike.
Exercise Notes A new Exercise Notes section appears at the top of each lesson. Rather than practicing the
nd
topic step by step through the lesson as in 2 generation courseware, the topic can be
practiced using the exercise file and exercise described here.
rd
Table of Contents In addition to the Table of Contents found at the beginning of each courseware title, 3
generation courseware includes a Table of Contents at the beginning of each chapter, making
it even easier to locate the lessons you need.
Smart Quizzes The Quiz section, located at the back of the book, automatically updates itself when the
manual is customized. For example, if you remove a lesson regarding cutting and pasting text,
there will be no questions in the Quiz section that relate to cutting and pasting text.
Easier customization The design of 3rd generation is simplified, which makes it easier to customize. All you have to
do is click and drag or copy and paste, or press the <Delete> key to remove a lesson, and
voila; you’re done!
rd
Use as a reference tool 3 generation courseware breaks tasks down into basic step-by-step instructions and can be
used as a virtual help desk, answering “how-to” questions in minutes.
1. Double-click the object whose text wrapping you Wraps text around all sides of the square
Square
wish to adjust. bounding box for the selected object.
Lessons are presented on one or two pages, so Each lesson includes a hands-on exercise and
you can follow along without wondering when a practice file so users can practice the topic of the
lesson ends and a new one begins. lesson.
Clear step-by-step instructions answer “how-to” Tips let you know more information about a specific
questions. Anything you need to click appears like step or topic as a whole.
this.
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.
Improved Picture-Editing There are many new ways to edit pictures and images in your documents.
Tools Insert screen shots: You can take a screen shot or screen clipping and add it to your documents.
Improved SmartArt: Now you can add SmartArt that uses photographs.
Other tools: New picture editing tools let you refine the brightness, contrast, or sharpness of a picture;
add artistic effects; and control cropping and compression.
Accessibility Checker The Accessibility Checker lets you find and fix issues that can make it difficult for people with
disabilities to read or interact with your workbook.
Language Tools Improved language tools let multilingual users set preferences for language settings in Office 2010.
Better conditional Conditional formatting allows you to analyze Excel data with just a few clicks. New icon sets and
formatting formatting options for data bars are available to add to conditional formatting in your documents.
Improved charts Sparklines are tiny charts that fit within a cell. They are useful for showing a snapshot of your data in a
small amount of space.
Expanded charting limits: Now the number of data points in a data series is only limited by available
memory.
Double-click to format charts: In Excel 2010, you can instantly access formatting options by double-
clicking a chart element.
Macro recording for chart elements: You can use the macro recorder to record formatting changes to
charts and other objects.
Improved PivotTables PivotTables are easier to use and are more responsive in Excel 2010. Multi-threading to speed up
performance; the ability to fill down labels; and new search features are some of the enhancements in
Excel 2010.
Slicers are a visual way to filter the data in PivotTables. When a slicer is inserted, you use buttons to
filter the data and display what you need. Slicers also make it easy to see which filters are applied.
Improved functions Excel 2010 includes a set of more accurate functions for statistics. Some existing functions have also
been renamed so they better describe what they do.
Improved filtering A new search filter helps you to find what you need in large worksheets quickly. Search filters can be
used in tables, PivotTables, and PivotCharts. AutoFilter buttons also remain visible as you scroll down in
a table.
Equations in text boxes Excel 2010’s built-in Equation Tools make it easier to write and edit equations by keeping them inside
text boxes on a worksheet.
File tab: Contains basic file management commands—such View buttons: Use these buttons to quickly switch between
as New, Open, Save, and Close—and program options. Normal, Page Layout, and Page Break Preview views.
Quick Access Toolbar: Contains common commands such Worksheet tabs: Workbooks have three worksheets by
as Save and Undo. You can add more commands as well. default. You can move from one worksheet to another by
clicking the worksheet tabs.
Title bar: Displays the name of the workbook you are Status bar: Displays messages and feedback on the current
working on and the name of the program you are using. state of Excel. Right-click the status bar to configure it.
Close button: Click the close button in the Title bar to exit Name box: Displays the active cell address or object name.
the Excel program entirely, or click the close button in the Click the list arrow to enter formulas.
Ribbon to close only the current workbook.
Ribbon: The tabs and groups on the Ribbon replace the Row and column headings: Cells are organized and
menus and toolbars found in previous versions of Excel. referenced by row and column headings (for example, cell
A1).
Scroll bars: Use the vertical and horizontal scroll bars to Active cell: You can enter or edit data in the active cell.
view different parts of the worksheet.
Zoom slider: Click and drag the slider to zoom in or out of a Formula Bar: Allows you to view, enter, and edit data in the
window. You can also use the + and – buttons. active cell. Displays values or formulas in the cell.
Ribbon
The Ribbon is made up of three basic components: tabs,
groups, and buttons. It is the primary way to give
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
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
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
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
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.
Trap: Based on the size of the program window,
Excel changes the appearance and layout of the
commands within the groups.
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.
Tips
You can hide the Ribbon so that only tab names
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
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.
Tips
The File tab replaces the File menu and Office Button
found in previous versions of Excel.
Customize
Quick Access
Save Redo Toolbar
Undo
Keystroke shortcuts
Without a doubt, keystroke shortcuts are the fastest way to
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.
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.
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.
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.
Mini Toolbar
The Mini Toolbar appears when you select text or data
within a cell or the formula bar, and contains common
text formatting commands.
Tips
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.
A larger version of the Mini Toolbar and a contextual
menu appear when you right-click an object or area
of the worksheet window.
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.
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.
badge. Repeat this step as necessary until the desired
command has been issued.
Open a workbook
You can locate workbook on your computer and simply
double-click it to open it, but you can also open a
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.
4. Click Save.
3. Click Save.
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
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
When you are working in a dialog box, click the Stop
from the online Help database.
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.
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
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.
3. The Ribbon can be hidden so that only tab names appear. (True or False?)
7. You can only create a new workbook by launching the Excel program. (True or False?)
9. Print settings and print preview appear side by side in Backstage view. (True or False?)
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.)
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.
Quiz Answers
1. False. You must start Excel to begin using it.
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.
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.
5. C. The Quick Access Toolbar is a customizable toolbar of common commands that appears above or below the
Ribbon.
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
create a new workbook.
8. A. Select Open and then navigate to the saved file you want to open.
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.
11. C. Click the Close button or press <Ctrl> + <W> to close a workbook.
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.
2. Press <Tab>.
Table 2-1: Navigation Shortcuts
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 or One cell to the left.
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.
the worksheet, use the scroll bars. <Shift> + <Enter>
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
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
worksheet.
<Page Up> Up one screen.
<Page Down> Down one screen.
<F5> or Opens the Go To dialog box where
<Ctrl> + <G> you can go to a specific cell address.
If the contents do not fit in the cell, the text spills into
the empty cell to the right. If that cell is not empty,
Excel truncates the data so only part of it is visible.
Tips
If you want to start a label with a number, type an Table 2-2: Examples of Valid Date and Time Entries
apostrophe at the beginning of the label. This tells October 17, 2010 5:45 PM
Excel that the cell contents are a label, not a value.
10/17/10 5:45 AM
AutoComplete can help you enter labels. Enter the
first few characters of a label; Excel displays the 10-17-10 5:45
(Excel assumes 5:45 AM)
label if it appeared previously in the column. Press
<Enter> to accept the entry or resume typing to 17-Oct-10 17:45
ignore the suggestion. (5:45 PM on a 24-hour clock)
You can reformat dates after entering them. For Oct-17 17:45:20
example, if you enter 4/4/12, you can easily reformat (Excel assumes the current (5:45 PM and 20 seconds)
year.)
to April 4, 2012. This is covered in another lesson.
1. Select the range of cells in which you want to enter Figure 2-3: Entering text in a selected cell range.
data.
By selecting a range, you restrict where the cell
pointer can move and can concentrate on data entry
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
used in formulas.
Formulas
Formulas are values, but unlike regular values, formulas
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
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), *
(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
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
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 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
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.
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
their location relative to the formula. Relative cell references are not
references are the default type of references in Excel. updated.
3. Press <Enter>.
The formula calculates the result and displays it in
the cell where you entered it.
Total values automatically with AutoSum Figure 2-5: A formula with a relative (F4) and an absolute
($G$2) cell reference.
Adding up the values in a range of cells is the most
popular formula in Excel, so they’ve made this easy to do
with the AutoSum feature. AutoSum inserts the SUM
function (which adds all the values in a range of cells) and
selects the range of cells Excel thinks you want totaled.
3. Press the <Enter> key to confirm the action. Figure 2-6: AutoSum automatically enters a SUM formula
and selects the cells it thinks you want to total.
The cell range is totaled in the cell. If you change a
value in the summed range, the formula will
automatically update to show the new sum.
Use Fill
Fill is a great way to enter sequential numbers, months or
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.
3. Click and drag the fill handle to the cells that you
want to fill with the information.
As you click and drag, a screen tip appears
previewing the value that will be entered in the cell
once you release the mouse button.
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
2. Press <Enter>.
Excel accepts the entry.
If a suggestion appears and you don’t want to use it,
resume typing to ignore the suggestion.
14. Press ______ to move the cell pointer one cell to the left.
A. <Enter>
B. <Shift> + <Tab>
C. The up arrow key
D. <Tab>
16. You can select all the cells in a worksheet at once. (True or False?)
19. Relative cell references always refer to the same cell. (True or False?)
21. You can use the Fill command to copy a formula to adjacent cells. (True or False?)
Wor ksheet
your Excel worksheets. You’ll learn how
to edit cell contents; cut, copy and paste
information; insert and delete columns
Editing Cell Contents ........................................ 44 and rows; undo any mistakes you might
Edit cell contents...................................... 44 make; and even correct your spelling
Replace cell contents .............................. 44 errors.
Clear cell contents ................................... 44
Cutting, Copying, and Pasting Cells ............... 45
Moving and Copying Cells Using the Mouse
................................................................. 46 Using Exercise Files
This chapter suggests exercises to practice
Cutting, Copying, and Pasting Cells ............... 47 the topic of each lesson. There are two
Using the Office Clipboard ............................... 49 ways you may follow along with the
Checking Your Spelling .................................... 50
exercise files:
Inserting Cells, Rows, and Columns ............... 52 Open the exercise file for a lesson,
perform the lesson exercise, and close
Deleting Cells, Rows, and Columns ................ 53 the exercise file.
Using Undo, Redo and Repeat ......................... 54
Undo a single action ................................ 54
Open the exercise file for a lesson,
Redo an action......................................... 54 perform the lesson exercise, and keep
Undo multiple actions .............................. 54 the file open to perform the remaining
lesson exercises for the chapter.
Using Find and Replace .................................... 55
Search options ......................................... 56 The exercises are written so that you may
Adding Comments to Cells............................... 57
“build upon them”, meaning the exercises
Insert a comment ..................................... 57 in a chapter can be performed in
View a comment ...................................... 57 succession from the first lesson to the last.
Edit a comment ........................................ 57
Delete a comment.................................... 58
3. Press <Enter>.
The newly typed information replaces the previous
cell contents.
2. Press <Delete>.
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.
When you copy a cell, the selected cell data remains in its
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.
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:
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
cells, you only have to designate the first cell where
you want to paste the cell range.
Paste Paste using default settings. Values Paste only values from cells.
Formulas Paste only formulas from cells. Values & Number Paste the values and number
Formatting formatting from cells.
Formulas & Number Paste formulas and number Values & Source Paste the values and all formatting
Formatting formatting. Formatting from source cells.
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.
Now open the Paste Special dialog box.
6. Press <Enter>.
The pasted content is deselected.
3. Click OK.
The dialog box closes.
3. Click OK.
Tips
The AutoCorrect feature automatically corrects
commonly misspelled words for you as you type.
Insert cells
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
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
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
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:
Right-click the selected cell(s) and select Insert
from the contextual menu. Select an option and
click OK.
Delete cells
Find
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
from the list.
The Find tab of the Find and Replace dialog box
appears.
Other Ways to Find Text:
Press <Ctrl> + <F>.
Replace
Replace finds specific words and values, and then
replaces them with something else.
Figure 3-17: The Find tab of the Find and Replace dialog
1. Click the Home tab on the Ribbon and click the Find box.
& Select button in the Editing group. Select Replace
from the list.
The Replace tab of the Find and Replace dialog box
appears.
Other Ways to Replace Text:
Press <Ctrl> + <H>.
6. Click Close.
Search options
Use Excel’s search options to change how Excel searches
in the document.
Insert a comment
3. Type a comment.
View a comment
Delete a comment
Track changes
Accept/reject changes
Once changes have been made and tracked in a
workbook, decide whether to accept or reject those
changes.
2. Click OK.
The Select Changes to Accept or Reject dialog box
appears. Use the commands to tell Excel which
changes you want to accept or reject.
3. Click OK.
The Accept or Reject Changes dialog box appears,
displaying the changes that have been made to the
Figure 3-22: The Accept or Reject Changes dialog box.
document.
22. You can replace cell contents by typing over the current contents. (True or False?)
23. To copy cells using the mouse, press and hold the _____ key while clicking and dragging the selection.
A. <Alt>
B. <Ctrl>
C. <Shift>
D. <F4>
24. The Paste Options button appears after pasting cells in Excel. (True or False?)
25. With the Paste Special command, you can choose to paste only ________.
A. values
B. formulas
C. cell comments
D. All of these are correct.
26. The Office Clipboard is available in other Office programs besides Excel. (True or False?)
27. Which button should you click to leave misspelled text alone and move to the next questionable word?
A. Ignore Once
B. Ignore All
C. Add to Dictionary
D. Change
28. When you insert a row, the existing rows are shifted in which direction?
A. Left
B. Upward
C. Downward
D. Right
29. Pressing the <Delete> key deletes the selected cell and its contents. (True or False?)
31. 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
22. True. Simply click a cell and type to replace its contents.
23. B. Press and hold the <Ctrl> key to copy cells using the mouse.
24. True. The Paste Options button appears after pasting cells in Excel.
25. D. You can use the Paste Special command to paste any of these elements.
26. True. The Office Clipboard can be used in all Office programs.
27. A. Click the Ignore Once button to leave text alone and move to the next questionable word.
28. C. The existing rows are shifted downward when you insert a row.
29. False. Pressing the <Delete> key only deletes the cell’s contents.
30. True. You can undo multiple actions in Excel.
31. A. Editing
32. False. You can edit or delete a cell comment.
Wor ksheet
dazzle everyone at meetings with their
sharp-looking worksheets that use
colorful fonts and borders.
Formatting Text .................................................. 63 This chapter explains how to format a
Formatting Values ............................................. 64 worksheet to make it more visually
attractive and easier to read.
Adjusting Row Height and Column Width ...... 65
Adjust column width ................................. 65 You will learn how to change the
Adjust row height ..................................... 65 appearance, size, and color of text and
AutoFit columns or rows .......................... 65 how to align text inside a cell. You will
Working with Cell Alignment ............................ 66 learn how to add borders and shading and
how to use cell styles, as well as many
Adding Cell Borders and Background Colors 67
other tools that will help your worksheets
Copying Formatting .......................................... 69 look more organized and professional.
Applying and Removing Cell Styles ................ 70
Apply a cell style ...................................... 70
Remove a cell style.................................. 70
Using Exercise Files
Creating and Modifying Cell Styles ................. 71 This chapter suggests exercises to practice
Modify or duplicate a cell style ................. 72
the topic of each lesson. There are two
Using Document Themes ................................. 73 ways you may follow along with the
Apply a document theme ......................... 73 exercise files:
Mix and match document themes............ 73
Create new theme colors and fonts ......... 74 Open the exercise file for a lesson,
Save a new document theme .................. 74 perform the lesson exercise, and close
Applying Conditional Formatting..................... 75 the exercise file.
Apply Highlight Cell Rules and Top/Bottom Open the exercise file for a lesson,
Rules ........................................................ 75 perform the lesson exercise, and keep
Apply Data Bars, Color Scales and Icon
the file open to perform the remaining
Sets .......................................................... 76
lesson exercises for the chapter.
Creating and Managing Conditional Formatting
Rules ................................................................... 77 The exercises are written so that you may
Create a new rule .................................... 77 “build upon them”, meaning the exercises
Manage rules ........................................... 77 in a chapter can be performed in
Remove conditional formatting ................ 78 succession from the first lesson to the last.
Finding and Replacing Formatting .................. 79
Italic
Underline
Font
Font Color
Adjust column width The screen tip displays the width of the
column as the size changes.
1. Point to the column header’s right border until the
pointer changes to a .
1. Point to the row header’s bottom border until the Figure 4-3: Increasing the width of column A.
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
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.
3. Click the cell to which you want to apply the copied Figure 4-10: Using the Format Painter tool to copy
formatting. formatting from cells in row 4 to cells in row 10.
2. Click the Home tab and click the Cell Styles button
in the Styles group.
A gallery of styles appears.
2. Click the Home tab and click the Cell Styles button
in the Styles group.
3. Click Normal.
Tips Figure 4-11: A preview of how the cell style will look
appears as you hover over styles in the Cell Styles gallery.
Cell styles are associated with the theme that is being
used for the workbook. If you switch to a new theme,
the cell styles will update to match it.
If you have another workbook that contains styles
that you want to copy into the current workbook,
click the Cell Styles button in the Styles group and
select Merge Styles.
1. Select the cell that has the formatting you want to use
for the style.
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
Cell Styles gallery of the Styles group.
A list of all the available cell styles appears.
7. Click OK.
The Format dialog box closes.
8. Click OK.
The Style dialog box closes and the new style is
available in the Cell Styles gallery.
Figure 4-13: The new style appears under the Custom
9. Reapply the new style to the cell.
section of the Cell Styles gallery.
Tips
New styles are added to the theme that is currently
applied to the workbook.
1. Click the Home tab and click the Cell Styles button
in the Styles group.
6. Click Save.
5. Click Save.
Tips
When you save a new theme color or font, or save a
new document theme, it becomes available in all
Office programs.
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.
Manage rules
You can manage all aspects of conditional formatting—
creating, editing, and deleting rules—in one place using
the Rules Manager.
2. Select Replace.
The Find and Replace dialog box appears, displaying
the Replace tab.
Other Ways to Open Find and Replace:
Press <Ctrl> + <H>.
35. The _______ feature automatically resizes columns or rows to best fit cell contents.
A. AutoFit
B. AutoSize
C. AutoAdjust
D. FitRight
36. You can align cell contents horizontally but not vertically within a cell. (True or False?)
37. The Border list arrow is located in the ________ group on the Home tab.
A. Alignment
B. Clipboard
C. Font
D. Number
38. Click the Format Painter button once to apply it once or twice to apply it multiple times. (True or False?)
39. Excel contains preset formatting styles that you can quickly apply to cells. (True or False?)
43. Which of the following is not a conditional format that can be applied to cells?
A. Data Bars
B. Characters
C. Color Scales
D. Icon Sets
44. You can preview how a new conditional formatting rule looks before you apply it. (True or False?)
45. You cannot edit a conditional formatting rule after you’ve created it. (True or False?)
46. Which of the following types of items can NOT be found using Excel’s Find feature?
A. Formulas
B. Comments
C. Conditional Formatting
D. Styles
Quiz Answers
33. D. Comma Style is not a type of font formatting.
34. C. Dollar is not a type of number formatting.
35. A. AutoFit resizes columns or rows to best fit cell contents.
36. False. You can align cell contents vertically and horizontally within a cell.
37. C. The Border list arrow is located in the Font group.
38. True. Click the Format Painter button once to apply it once or twice to apply it multiple times.
39. True. Excel contains preset formatting styles that are all ready for you to apply to cells.
40. D. Number, Font, Fill and Border, are all available in cell styles. You can also include Alignment and Protection
formatting in the style.
41. D. Document themes consist of theme colors, fonts, and effects.
42. A. Conditional formatting allows you to highlight cells that meet specific criteria.
43. B. Characters is not a conditional formatting option in Excel.
44. True. Click Preview in the New Formatting Rule dialog box to see how new conditional formatting will look before
you apply it.
45. False. You can edit a conditional formatting rule.
46. D. Styles cannot be found using the Find feature.
Ch a r t s
spreadsheet.
In this chapter, you will learn how to
create, edit and format dynamic looking
Choosing and Selecting the Source Data ....... 84 charts.
Choosing the Right Chart ................................. 85
Inserting a Chart ................................................ 86
Move a chart within a worksheet ............. 86
Move a chart to another worksheet ......... 86 Using Exercise Files
Resize the chart ....................................... 87 This chapter suggests exercises to practice
the topic of each lesson. There are two
Editing, Adding, and Removing Chart Data .... 88 ways you may follow along with the
Edit chart source data .............................. 88
exercise files:
Add a data series ..................................... 88
Copy data into a chart.............................. 89 Open the exercise file for a lesson,
Remove a data series .............................. 89 perform the lesson exercise, and close
Changing Chart Data ......................................... 90 the exercise file.
Change the source cell range .................. 90
Rename or edit a data series .................. 90
Open the exercise file for a lesson,
Reorder the data series ........................... 91 perform the lesson exercise, and keep
Update horizontal axis labels ................... 91 the file open to perform the remaining
lesson exercises for the chapter.
Changing Chart Layout and Style .................... 92
The exercises are written so that you may
Working with Chart Labels ............................... 93
Edit chart label text .................................. 93
“build upon them”, meaning the exercises
Add or move a chart label ........................ 93 in a chapter can be performed in
Format a chart label ................................. 94 succession from the first lesson to the last.
Remove a chart label ............................... 94
Changing the Chart Gridlines........................... 95
Choose major and minor gridlines ........... 95
Format gridlines ....................................... 95
Changing the Scale ........................................... 96
Change display units ............................... 96
Change the scale of the axis ................... 96
Change formatting for axis values ........... 97
Emphasizing Data .............................................. 98
Change the color of data series............... 98
Change the color of a single data point ... 98
Annotate the chart ................................... 99
Use a different chart type for data ........... 99
Using Chart Templates .................................... 100
Save a chart as a template .................... 100
Create a new chart using a template ..... 100
Column charts are used when you want to compare different values vertically side-
Column by-side. Each value is represented in the chart by a vertical bar. If there are several
series, each series is represented by a different color.
Line charts are used to illustrate trends over time. Each value is plotted as a point on
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
Pie each item are represented by different colors.
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.
Area charts are the same as line charts, except the area beneath the lines is filled
Area with color.
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.
Stock charts are effective for reporting the fluctuation of stock prices, such as the
Stock high, low, and closing points for a certain day.
A surface chart is useful for finding optimum combinations between two sets of
Surface data. Colors and patterns indicate values that are in the same range.
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.)
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.
1. Select the chart; then click the Design tab and click
the Select Data button in the Data group.
The Select Data Source dialog box appears.
Figure 5-6: The Select Data Source dialog box.
2. Click the Add button under Legend Entries (Series).
The Edit Series dialog box appears.
5. Click OK.
The Edit Series dialog box closes.
6. Click OK.
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.
The Select Data Source dialog box closes and the
chart is updated.
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.
4. Click OK.
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.
The Select Data Source dialog box appears.
6. Click OK.
The Edit Series dialog box closes and the updated
series label appears in the Select Data Source dialog
box.
7. Click OK.
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.
3. Click the button for the label you want to use in the
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,
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
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.
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
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.
3. Select a gridline.
None Minor Gridlines
A list appears with different display options for the
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.
4. Select the gridline option you want to use. Major Gridlines Major & Minor
Gridlines
The chart is updated to show the gridlines as selected.
Tip: To hide gridlines, select the None option.
Format gridlines
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
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
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
click Close. axis values—for example, in thousands or
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.
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.
Tips
If the source data already has specific number
formatting, it will be reflected in the chart axes.
5. Click the Fill tab and apply the fill properties you
want to use for the data series.
6. Click Close.
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.
Delete a template
If you decide you no longer need a certain chart template,
you can delete it.
2. Click sparkline you want to insert in the Sparklines Table 5-4: Available Sparklines
group. Line: Shows trends in the data over time.
A dialog box appears, asking you to define the range
of cells that contain the data on which you want to Column: Shows differences in quantity.
base the sparklines.
Win/Loss: Shows gains or losses (i.e.
positive and negative values).
3. Select the data you wish to use in the sparkline.
4. Click OK.
The sparkline is inserted in the cell(s).
47. 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?
D. All of these.
48. Which of these chart types would be best for illustrating values as a percentage of a whole?
A. Area
B. Pie
C. Scatter
D. Column
52. To remove a chart label, select the label and press <Delete>. (True or False?)
55. You can double-click a chart element to change its formatting. (True or False?)
56. If you decide you no longer need a chart template that you’ve saved, you can delete it. (True or False?)
57. Chart type cannot be changed after a chart is created. (True or False?)
Quiz Answers
47. D. Consider all of these when selecting data: the main point, the truth, and simplicity.
48. B. Pie charts are best for showing values as a percentage of a whole.
49. A. A line chart displays trends over time.
50. B. To create a chart, click the Insert tab, then select a chart type and chart in the Charts group.
51. A. Horizontal axis labels are tied to the source data; they only change if the source data is changed.
52. False. To remove a chart label, click the label button in the Labels group and select None from the list.
53. C. Gridlines can be formatted to use whatever color, style, and width you prefer.
54. D. All of these are ways to change the scale of a chart.
55. True. You can double-click a chart element to change its formatting.
56. True. If you decide you no longer need a chart template that you’ve saved, you can delete it.
57. False. The chart type can be changed after it is created.
58. D. A sparkline is a snapshot of data on a worksheet.
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
Using Workbook Views ................................... 106 for viewing and working with data and
Change workbook views ........................ 106 windows. You can split windows, insert
Zoom in or out of a worksheet ............... 107
new worksheets, copy worksheets, work
Selecting Worksheets in a Workbook ........... 108 with multiple workbooks at once, hide
Select a worksheet ................................ 108 data, protect and share workbooks.
Select multiple worksheets .................... 108
In this chapter, we’ll look at ways to make
Inserting and Deleting Worksheets ............... 109 viewing and working with data easier.
Renaming, Moving and Copying Worksheets
........................................................................... 110
Move or copy a worksheet using click and
drag ......................................................... 111 Using Exercise Files
Splitting and Freezing a Workbook Window 112 This chapter suggests exercises to practice
the topic of each lesson. There are two
Creating Headers and Footers ....................... 114 ways you may follow along with the
Create a basic header or footer ............. 114
exercise files:
Use Auto Headers & Footers ................. 114
Insert Header & Footer Elements .......... 115 Open the exercise file for a lesson,
Hiding Rows, Columns, Worksheets and perform the lesson exercise, and close
Windows ........................................................... 116 the exercise file.
Setting the Print Area ...................................... 118 Open the exercise file for a lesson,
Set print area ......................................... 118 perform the lesson exercise, and keep
Move a page break ................................ 119 the file open to perform the remaining
Insert a manual page break ................... 119 lesson exercises for the chapter.
Remove a page break ........................... 119
The exercises are written so that you may
Adjusting Margins and Orientation ............... 120
“build upon them”, meaning the exercises
Adding Print Titles, Gridlines and Headings 121 in a chapter can be performed in
Adjusting Size and Scale ................................ 123 succession from the first lesson to the last.
Adjust paper size ................................... 123
Scale to fit .............................................. 123
Advanced Printing Options ............................ 124
Print multiple worksheets ....................... 124
Print multiple worksheets ....................... 124
Working with Multiple Workbooks ................. 125
Switch between workbook windows ...... 125
View multiple workbooks at once .......... 125
Create another workbook window ......... 125
Creating a Template ........................................ 127
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.
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).
2. Click the Add button and type a name for the view in
the Name text box.
There are two additional settings here:
Print settings: Saves print settings such as page
breaks.
Hidden rows, columns and filter settings:
Keeps columns and rows hidden and any applied
filters filtered.
Insert a worksheet
Delete a worksheet
Rename a worksheet
By default, Excel worksheets are given the rather boring 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>.
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
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.
5. Click OK.
The worksheet(s) are moved or copied to the new
location.
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.
<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
To change the color of a sheet tab, right-click the tab,
point to Tab Color and select a color from the
palette.
1. Select the cell where you want to split the window. Click and drag
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
column.
2. Click the View tab on the Ribbon and click the Split
button in the Window group.
The worksheet is split into sections that can be
navigated individually without moving other
sections.
Other Ways to Split the Window:
Click and drag the vertical split box or the
horizontal split box to where you want the
window to split.
1. Click the Freeze Panes button in the Window group The window is
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,
and rows 1-4. Information in the frozen panes remains on
the screen as you scroll and move through a worksheet.
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 margins
By default, the margins in Excel worksheets are 0.75
inches at the top and bottom, and 0.70 inches to the left
and right.
2. Select the margin size you want to use from the list.
The margins adjust to the new setting. Figure 6-18: Adjusting margins.
Adjust orientation
Portrait orientation is the default setting for printing
worksheets, but you may often want to use landscape
orientation instead.
4. Click OK.
Now when you print, the rows and/or columns you
selected will appear on every page.
A print preview of a worksheet without gridlines or headings A print preview of a worksheet with gridlines and headings
displayed. displayed.
2. Select the paper size you want to use from the list.
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
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.
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
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.
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.
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
create:
Excel Template: This is the standard Excel 2007
template that works with XML.
Excel Macro-Enabled Template: This type of
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
compatible.
3. Click the Save as type list arrow and select the type
of template you want to create. Figure 6-27: Saving a workbook as an Excel Template.
1. Click the Review tab on the Ribbon and click the Figure 6-29: Setting passwords to protect workbook
Protect Workbook button in the Changes group. structure and windows in the Protect Structure and
Windows dialog box.
The Protect Structure and Windows dialog box
appears. Here you can select to protect workbook
structure, windows, or both.
Other Ways to Protect a Workbook:
Click the File tab on the Ribbon and select the
Info tab. Click the Project Workbook button and
select Protect Workbook Structure from the list.
3. Click OK.
The Confirm Password dialog box appears.
Protect a worksheet
Once you’ve finished preparing the worksheet, you’re
ready to protect the worksheet.
Tips
Every time you save a shared workbook, you will be
prompted with changes made by other users since the
last time you saved it.
Uncheck the Allow changes by more than one user
at the same time check box to stop sharing the file.
1. Click the File tab on the Ribbon and select Save &
Send.
Three options appear:
Send Using E-mail: Select how you wish to send
the document via e-mail: as an attachment, as
PDF or XPS, as an internet fax, or as a link (if the
workbook is saved in a shared location).
Save to Web: Save to a Windows Live location (a
Windows Live account is required).
Save to SharePoint: Publish the workbook to a
SharePoint location.
60. You can use the Zoom slider to change the magnification level of a worksheet. (True or False?)
61. 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?)
63. You can move a worksheet within a workbook simply by dragging the sheet's tab to a new location. (True or False?)
64. Splitting and freezing a workbook window are exactly the same thing. (True or False?)
65. You can work with headers and footers easiest in Page Layout View. (True or False?)
66. When you hide a row, column, or worksheet, the hidden data is deleted. (True or False?)
67. In Page Break Preview view, you can move a page break by clicking and dragging it to a new location. (True or
False?)
68. In Page Break Preview view, you can move a page break by clicking and dragging it to a new location. (True or
False?)
69. Which of the following is NOT a preset margin size setting available in Excel?
A. Large
B. Normal
C. Wide
D. Narrow
70. 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
73. One way to switch between open workbooks is to click the ___________ button in the Window group.
A. Change Windows
B. Choose Workbook
C. Switch Windows
D. View Workbook
74. Once you have created a template you can use it to create new workbooks. (True or False?)
76. You can unlock cell ranges so that they can still be edited once the worksheet is protected. (True or False?)
77. Which of the following is NOT an option in Excel for publishing a workbook to a server?
A. Internet Fax
B. Excel Services
C. Document Management Server
D. Create Document Workspace
Quiz Answers
() =(20+5)/(10-5) would add 20 and 5 (25), subtract 10 by 5 (5) and then divide the results to equal 5.
But…
=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
% Percent
^ Exponentiation
Edit a function
Three options appear in the list: Maximum Largest value in the selection.
3. Click the Scope list arrow and select the scope you
want to use.
The scope determines whether the name is
recognized by the whole workbook or just individual
worksheets within the workbook.
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
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.
The name is defined and the dialog box closes.
Tips
You can use upper- and lowercase letters in defined
names, but Excel doesn’t distinguish between them.
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.
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 Close.
Other Ways to Edit Defined Names:
Select the defined name you want to edit in the
Name Manager dialog box, then change the Figure 7-10: The Edit Name dialog box.
information in the “Refers to” box.
4. Click OK.
The defined name or names are deleted.
Tips
In the Name Manager dialog box, you can filter the
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
to use.
You can also click the New button in the Name
Manager dialog box to define a new name.
Display formulas
1. Click the Formulas tab on the Ribbon and click the Evaluate
Show Formulas button in the Formula Auditing Formula
group.
Formulas are displayed in the worksheet and the Figure 7-11: The Formula Auditing group on the Formulas
columns widen to accommodate the formulas, if tab.
necessary.
Tip: If you display formulas and then select a cell
that contains a formula, colored lines appear
around cells that are referenced by the formula.
Now let’s hide the formulas again.
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
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.
the Select a function box.
Compatibility functions
All the functions in this category have been replaced or
renamed, but they are still available for backward
compatibility. Consider using the new functions instead of
these, because they may not be available in future
versions of Excel.
Tables describing the rest of the function categories, along
with more detailed examples of the functions in each
category, appear in the following pages.
FLOOR =FLOOR(number, significance) Rounds a number down to the nearest multiple of significance.
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.
78. To change the order of evaluation, enclose the part of the formula to be calculated first in parentheses. (True or False?)
80. By default, Excel recalculates the formulas in a workbook whenever you change a value that affects another value.
(True or False?)
81. You can define a name for multiple non-adjacent cells. (True or False?)
82. Which of the following is NOT a button found in the Defined Names group?
A. Name Manager
B. Evaluate Formula
C. Define Name
D. Use in Formula
83. Click the __________ button to display arrows that show what cells affect the currently selected cell.
A. Show Formulas
B. Watch Window
C. Define Name
D. Trace Precedents
84. The Error Checking dialog box does not include which one of the following buttons?
A. Help on this error
B. Show Calculation Steps
C. Edit in Formula Bar
D. Show Formulas
87. The DSUM function calculates the totals of specific records based on your criteria. (True or False?)
88. Which of the following functions looks up values vertically down a column and then horizontally across a row?
A. HLOOKUP
B. DSUM
C. DLOOKUP
D. VLOOKUP
Quiz Answers
78. True. To change the order of evaluation, enclose the part of the formula to be calculated first in parentheses.
79. A. Scientific is not a category of functions in Excel.
80. True. By default, Excel recalculates the formulas in a workbook whenever you change a value that affects another
value.
81. True. You can define a name for multiple non-adjacent cells.
82. B. The Evaluate Formula button is not found in the Defined Names group.
83. D. Click the Trace Precedents button to display arrows that show what cells affect the currently selected cell.
84. D. The Error Checking dialog box does not have a Show Formulas button.
85. 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.
86. D. A fixed or variable interest rate option is not part of the PMT function.
87. True. The DSUM calculates the totals of specific records based on your criteria.
88. The VLOOKUP functions can look up values vertically down a column and then horizontally across a row.
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
Sorting by One Column .................................. 171 records from a specific zip code.
Sorting by Colors or Icons ............................. 173 In this chapter, you will learn how to sort
and filter data in data ranges in several
Sorting by Multiple Columns .......................... 175
different ways.
Sorting by a Custom List ................................ 176
Create a custom list ............................... 176
Sort by a custom list .............................. 177
Filtering Data .................................................... 178
Filter text, numbers and dates ............... 178 Using Exercise Files
Remove filtering ..................................... 178
This chapter suggests exercises to practice
Creating a Custom AutoFilter ......................... 179 the topic of each lesson. There are two
Using an Advanced Filter................................ 180 ways you may follow along with the
exercise files:
Open the exercise file for a lesson,
perform the lesson exercise, and close
the exercise file.
Open the exercise file for a lesson,
perform the lesson exercise, and keep
the file open to perform the remaining
lesson exercises for the chapter.
The exercises are written so that you may
“build upon them”, meaning the exercises
in a chapter can be performed in
succession from the first lesson to the last.
2. Click the Home tab on the Ribbon and click the Sort
& Filter button in the Editing group.
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.
Number options: Sort Smallest to Largest or Sort
Largest to Smallest.
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.
9. Click OK.
The data range is sorted accordingly.
6. Click OK.
The Custom Lists dialog box closes.
7. Click OK.
The Excel Options dialog box closes and the custom
list is created.
Tips
You can only create a custom list based on a value,
not on cell color, font color, or an icon.
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.
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
custom list).
5. Select the custom list you want to use and click OK.
6. Click OK.
The data is sorted according to the custom list.
Tips
To sort by rows instead of columns, click Options in
the Sort dialog box and select Sort left to right.
2. Click the Home tab on the Ribbon, click the Sort &
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
Filter button in the Sort & Filter group.
6. Click OK.
To make the AutoFilter
The data is further reduced. menu wider or longer, click
and drag the grip handle.
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 &
Filter button in the Editing group, and click Filter.
Filter buttons appear in the first cell of each column
in the range.
7. Click the second list arrow in the first row and select
a value from the list or enter your own value in the
text box.
9. Click OK.
The Custom AutoFilter dialog box closes and the data
is filtered.
7. Click OK.
Extract range Criteria
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.
The table below, Comparison Operators and
Wildcards, provides a description of operators and
wildcards you can use for entering filter criteria.
89. Before you sort data, make sure it's organized into...
A. a chart.
B. alphabetical order.
C. a pivot table.
D. columns and rows.
90. You can sort Excel data by any of the following, except by...
A. font color.
B. cell icon.
C. number formatting.
D. cell color.
92. You can create your own custom list for sorting or use a predefined custom list. (True or False?)
93. 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.
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.
94. You can use wildcards when entering values in the Custom AutoFilter dialog box. (True or False?)
95. 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.
C. Filter using criteria located outside of the data range.
D. You can do all of these things.
Quiz Answers
89. D. Before you sort data, make sure it's organized into columns and rows.
90. C. You can sort data by cell icon, cell or font color, but not by number formatting.
91. A. Use the Sort dialog box to sort data by multiple columns.
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
Creating a Table ............................................... 185 table data independently from the rest of
Create a table from a cell range ............ 185 the worksheet. You can quickly sort and
Create a blank table............................... 186 filter the table columns, add total rows,
Adding and Removing Data............................ 187 and apply table formatting to an Excel
Add table rows and columns ................. 187 table.
Remove table rows and columns .......... 187 Some examples of things you might track
Resize a table ........................................ 188 in a table include telephone numbers,
Resize a table ........................................ 188
clients, and employee rosters. Once you
Working with the Total Row ............................ 189 create a table in Excel, you can easily
Add a Total row ...................................... 189 find, organize, and analyze its information
Calculate Total row values ..................... 189 with Excel’s rich set of table-management
Structured references ............................ 189 features.
Sorting a Table ................................................. 191
Custom Sorting ...................................... 191
Filtering a Table ............................................... 193
Clear a filter ........................................... 193 Using Exercise Files
Custom AutoFilter .................................. 193 This chapter suggests exercises to practice
Removing Duplicate Rows of Data ........ 194 the topic of each lesson. There are two
ways you may follow along with the
Formatting the Table ....................................... 195 exercise files:
Apply a style while creating a table ....... 195
Apply a different style to an existing table Open the exercise file for a lesson,
............................................................... 195 perform the lesson exercise, and close
Remove a table style ............................. 195 the exercise file.
Format the table style ............................ 196
Open the exercise file for a lesson,
Using Data Validation ...................................... 197
Set validation criteria ............................. 197 perform the lesson exercise, and keep
Create an input message ...................... 198 the file open to perform the remaining
lesson exercises for the chapter.
Summarizing a Table with a PivotTable......... 199
The exercises are written so that you may
Converting to a Range .................................... 200
“build upon them,” meaning the exercises
in a chapter can be performed in
succession from the first lesson to the last.
3. Click OK.
The table appears, including placeholder column
headers that you can edit, and a resize handle that
appears in the lower-right corner of the table.
The table below, Tips for Organizing Tables, provides
ideas for setting up your table data.
Add table rows and columns First Last Address City State Zip
Elsa Martinez 413 Oak St Faribault MN 55021
1. Select a cell in the table row or the table column next
Bob Arthur 326 Elm Ave Toma WI 54660
to which you want to add the row or column.
You will be able to add a new table row above the Annual Trips Income
row you selected, or add a new column to the left of
the column you selected (unless you selected the last 4 $40,000
column, in which case you can also add a column to 5 $88,000
the right).
Tip: Select only the columns or rows within the
table for more inserting options. For example,
clicking a column header does not allow you to
choose if you want to insert new columns to the
right or left.
Resize a table
Expand the size of a table to include more data, or reduce
the size to remove data.
5. Click OK.
The table is resized. If cells are added to the table, Figure 9-3: Resizing a table using the sizing handle.
they are empty so you can enter data in the cells.
Other Ways to Resize a Table:
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.
Structured references
Structured references allow you to work easily with cell
references and formulas in a table. For example, instead
of using a cell range reference such as C2:C6 in a
formula, you can refer to the cell range as SaleAmt (the
table column name) instead.
When you create a formula using structured references,
you can use several different elements in place of the
regular arguments. These include the table name, column
header names, or special items that refer to areas of the
table, such as a total row.
3. Click OK.
Tips
If you add or edit data in a table that is filtered or
sorted, you need to click the Reapply button in
the Sort & Filter group on the Data tab to include
the new or edited data.
Custom Sorting
When you need to sort by more than one field, you have
to use a Custom Sort.
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.
5. Click OK.
7. Click OK.
The data in the table is sorted by the sort
specifications.
Figure 9-7: The table sorted by last name, then first name.
3. Click OK.
Figure 9-8: To filter, click a column filter button and click
Clear a filter the check box(es) for the criteria by which you want to
filter the table.
When you’re finished with a filter, you can clear it so all
the table data appears again.
1. Click the filter button for the filter you want to clear. When a filter is applied
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
without the filter.
Custom AutoFilter
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.
4. Click OK.
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
5. Click OK. command.
4. Click OK.
A table is created and formatted with the selected
style. Table Tools appear on the Ribbon, and the
Design contextual tab appears.
2. Click the Data tab on the Ribbon and click the Data
Validation button in the Data Tools group.
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.
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.
the cell being restricted.
Decimal Allows a decimal or a percent entered as a
Tips decimal between limits you set.
By default, when you enter invalid data in a validated 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.
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.
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.
2. Click the Data tab on the Ribbon and click the Data
Validation button in the Data Tools group.
The Data Validation dialog box appears.
4. Click in the Title box and type a title for the message.
The title will be displayed along with the message
when you select the cell(s).
6. Click OK.
Now when you select the cell(s), you will see the title
and message displayed.
3. Click OK.
A new sheet is added to the workbook to
accommodate the PivotTable report. Here you can
create a PivotTable to analyze the data in your table,
according to your specifications.
Tips
Other lessons describe how to work with PivotTables
in more detail. This is the simplest way to view a Figure 9-18: The Create PivotTable dialog box.
summary of the table in a PivotTable.
3. Click Yes.
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
menu.
96. You can create a blank table or a table that uses an existing data range. (True or False?)
98. By default, when you add a total row to a table, the last column is summed. (True or False?)
99. Custom sorting allows you to sort data by multiple columns. (True or False?)
101. Removing duplicates from a table moves the duplicate data to another worksheet. (True or False?)
102. Once you apply a table style to a table, you can't change it to a different one. (True or False?)
103. Which of the following is NOT a formatting option in the Table Style Options group?
A. Header Row
B. Checkered Rows
C. Banded Columns
D. First Column
105. You can summarize and analyze table data using a ________.
A. PivotTable
B. PivotSheet
C. PivotGrid
D. DataSheet
Quiz Answers
96. True. You can create a blank table or a table that uses an existing data range.
97. B. There isn't a Resize Table Wizard in Excel.
98. True. When you add a total row to a table, the last column is summed by default.
99. True. Custom Sorting allows you to sort by multiple levels, so you can sort by multiple columns.
100. D. Color is not a filter option in Excel. It is, however, a way you can sort.
101. False. Removing duplicates from a table deletes the data completely.
102. False. You can always change table styles.
103. B. Checkered Rows is not an option in the Table Style Options group.
104. C. You don't need to protect the worksheet to use the data validation feature.
105. A.You can summarize and analyze table data using a PivotTable.
106. True. When you convert a table to a range, the table formatting remains applied to the cells.
PivotTables
worksheet data, including sorting and
filtering records. This chapter explains
how to use a PivotTable to analyze data
Creating a PivotTable ...................................... 204 ranges.
Specifying PivotTable Data............................. 205 A PivotTable is usually the best way to
Add fields ............................................... 205 summarize and analyze data ranges or
Rearrange fields .................................... 205 tables. PivotTables are good for grouping
Changing a PivotTable’s Calculation............. 206 or expanding levels of data, switching
columns and rows (“pivoting” data), and
Filtering and Sorting a PivotTable ................. 207 filtering and sorting. They lend
Filter a PivotTable .................................. 207
themselves particularly well to
Sort a PivotTable.................................... 207
summarizing long lists of data that need
Working with PivotTable Layout .................... 208 to be summed.
Adjust PivotTable Field List layout ......... 208
Show/Hide PivotTable elements ............ 208 This chapter explains how to create
Layout group on the Design tab ............ 209 PivotTables, modify their structure, and
create PivotCharts that graphically
Grouping PivotTable Items ............................. 210
Group dates or times ............................. 210
illustrate PivotTables.
Group numeric items ............................. 210
Group other selected items ................... 210
Ungroup items ....................................... 211
Using Exercise Files
Updating a PivotTable ..................................... 212 This chapter suggests exercises to practice
Refresh PivotTable data ........................ 212
the topic of each lesson. There are two
Change PivotTable data source............. 212
ways you may follow along with the
Formatting a PivotTable .................................. 213 exercise files:
Apply a built-in style ............................... 213
Work with style options .......................... 213 Open the exercise file for a lesson,
perform the lesson exercise, and close
Creating a PivotChart ...................................... 214
the exercise file.
Using Slicers .................................................... 215
Create a PivotTable Slicer ..................... 215 Open the exercise file for a lesson,
Filter data using a slicer ......................... 216 perform the lesson exercise, and keep
Format a slicer ....................................... 216 the file open to perform the remaining
Delete a slicer ........................................ 216 lesson exercises for the chapter.
Sharing Slicers Between PivotTables ........... 217 The exercises are written so that you may
Apply a slicer to another PivotTable ...... 217 “build upon them”, meaning the exercises
in a chapter can be performed in
succession from the first lesson to the last.
5. Click OK.
The Excel window changes to display the structure
for a new PivotTable, along with the PivotTable Field
List task pane. No data has been pulled into the
PivotTable yet—you’ll need to use the task pane to
Figure 10-2: Creating a new PivotTable.
tell Excel how you want to lay out the PivotTable.
Tips
You can change how the PivotTable Field List task
pane looks. Click the button arrow near the top right
corner of the task pane and select a layout option.
Add fields
Figure 10-4: This diagram illustrates how areas in the PivotTable Field List correspond to areas in the PivotTable report.
3. Specify the starting and ending dates you want to 1. Select the field by which you want to group. This example
group and the interval you want to group by. happens to group by the Date field.
4. Click OK.
The grouping is applied to the PivotTable report.
Tip: To group dates by weeks, select Days in the
By area of the Grouping dialog box and enter 7 in
the Number of days box.
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
4. Click OK.
The PivotTable updates with the data from the new
source range.
Delete a slicer
If you no longer want to filter PivotTable data, you can
remove the slicer completely.
4. Click OK.
The slicer is now applied to the selected
PivotTable(s).
107. You can create a PivotTable in its own new worksheet or in one that already exists in your workbook. (True or False?)
108. Specify the data you want to use in the PivotTable in the ___________ task pane.
A. Select Fields
B. Specify Fields
C. PivotTable Field List
D. PivotTable Layout
109. Which of the following is NOT a calculation available in the Value Field Settings dialog box?
A. Count
B. Average
C. StdDev
D. These are all available
110. You can filter a PivotTable by dragging a field into the _______ box in the PivotTable Field List.
A. AutoFilter
B. Report Filter
C. Pivot Filter
D. Data Filter
111. Which of the following is NOT a button found in the Layout group on the Design tab?
A. Header Row
B. Grand Totals
C. Report Layout
D. Blank Rows
112. You can group any type of PivotTable item except for dates. (True or False?)
113. When you make changes to your PivotTable's source data, the PivotTable refreshes automatically to include the edits.
(True or False?)
114. Which of the following is NOT an option in the PivotTable Style Options group?
A. Banded Columns
B. Banded Rows
C. Bold Headers
D. Row Headers
115. When you modify a PivotTable, the PivotChart is updated along with it. (True or False?)
Quiz Answers
107. True. You can create a PivotTable in either a new or existing worksheet
108. C. Specify the data you want to use in the PivotTable in the PivotTable Field List task pane.
109. D. All are available.
110. B. You can filter a PivotTable by dragging a field into the Report Filter box in the PivotTable Field List.
111. A. Header Row is not a button found in the Layout group on the Design tab.
112. False. Dates are commonly grouped in PivotTables.
113. False. You must manually refresh the PivotTable to include changes made to your source data.
114. C. Bold Headers is not an option in the PivotTable Style Options group.
115. True. When you modify a PivotTable, the PivotChart is updated along with it.
116. True. Slicers provide a visual way to filter PivotTables.
117. False. PivotTables can applied to other PivotTables in a workbook.
Create scenarios
A scenario is a set of input values that you can substitute
in a worksheet to perform what-if analysis. For example,
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 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.
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
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.
3. Select the option that describes where the labels are Figure 11-4: The Create Names from Selection dialog
located in the selected cell range. box.
The labels that are in the selected cell range will be
used as names.
4. Click OK.
The cells are named using the labels.
3. Make sure the Scenario summary option is selected. Figure 11-5: A Scenario Summary report.
Next you need to specify the result cells. These are
the cells that are affected by the changing cells.
Tip: Alternatively, select the “Scenario PivotTable
report” option to create a report that gives you an
instant what-if analysis of your scenarios.
4. Enter the cells you want to use for the Row input cell Data table results
and the Column input cell and click OK. Figure 11-7: The Data Table dialog box and the resulting
Excel displays the results of the formula with all the two-input data table showing different monthly payments
substituted values. at different interest rates and different terms.
3. Click the Set cell box, and click the cell in the
worksheet that contains the formula you want to use.
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.
This cell must be a cell that is referenced by the
formula.
6. Click OK.
Excel calculates and displays the value needed to
achieve the formula result you desire.
5. Click Yes.
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
Ribbon.
Tip: You may need to restart Excel so that Solver
installs properly.
Use Solver
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
appears.
5. Click Next.
Next you can select a format for each column of data.
Figure 11-16: After splitting text.
7. Click Finish.
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.
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
appears.
7. Click Finish.
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.
1. Click the Data tab on the Ribbon and click the Hide
Detail or Show Detail button in the Outline group.
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
Create subtotals
6. In the “Add subtotal to” box, click the check box next
to each column that has values you want to subtotal.
7. Click OK.
The data is organized with subtotals.
Tips
To hide or show subtotals detail, click the Hide
Detail and Show Detail buttons in the Outline group
on the Ribbon or use the outline symbols next to the
worksheet to hide or display individual subtotals.
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.
118. 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?)
119. 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
C. the cells that you change in the scenarios
D. the cells that are affected by the changing cells in the scenarios
120. You can create either a one- or a two-input data table. (True or False?)
123. Which of the following is NOT a delimiter that Excel can use to split cell data?
A. Space
B. Semicolon
C. Comma
D. All of these are common delimiters
124. You can group rows and columns manually by selecting them. (True or False?)
125. You should sort data before you group and summarize its information using the Subtotals command. (True or False?)
126. You can consolidate by _______ when the data in all the worksheets is arranged in exactly the same order and
location.
A. position
B. category
C. absolute reference
D. column
127. 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?)
1. Select the cell you want to use for the hyperlink and
enter the text or image you want to hyperlink.
1. Click the Data tab on the Ribbon and click the From
Access button in the Get External Data group.
The Select Data Source dialog box appears. By
default, it searches for data sources available on your
computer and displays them in the dialog box.
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.
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
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.
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
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.
6. Select where you want to put the imported data. Click Step 3: Select a column and choose the format you want to use
OK. for the data. Or, select the option to skip the column.
The data from the text file appears in the workbook. Figure 12-7: Importing data with the Text Import Wizard.
1. Click the Data tab on the Ribbon and click the From
Web button in the Get External Data group.
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.
128. 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?)
129. 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
130. When you click a yellow table selection arrow on a Web page, it turns into a green checkmarked box. (True or False?)
131. Which of the following is NOT a button in the Connections group on the Data tab on the Ribbon.
A. Hyperlink
B. Refresh All
C. Properties
D. Connections
Quiz Answers
128. 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,
on a network, or on the Internet.
129. B. To import data into Excel, use the buttons in the Get External Data group on the Data tab on the Ribbon.
130. True. When you click a yellow table selection arrow on a Web page, it turns into a green checkmarked box.
131. A. Hyperlink is not a button in the Connections group.
Mac r o s
task over and over again, you might want
to consider creating a macro to complete
the task for you. A macro helps you
Recording a Macro .......................................... 250 perform routine tasks by automating
them. Instead of manually performing a
Playing and Deleting a Macro ........................ 252
series of time-consuming, repetitive
Play a macro .......................................... 252
Delete a macro ...................................... 252 actions, you can record a single macro
that does the entire task all at once for
Adding a Macro to the Quick Access Toolbar you.
........................................................................... 253
This entire chapter is devoted to macros.
Editing a Macro’s Visual Basic Code............. 254
We start with the basics: learning how to
Inserting Copied Code in a Macro ................. 255 record and play a macro. Then you’ll
Display the Developer tab and enable move into some more advanced topics
macros ................................................... 255 including how to write and edit macros
Enable macros ....................................... 255 using the Visual Basic programming
Insert code in a macro ........................... 255 language.
Declaring Variables and Adding Remarks to
VBA Code ......................................................... 257
Declare a variable (DIM statement) ....... 257
Add a remark to a procedure (REM Using Exercise Files
statement) .............................................. 258 This chapter suggests exercises to practice
Prompting for User Input ................................ 259 the topic of each lesson. There are two
ways you may follow along with the
Using the If…Then…Else Statement ............. 260
exercise files:
Open the exercise file for a lesson,
perform the lesson exercise, and close
the exercise file.
Open the exercise file for a lesson,
perform the lesson exercise, and keep
the file open to perform the remaining
lesson exercises for the chapter.
The exercises are written so that you may
“build upon them”, meaning the exercises
in a chapter can be performed in
succession from the first lesson to the last.
6. Click OK.
Now comes the important part—recording the macro.
8. Click the Macros button list arrow in the Macros Stop Recording
group and select Stop Recording. button
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.
bar.
10. Click the Save as type list arrow and select Excel
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.
Play a macro
2. Select the macro you want to run and click the Run
button.
The macro runs, performing the steps you recorded.
Delete a macro
3. Click Yes.
The macro is deleted.
5. Select a symbol.
You can also modify the display name that will Figure 13-7: Adding the DateStamp macro button to the
appear when you hover over the button on the Quick Access Toolbar.
toolbar.
2. Select the macro you want to edit and click the Edit
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
you created.
You don’t have to learn Visual Basic to be proficient
at Excel, but knowing the basics can be helpful if you
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
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.
actions from the macro, or edit the code to change the
macro’s actions.
4. Scroll through the code until you see the code you
want to copy, then select the code and click the Copy
button on the Standard toolbar.
The code is copied.
Now open the macro in which you want to paste the
copied code.
6. Click where you want to paste the code and click the
Paste button on the Standard toolbar.
The copied code is inserted into the macro. Navigate between This code can be copied and pasted into
macros in open the ExpenseFillin macro so that today’s
workbooks in the date is inserted in cell C5.
7. Click the Save button on the Standard toolbar, then Project pane.
click the Visual Basic Editor window’s Close button.
Figure 13-12: An example of copying code from one
The Visual Basic Editor window closes. The macro
macro into another. The macros for the open workbook are
with the newly inserted code is now ready to be run. displayed on the same screen. A line separates the
macros.
132. Which of the following is NOT a place where you can choose to store a macro?
A. This Workbook
B. New Workbook
C. Universal Macro Workbook
D. Personal Macro Workbook
133. To play a macro in the Macro dialog box, click the _______ button
A. Run
B. Play
C. Macro
D. Go
134. You can select a symbol of your choice to represent the macro on the Quick Access Toolbar. (True or False?)
136. You can change your macro security settings in the _________ window.
A. Macro Center
B. Code Center
C. Trust Center
D. VBA Control
138. Which of the following statements would prompt a user for information?
A. REM DOB as Date
B. Sub HireDate(
C. DIM HireDate(
D. InputBox(
Excel
application. Customization lets you use a
particular mix of commands and shortcuts
that are best for your working style.
Customizing the Ribbon ................................. 264 The lessons in this chapter focus on how
Create a new group ............................... 264
to customize the Ribbon, the Quick
Rename a tab or group .......................... 264
Add a command to a group ................... 265
Access Toolbar, and AutoCorrect. We’ll
Restore the default Ribbon .................... 265 also discuss how to access and review the
Remove a tab or group .......................... 265 default options for a program.
Customizing the Quick Access Toolbar ........ 266
Using and Customizing AutoCorrect............. 267
How AutoCorrect works ......................... 267
Create an AutoCorrect entry .................. 267
Changing Excel’s Default Options ................. 269
Creating a Custom AutoFill List ..................... 270
Creating a Custom Number Format............... 271
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.
1. Click the cell where you want to begin the custom fill
series.
139. You can only add custom groups to custom tabs. (True or False?)
142. AutoCorrect entries created in Excel will not appear in any other programs. (True or False?)
143. Which of the following is NOT a tab in the Excel Options dialog box?
A. Proofing, which changes how Excel corrects your text.
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.
144. 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.
B. The names of the seven dwarves.
C. A product list.
D. A list of employees.
145. 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
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.
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.