Advance Spreadsheet Tools Book
Advance Spreadsheet Tools Book
ADVANCE
SPREADSHEET
TOOLS
UNIQUE PUBLICATIONS
Panipat Office : 137/7, New Bhagat Nagar, Tehsil Town, PANIPAT, 25. B-Block,
TDI City, Sector 38/39, TDI, PANIPAT
Delhi Office : Plot No. 795, Paper Market, Ghazipur, Near Fruit and Vegetable Market, Delhi-91
Ph. : (M) 90342-62133, 97290-83112, 98968-65777, E-Mail : [email protected],
Website : http://unique publication.com
Published by:
Unique Publications
Panipat Office : 1. 137/7, New Bhagat Nagar, Tehsil Town, PANIPAT
2. 25. B-Block, TDI City, Sector 38/39, TDI, PANIPAT
Delhi Office: Plot No. 795, Paper Market, Ghazipur,
Near Fruit and Vegetable Market, Delhi-91
Ph. : (M) 90342-62133, 97290-83112, 98968-65777
All rights Reserved. No part of this publication may be reproduced, stored in a retrieval system
or transmitted in any form or by an means (Electronic Mechanical, Photocopying, recording or
otherwise) without the prior permission of the publisher.
We are committed to serve students with best of our knowledge and resources. We have taken
utmost care and attention while editing and printing this practical book but we would beg to
state that Authors and Publishers should not be held responsible for unintentional mistake that
might have crept in. However, errors brought to our notice, shall be gratefully acknowledged
and attended too.
Registration
FORM F: [Under Rule 13 of the Punjab Shops and Commercial Establishments Act, 1958]
Reg. No.: PSA/REG/PPT/LI-Ppt-VI/0265062
Gateway Assignment
Delhi-110094
PREFACE
This book has originated from the fact that both teachers and students have to
refer to many different books and internet sites for their course of study in Advance
Spreadsheet Tools. Keeping this in mind the syllabus of the all Under Graduate and
Post Graduate in the field of Computer Science has been adopted as a guideline for
the preparation of this book. I have tried our best for making the subject matter
simple and easy.
This book has the primary aims to providing essential and detailed coverage
of Advance Spreadsheet Tools concepts to the all U. G. & P. G. students in computer
Science. I hope that this book will be helpful to all type of students.
The whole text book has been divided in Fourteen Chapters with detailed
examples.
—Authors
H.O.D. Computer Department,
Kanya Mahavidyalaya, Kharkhoda (Sonipat)
ABOUT THE AUTHOR
Dr. Ramesh, Assistant Professor in Computer Science Department
in Kanya Mahavidyala, Karkhoda, Sonipat, Haryana has two decades of
distinguished academic, administrative and computer experience. He has
specialized in the field of rural marketing. He is complete his research in
2012 on Role of rural marketing in rural development. He has attended
and presented many research papers in national seminars/conference
in different colleges and university. He has contributed many research
articles in reputed publications.
SYLLABUS
DEPARTMENT OF COMPUTER SCIENCE & APPLICATIONS
KURUKSHETRA UNIVERSITY, KURUKSHETRA
SESSION: 2023-24
PART A – INTRODUCTION
Subject Computer Science
Semester I
Name of the Course Advance Spreadsheet Tools
Course Code B23-SEC-102
CourseType: (CC/MCC/MDC/CC- SEC
M/DSEC/VOC/DSE/PC/AEC/VAC)
Level of the course (As per Annexure-I
Pre-requisite for the course (ifany)
Course Learning Outcomes(CLO): After completing this course, the learner will
be able to:
1. create and format spreadsheets
2. create and format tables and applying
formulas in a spreadsheet
3. create charts and protect worksheets
4. create and use pivot charts and tables
5*. to implement various spreadsheet tools
practically.
Credits Theory Practical Total
2 1 3
Contact Hours 2 2 4
Max. Marks: 75(50(T)+25(P)) Time: 3 Hrs.(T), 3Hrs.(P)
Internal Assessment Marks: 20(15(T)+5(P))
End Term Exam Marks: 55(35(T)+20(P))
PART B – CONTENTS OF THE COURSE
Instructions for Paper- Setter
Examiner will set a total of nine questions. Out of which first question will be compulsory.
Remaining eight questions will be set from four unit selecting two questions from each
unit. Examination will be of three-hour duration. All questions will carry equal marks.
First question will comprise of short answer type questions covering entire syllabus.
Candidate will have to attempt five questions in all, selecting one question from each
unit. First question will be compulsory.
Practicum will be evaluated by an external and an internal examiner. Examination will
be of three- hour duration.
Contact
Unit Topics
Hours
I Manage Workbook Options and Settings: Create Worksheets
and Workbooks, navigate in Worksheets and Workbooks,
Format Worksheets and Workbooks, Customize Options and
Views for Worksheets and Workbooks, Configure Worksheets
and Workbooks for Distribution 6
Apply Custom Data Formats and Layouts: Apply Custom
Data Formats and Validation, Apply Advanced Conditional
Formatting and Filtering, Create and Modify Custom Workbook
Elements
II Create Tables: Create and Manage Tables, Manage Table Styles
and Options, Filter and Sort a Table
Perform Operations with Formulas and Functions: 6
Summarize Data by using Functions, Perform Conditional
Operations by using Functions, Format and Modify Text by
using Functions.
III Create Charts and Objects: Create Charts, Format Charts,
Insert and Format Objects
6
Manage Workbook Options and Settings: Manage Workbooks,
Manage Workbook Review Restrict editing
IV Create Advanced Formulas: Apply Functions in Formulas,
Look up data by using Functions, Apply Advanced Date and Time
Functions, Perform Data Analysis and Business Intelligence,
6
Define Named Ranges and Objects,
Create Advanced Charts and Tables: Create and Manage
PivotTables, Create and Manage Pivot Charts
V* Practicum:
Spread Sheet:
Use spreadsheet for basic data handling
Apply formulas to sheet for automation.
Use if-else to make certain decisions in a sheet.
Use Charts & Shapes for better visualization of data. 25
Use filters and data validation controls for control of data
Formatting data and spreadsheets
Creating and managing tables
Use Pivot table and charts
Use what-if analysis along with goal seek and scenarios
Mid-Term Exam: NA
PART C-LEARNING RESOURCES
Recommended Books/e-resources/LMS:
Help files from Apache Open Office, https://wiki.openoffice.org/wiki/Documentation
Channelle Andy, “Beginning OpenOffice 3: From Novice to Professional”, aPress
Publications
Beginning OpenOffice 3: From Novice to Professional, Andichannele, Apress.
Microsoft Office 2016 Step by Step: MS Office 2016 Step by Step, By Joan Lambert,
Curtis Frye
Getting Started with LibreOffice 5.0, Friends of OpenDocuments Inc., Http://
friendsofopendocument.com
Documentation from LibreOffice, https://documentation.libreoffice.org/en/english-
documentation/
Walter Holland, Microsoft Office 2013 Digital Classroom
Wayne L. Winston, Data Analysis and Business Modeling
3. Editing a Worksheet�����������������������������������������������������������������������������������������������48
Editing Cell Contents
Copying and Moving Cells
Controlling How Cells Are Moved or Copied
Collecting Items to Move or Copy
Checking Your Spelling
Inserting Cells, Rows, and Columns
Deleting Cells, Rows, and Columns
Using Undo and Redo
Finding and Replacing Content
Adding Comments to Cells
Editing a Worksheet Review
4. Formatting a Worksheet��������������������������������������������������������������������������������������68
Formatting Text
Formatting Values
Adjusting Row Height and Column Width
Working with Cell Alignment
Adding Cell Borders and Background Colors
Copying Formatting
Applying and Removing Cell Styles
Creating and Modifying Cell Styles
Using Document Themes
Applying Conditional Formatting
Creating and Managing Conditional Formatting Rules
Finding and Replacing Formatting
Formatting a Worksheet Review
GIVING COMMANDS
Fig. 1.3. Hiding the Ribbon gives you more room in the program window.
Opening a workbook lets you use a workbook that you or someone else has
previously created and then saved. This lesson explains how to open a saved workbook.
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.
1. Click the File tab and select Open.
The Open dialog box appears. Next, you have to tell Excel where the file you
want to open is located.
Other Ways to Open a Workbook: Press <Ctrl> + <O>.
2. Navigate to the location of the saved
file.
The Open dialog box has several
controls that make it easy to navigate
to locations and find files on your
computer:
Address bar: Click a location in
the Address bar to open it. Click
the arrow to the right of a location
to view a list of folders within that
Fig. 1.10. The Open dialog box. To open a file, you
location. Select a folder from the must first navigate to the folder where it is saved.
list to open it. Most new files are saved in the Documents folder
by default.
Folders List: Shortcuts to
common locations on your computer, such as the Desktop and Documents
library.
Search box: This searches the contents— including subfolders—of that
window for the text that you type. If a file’s name, file content, tags, or
other file properties match the searched text, it will appear in the search
results. Search results appear as you enter text in the search box.
3. Select a file and click Open.
Excel displays the file in the application window.
Tip: To open a workbook that has been used recently, click the File tab,
click Recent, and select a workbook from the Recent Workbooks list.
Fig. 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.
Tip: Use the scroll bar or the page navigation controls below the
preview to view other pages in the document.
Other Ways to Preview and Print: Press <Ctrl> + <P>.
SAVING A WORKBOOK
CLOSING A WORKBOOK
USING HELP
Ribbon.
The Excel Help window
appears.
Other Ways to Open the
Help window: Press <F1>.
2. Type what you want to
search for in the “Type words
to search for” box and press
<Enter>.
A list of help topics appears.
3. Click the topic that best
answers your question.
Excel displays information Fig. 1.14. The Excel Help window.
regarding the selected topic.
Browse for Help
1. Click the Microsoft Excel Help button ( ) on the Ribbon.
The Excel Help window appears.
2. Click the category that you want to browse. The topics within the selected
category appear.
3. Click the topic that best answers your question.
Excel displays information regarding the selected topic.
Choose the Help Source
If you are connected to the Internet, Excel 2010 retrieves help from the Office
Online database by default. You can easily change this to meet your needs.
1. Click the Search button list arrow in the Excel Help window.
A list of help sources appears.
2. Select an option from the list.
Now you can search from that source.
Change Font Click here to change the size of the text in the Help
Size window.
Show Table Click here to browse for help using the Table of Contents.
of Contents
Keep On Top Click here to layer the Help window so that it appears
behind all other Microsoft Office programs.
EXITING EXCEL
Tip: Having too many programs open at a time could slow down your
computer, so it’s a good idea to exit all programs that aren’t being used.
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.
This chapter suggests exercises to practicethe topic of each lesson. There are two
ways you may follow along with the exercise files:
Open the exercise file for a lesson, perform the lesson exercise, and closethe
exercise file.
Open the exercise file for a lesson, perform the lesson exercise, and keep the
file open to perform the remaininglesson exercises for the chapter.
The exercises are written so that you may “build upon them”, meaning the
exercisesin a chapter can be performed in succession from the first lesson to the
last.
NAVIGATING A WORKSHEET
formatting.
1. Select the cell where you want to enter data.
2. Type the data in the cell.
3. Press the <Enter> or <Tab> key.
The cell entry is confirmed and the next cell becomes active.
Other Ways to Confirm a Cell Entry: Click the Enter button on the Formula Bar.
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.
concentrate on data entry instead of moving the cell pointer back and forth.
2. Enter the data in the first cell. Press <Tab> or <Enter> to move on to the
next cell. Table 2.3: Navigating in a Selected Cell Range
When the active cells reaches the Down <Enter>
end of a column or row, the next Up <Shift> + <Enter>
time your press <Tab> or <Enter>,
Right <Tab>
the cell pointer moves to the next
Left <Shift> + <Tab>
cell in the selected range.
3. Click any cell in the worksheet to deselect the range.
Click to select the entire worksheet.
ENTERING FORMULAS
Or, if you want to add up a row of numbers, click the cell to the right of the
row.
2. Click the Home tab and click the AutoSum button in the Editing group.
The SUM function appears in the cell and a moving dotted line appears
around the cell range that Excel thinks you want to sum. If the range is not
correct, click and drag to select the correct range.
Tip: Click the AutoSum button list arrow to choose from other common
functions, such as Average.
Other Ways to Enter AutoSum: Press <Alt> + <=> .
3. Press the <Enter> key to confirm the action.
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.
UPV-3594.
Tip: If you select only one cell, that same value is copied to the adjacent
cells when you Fill—unless
Excel recognizes it as a date
or time, in which case it will
fill in the next logical date or
time period.
2. Position the mouse pointer over
the fill handle (the tiny box in the
cell’s lower-right corner) until the
pointer changes to a plus sign.
3. Click and drag the fill handle to
Fig. 2.8. Formulas that are copied with Fill are updated
the cells that you want to fill with relative to their location. This formula copied from C11 is
the information. updated to use cell references from the D column.
ANSWERS
1. (b) Pressing <Shift> + <Tab> moves the cell pointer one cell to the left.
2. True. You can select all cells at once by pressing Ctrl + A.
This chapter suggests exercises to practice the topic of each lesson. There are two
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.
Other Ways to Clear Cell Contents: Under the Home tab on the Ribbon,
click the
Clear button in the Editing group.
Tip: Note that this clears the cell contents, not the actual cell.
Other Ways to Copy Cells: Press <Ctrl> + <C>. Or, right-click the selection
and select Copy from the contextual menu.
3. Select the cell where you want to paste the copied content.
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.
4. Click the Home tab on the Ribbon and click the Paste button in the Clipboard group.
The copied cell data is pasted in the new location.
Other Ways to Paste Cells: Press <Ctrl> + <V>. Or, right-click where you
want to paste and select Paste from the contextual menu.
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.
1. Select the cell(s) you want to move.
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.
Formulas Paste formulas and Values & Source Paste the values and all
& Number number formatting. Formatting formatting from source
Formatting cells.
Transpose Flip the data so the rows Linked Picture Paste a picture of the
are flipped to columns cells with a link to the
and vice versa. original cells.
Click to control
how the Clipboard
operates.
Fig. 3.8. A worksheet with the Clipboard task pane displayed.
Delete Cells
1. Select the cell(s) you want to delete.
2. Click the Home tab on the Ribbon and click the Delete list arrow in the Cells
group. Select Delete Cells.
Table 3-4: Find and Replace Search Options describes the Search Options
available under the Find and Replace tabs.
Trap: If you specify Search Options, make sure to turn them off when
you are finished. Otherwise, subsequent find or replace commands will
use the same search options.
Table 3-4: Find and Replace Search Options
Within Choose whether to search within just the current sheet or the
entire workbook.
Search Search by rows (left to right, then top to bottom) or columns (top
to bottom, then left to right).
Look in Specify which kinds of data you want to search in, such as formulas,
values, or comments.
Match case Searches exactly as text is typed in the text box.
Match entire cell Searches only for cells that match the contents in the text box
contents entirely. Parts of phrases or words are not included.
Format button Specify formatting characteristics you want to find attached to the
text in the Find what text box.
1. Click the cell that contains the comment you want to edit.
2. Click the Review tab on the Ribbon and click the Edit Comment button in
the Comments group.
Advance Spreadsheet Tools 65
3. Edit the comment.
You can change the size of a comment text box by clicking and dragging one
of the eight sizing handles that surrounds the comment.
4. Click outside the comment area when you’re finished.
Other Ways to Edit a Comment: Right-click the cell with the comment you
want to edit and select Edit Comment from the contextual menu. Edit the
comment.
Delete a Comment
1. Click the cell that contains the comment you want to delete.
2. Click the Review tab on the Ribbon and click the Delete button in the
Comments group.
Other Ways to Delete a Comment: Right-click the cell you want to delete
and select Delete Comment from the contextual menu.
ANSWERS
1. True. Simply click a cell and type to replace its contents.
2. (b) Press and hold the <Ctrl> key to copy cells using the mouse.
3. True. The Paste Options button appears after pasting cells in Excel.
4. (d) You can use the Paste Special command to paste any of these elements.
5. True. The Office Clipboard can be used in all Office programs.
6. (a) Click the Ignore Once button to leave text alone and move to the next questionable
word.
7. (c)The existing rows are shifted downward when you insert a row.
8. False. Pressing the <Delete> key only deletes the cell’s contents.
9. True. You can undo multiple actions in Excel.
10. (a) Editing
11. False. You can edit or delete a cell comment.
This chapter suggests exercises to practicethe topic of each lesson. There are two
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 remaininglesson exercises for the chapter.
The exercises are written so that you may “build upon them”, meaning the
exercisesin a chapter can be performed in succession from the first lesson to the
last.
FORMATTING TEXT
Font Color
FORMATTING VALUES
menu, and enter the column width. Or, select the column header(s), click the
Format button in the Cells group on the Home tab, select Width, and enter
column width.
Adjust Row Height
1. Point to the row header’s bottom border until the pointer changes to a .
2. Click and drag up or down to adjust the height.
A dotted line appears as you drag, showing you where the new row border
will be.
Other Ways to Adjust Row Height: Right-click the row header(s), select
Row Height from the contextual menu, and enter the row height. Or, select
the row header(s), click the Format button in the Cells group on the Home
tab, select Height, and enter the row height.
AutoFit Columns or Rows
The AutoFit feature automatically resizes columns or rows to fit the cell in each
column or row that has the widest or tallest contents.
1. Double-click the right border of the column(s) or bottom border of the
row(s).
Tip: To AutoFit multiple rows or columns, select the rows and columns,
then double-click the corresponding border to adjust all selected rows
or columns.
72 Advance Spreadsheet Tools
WORKING WITH CELL ALIGNMENT
Orientation
Increase or decrease the margin between the cell
contents and the cell border with these two buttons.
Decrease/Increase Indent
COPYING FORMATTING
2. Click the Home tab and click the Cell Styles button in the Styles group.
A gallery of styles appears.
3. Select a cell style.
Tip: Hover the pointer over a style to preview how it will look before
selecting it.
Remove a Cell Style
1. Select the cell(s) that have the cell style applied.
2. Click the Home tab and click the Cell Styles button in the Styles group.
3. Click Normal.
Tips
• 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.
Top/Bottom Rules: These conditions focus on the high and low values
in the worksheet. Preset conditions include: Top 10 Items; Top 10%;
Bottom 10 Items; Bottom 10%; Above Average; Below Average.
3. Point to Highlight Cells Rules or Top/Bottom Rules and select a conditional
formatting rule.
A dialog box appears, allowing you to specify the details relating to the rule.
For example, if you selected the Greater Than rule, in the “Format cells that
are GREATER THAN:” box you can enter a value or click a cell to enter a cell
reference. Then you can click the list arrow and select the formatting you
want to apply to cells that fit the criteria you set—in this example, cells that
are greater than the value you entered.
2. Click the Home tab on the Ribbon and click the Conditional Formatting
button in the Styles group.
3. Select New Rule.
The New Formatting Rule
dialog box appears.
4. Select a rule type in the
Select a Rule Type list.
5. Complete the fields in the
Edit the Rule Description
area.
This area will display
different fields depending
on the type of rule you
selected.
Tip: Click Preview in
the New Formatting Rule
dialog box if you want to Fig. 4.21. Creating a new conditional formatting rule.
see how the rule will appear before you apply it.
6. Click OK.
The new rule is created and formatting is applied.
Other Ways to Create a New Rule: Click the Home tab on the Ribbon and
click the Conditional Formatting button in the Styles group. Click Manage
Rules, then click New Rule. Or, click the Home tab on the Ribbon and click
the Conditional Formatting list arrow in the Styles group. Click one of the
rule types, then click More Rules.
Tips
• Click Replace All to replace all occurrences of the cell formatting at
once.
• To find other types of items, click the Find & Select button and then
select one of the Find options: Formulas, Comments, Conditional
Formatting, Constants, or Data Validation.
ANSWERS
1. (d) Comma Style is not a type of font formatting.
2. (c) Dollar is not a type of number formatting.
3. (a) AutoFit resizes columns or rows to best fit cell contents.
4. False. You can align cell contents vertically and horizontally within a cell.
5. (c) The Border list arrow is located in the Font group.
6. True. Click the Format Painter button once to apply it once or twice to apply it multiple
times.
7. True. Excel contains preset formatting styles that are all ready for you to apply to cells.
8. (d) Number, Font, Fill and Border, are all available in cell styles. You can also include
Alignment and Protection formatting in the style.
9. (d) Document themes consist of theme colors, fonts, and effects.
10. (a) Conditional formatting allows you to highlight cells that meet specific criteria.
11. (b) Characters is not a conditional formatting option in Excel.
12. True. Click Preview in the New Formatting Rule dialog box to see how new conditional
formatting will look before you apply it.
13. False. You can edit a conditional formatting rule.
14. (d) Styles cannot be found using the Find feature.
This chapter suggests exercises to practicethe topic of each lesson. There are two
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 remaininglesson 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.
Bar charts are just like column charts, except they display
Bar information in horizontal bars rather than in vertical
columns.
Area charts are the same as line charts, except the area
Area beneath the lines is filledwith color.
INSERTING A CHART
options. A few are displayed by default, but you can click the arrow
buttons to scroll down and access additional layouts and styles, or you
can click the More button to expand a gallery.
EMPHASIZING DATA
Different types of
EXERCISE NOTES
charts are better for
presenting different Exercise File: Survey5-12.xlsx
types of information. For Exercise: Change the chart to a “Stacked Column” chart type.
example, a column chart Change the chart to a pie chart. Swap the data over the axis to
view data for Business, Leisure, and Other responses.
is great for comparing
values of different items, but
not for illustrating trends or
relationships. If you find that
a chart you’ve created isn’t the
best fit for your data, you can
switch to a different chart type.
1. Select the chart. The
Chart Tools appear on
the Ribbon.
2. Under Chart Tools on
the Ribbon, click the
Design tab. Fig. 5.24. Selecting a Stacked Column chart in the
Change Chart Type dialog box.
USING SPARKLINES
ANSWERS
1. (d) Consider all of these when selecting data: the main point, the truth, and simplicity.
2. (b) Pie charts are best for showing values as a percentage of a whole.
3. (a) A line chart displays trends over time.
4. (b) To create a chart, click the Insert tab, then select a chart type and chart in the Charts
group.
5. (a) Horizontal axis labels are tied to the source data; they only change if the source data
is changed.
6. False. To remove a chart label, click the label button in the Labels group and select
None from the list.
7. (c) Gridlines can be formatted to use whatever color, style, and width you prefer.
8. (d) All of these are ways to change the scale of a chart.
9. True. You can double-click a chart element to change its formatting.
10. True. If you decide you no longer need a chart template that you’ve saved, you can
delete it.
11. False. The chart type can be changed after it is created.
12. (d) A sparkline is a snapshot of data on a worksheet.
This chapter suggests exercises to practicethe topic of each lesson. There are two
ways you may follow along with the exercise files:
Open the exercise file for a lesson, perform the lesson exercise, and closethe
exercise file.
Open the exercise file for a lesson, perform the lesson exercise, and keep the
file open to perform the remaininglesson 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.
Switching Between
Worksheets
You can switch between
worksheets in a workbook
by selecting a different
sheet’s tab.
1. Click the sheet tab for
the worksheet you
want to display.
That worksheet
becomes active,
allowing you to view
and edit it.
Other Ways to
Select a Worksheet:
Right-click the tab
scrolling buttons and
select the worksheet
from the contextual
menu. Or, use the tab
scrolling buttons to
scroll through the
sheet tabs and then
Fig. 6.3. Sheet tabs and scrolling buttons.
select one.
Delete a Worksheet
1. Right-click the sheet tab you want
to delete and select
Delete from the contextual menu.
A dialog box appears, asking you
to confirm the deletion.
2. Click Yes.
The worksheet is deleted. Fig. 6.5. Deleting a worksheet from a workbook.
Other Ways to Delete a Worksheet: Select the worksheet you want to
delete, click the Home tab on the Ribbon, click the Delete list arrow in the
Cells group and select Delete Sheet.
Click to insert a new worksheet.
You can use a header to include the same information at the top of every printed
page or a footer to include information EXERCISE NOTES
at the bottom of every page. You can Exercise File: Bookings6-5.xlsx
enter your own headers or footers, Exercise: View the Tuesday worksheet.
insert built-in ones, or insert specific
elements such as pictures or page
numbers.
Create a Basic Header or Footer
1. Click the Insert tab on the Ribbon
and click the Header & Footer
button in the Text group.
The workbook automatically
switches to Page Layout View and
the cursor appears in the header
area.
The header and footer areas are
split into three sections—left,
right, and center. Click any of
the sections to enter text in that
section.
Picture Opens the Insert Picture dialog box, where you can browse
for and insert a picture file.
Format Picture Is only available once a picture has been inserted; this button
allows you to adjust the picture’s size,brightness or contrast.
Tip: Once you set a print area, you can add additional print areas. Select
the additional cells, click the Print Area button in the Page Setup group,
and select Add to Print Area. The added area also has dashed lines
around it.
Clear Print Area
Clear the print area and return to the default page setup.
1. Click the Page Layout tab on the Ribbon and click the Print Area button in
the Page Setup group.
A list of print area options appears.
2. Select Clear Print Area from the list. The print area is cleared.
View Page Breaks
Excel automatically breaks the page based on the margins and other page settings,
but you can adjust these page breaks or add your own to divide a worksheet into
separate pages for printing.
You can insert new vertical and horizontal page breaks in the workbook.
1. Right-click the cell below or to the right of where you want to insert the page
break.
A contextual menu appears.
Tip: It can be a little confusing to figure out which cell to click to
insert a certain type of page break. See the table to the right for more
information on where to click.
2. Select Insert Page Break from the contextual menu. The break is inserted.
A print preview of a worksheet without A print preview of a worksheet with gridlines and
gridlines or headings displayed. headings displayed.
Fig. 21. Worksheets without and with gridlines and headings.
workbook you want to display alongside the active workbook and click OK.
Tip: Click the Save Workspace button in the Window group to save the
layout of the open windows for future access.
Create Another Workbook Window
You can view a workbook in more
than one window at a time.
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 appears
in the Excel program window.
CREATING A TEMPLATE
ANSWERS
1. (b) Edit view is not an Excel view option.
2. True. The Zoom slider on the status bar lets you zoom in and out of a worksheet.
3. False. To select a worksheet, click that worksheet’s tab at the bottom of the workbook
window.
4. True. You can add and delete worksheets.
5. True. You can move a worksheet within a workbook simply by dragging the sheet’s tab
to the new location. Hold down the Ctrl key if you want to copy it.
6. False. They are similar, but splitting allows you to scroll through all window sections
independently. Also, you can move split lines but not frozen sections.
7. True. Page Layout View makes it easy to work with headers and footers.
8. False. Hiding data doesn’t delete it, it just hides it from view until it is unhidden.
9. True. In Page Break Preview view, you can move a page break by clicking and dragging
it to a new location.
10. True. In Page Break Preview view, you can move a page break by clicking and dragging
it to a new location.
11. (a) Large is not a margin size option in Excel.
12. (d) You can view or print gridlines and headings using the commands in the Sheet
Options group.
13. (b) Letter is the default paper size in Excel.
14. (b) In Excel 2010, you can only print one workbook at a time.
Formulas are the heart and soul of a spreadsheet. Without formulas, Excel would
be nothing more than a grid for displaying numbers and text. As you will see in this
chapter, formulas can do a lot more than just adding, subtracting, multiplying, and
dividing. Excel has hundreds of different formulas you can use to create complex
statistical, financial, and scientific calculations. The most expensive calculator in
the world couldn’tcome close to matching all of Excel’s functions.
In this chapter, you’ll learn about more complex formula writing, how to insert
and edit functions, how to define names,and how to trace formulas and diagnose
errors.
This chapter suggests exercises to practicethe topic of each lesson. There are two
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 remaininglesson exercises for the chapter.
The exercises are written so that you may “build upon them”, meaning the
exercisesin a chapter can be performed in succession from the first lesson to the
last.
There are several hundred functions available in Excel. Some are simple, such as
the SUM function. Others are much more complex and contain several different
Use AutoCalculate
You don’t always
need to enter a
formula to make a
quick calculation. For
example, if you have
a column containing
a few numbers you
want to add together,
you can simply select
the cells and look to
the status bar for the
answer— Excel has
calculated the sum
for you there.
1. Select the cells
you want to
average, count Fig. 7.5. The AutoCalculate feature in the status bar.
or sum.
Excel’s AutoCalculate feature takes the cells you selected and displays the
results to these common calculations in the status bar, as shown in the
example to the right.
Change AutoCalculate options
You can also change and add calculations in the status bar.
DEFINING NAMES
The Name Box is at the left end of the formula bar and displays the name of
the cell in the upper left corner of the currently selected range.
3. Type a name for the selection.
You can enter up to 255 characters.
Trap: You can’t use a cell reference, like B2, as a name, and you can’t use
spaces in a name (use an underscore or period instead).
4. Press the <Enter> key.
The defined name is confirmed.
Name Box list: Click the arrow next to the Name Box to view the defined
names. If you select a name here, the cell range that is defined by that name
is selected in the worksheet.
Edit Defined Names
You can use the Name Manager dialog box to
edit defined names.
1. Click the Formulas tab on the Ribbon and
click the Name Manager button in the
Defined Names group. The Name Manager
dialog box appears.
Fig. 7.10. The Edit Name dialog box.
1. Click the Formulas tab on the Ribbon and click the Watch Window button
in the Formula Auditing group.
The Watch Window appears. Here you can add cells you want to track.
2. Click the Add Watch button.
The Add Watch dialog box appears.
3. Select the cell or cell range you want to watch and click Add.
The workbook and worksheet names, defined name, cell reference, current
value, and formula for the selected cell(s) appear in the Watch Window.
Tip: If you no longer want to track a certain cell, select it in the Watch
Window and click the Delete Watch button.
4. Click the Watch Window’s Close button. The Watch Window closes.
FINANCIAL FUNCTIONS
STATISTICAL FUNCTIONS
DATABASE FUNCTIONS
TEXT FUNCTIONS
LOGICAL FUNCTIONS
INFORMATION FUNCTIONS
ANSWERS
1. True. To change the order of evaluation, enclose the part of the formula to be calculated
first in parentheses.
2. (a) Scientific is not a category of functions in Excel.
3. True. By default, Excel recalculates the formulas in a workbook whenever you change
a value that affects another value.
4. True. You can define a name for multiple non-adjacent cells.
In Excel you can take ranges of data and sort EXERCISE NOTES
them into different orders. For example, you Exercise File: SalesReps8-1.xlsx
can sort text alphabetically, numbers by size,
Exercise: Sort the data in the Last
dates and times chronologically, cells or fonts column from A to Z. (Don’t include the
by color or icon, or you can create a custom column header—Last—along with the
sort. Usually you sort by column (or field), but data.)
you can also sort by row (or record).
Before you sort your data, make sure it’s organized intotwo components:
Fields (columns): Records are broken up into fields which store specific
pieces of information, such as first and last name.
Records (rows): Each record contains information about a unique thing or
person, just like a listing in aphone book.
8. (Optional) Repeat the sorting steps for the next level, selecting the next
column you want to sort by, and add more levels.
Excel will sort the data by each level in order.
Tip: Click the Delete Level button to delete a sort level you no longer
want to use.
9. Click OK.
The data range is sorted accordingly.
the Ribbon, click the Sort & Filter button in the Editing group, and select
CustomSort.
The Sort dialog box appears.
3. Click the Sort by list arrow and select a column tosort by (the column with
data that matches the custom list).
4. Click the Order list arrow and select Custom List.
The Custom Lists dialog box appears.
5. Select the custom list you want to use and click OK.
6. Click OK.
The data is sorted according to the custom list.
Tip: To sort by rows instead of columns, click Options inthe Sort dialog
box and select Sort left to right.
When you filter data, Excel displays only the EXERCISE NOTES
records that meet the criteria you specify—
Exercise File: SalesReps8-5.xlsx
other records are hidden. You can also filter
Exercise: Filter the data by region so
by multiple columns; each time you filter by an that only North sales reps appear.
additional column, the data is further reduced. Then filter those records additionally
so only Associates appear (only
Filter Text, Numbers and Dates
Denise Winters should remain).
You can filter by values such as text, numbers, Remove the filters so all the data once
or dates. again appears and the
1. Select the range of data you want to filter filter buttons disappear.
or select a cell within the range.
2. Click the Home tab on
the Ribbon, click the
Sort &Filter button in
the Editing group, and
click Filter.
Fig. 8.9. Data filtered to display only North region sales reps.
Filter buttons that
look like arrows appear in the firstcell of each field header.
Other Ways to Filter: Click the Data tab on the Ribbon and click the Filter
button in the Sort & Filter group.
3. Click the filter button for
the column you want to
filter.
A list of filter options
appears at the bottom
of the list. There is an
option for every entry in
the field.
4. Checkmark the check
boxes of values that you
want to display. Remove
the checkmarks from
check boxes of values
Fig. 8.10. Setting criteria for a field. Items that are checked are shown.
that you want to hide. Items that are not checked are filtered out.
= Equal to
CREATING A TABLE
If you haven’t already entered the data you want toinclude in a table, you can create
the table first.
1. Select a range of cells that is approximately the size you want your table to
be.
You can always change the size later.
2. Click the Insert tab on the Ribbon and click the
Table button in the Tables group. The Create Table dialog box appears.
3. Click OK.
The table appears, including placeholder column headers that you can edit,
and a resize handle thatappears in the lower-right corner of the table.
The table below, Tips for Organizing Tables, providesideas for setting up your
table data.
Table 9.1: Tips for Organizing Tables
Avoid putting blank rows and columns So that Microsoft Excel can more easily
in the table. detect and select the table.
Create column labels in the first row of Excel uses the labels to create reports and
the table. to find and organize data.
Design the table so that all rows have This makes the table more meaningful and
similar items in the same column. organized.
3. Click the Total Row option in the Table Style Options group so that it is
selected.
A Total row appears at the bottom of your table andthe last column is summed.
Tip: If the last column doesn’t contain numbers,Excel displays a count
of the number of items inthe column.
Calculate Total row values
Once you’ve added a total row, you can decide what typeof calculation you want to
perform for the total of each table column.
A list appears, displaying several options for sorting or filtering the table data.
The check boxes are all thedata entries for the selected field.
1. Click a field name list arrow and select Custom fromthe list.
2. Select Text Filters or Number Filters from the list.A list of ways to filter the
text appears.
3. Select a filter option from the list.
The Custom Filter dialog box appears.
4. Complete the dialog box as necessary
and click OK. Fig. 9.10. The Top 10 Custom Sort dialog box.
Tip: To display the entire Table Styles gallery, click the More button in
the Table Styles group.
• To remove validation criteria, select the cells that contain the validation
you want to remove, and click the Data Validation button in the Data
Tools group on the Data tab. Click Clear All, then click OK.
Create an Input Message
You can set up Excel to display a message whenever a cell or range of cells is
selected. These messages are useful for providing data entry instructions.
1. Select the cells where you want an input message to appear.
The input message will
appear when the cell or cells
are selected.
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.
3. Click the Input Message tab.
Fig. 9.16. Defining text length in the Data Validation dialog box.
CONVERTING TO A RANGE
ANSWERS
1. True. You can create a blank table or a table that uses an existing data range.
2. B. There isn’t a Resize Table Wizard in Excel.
3. True. When you add a total row to a table, the last column is summed by
default.
4. True. Custom Sorting allows you to sort by multiple levels, so you can sort by
multiple columns.
5. D. Color is not a filter option in Excel. It is, however, a way you can sort.
6. False. Removing duplicates from a table deletes the data completely.
7. False. You can always change table styles.
8. B. Checkered Rows is not an option in the Table Style Options group.
9. C. You don’t need to protect the worksheet to use the data validation feature.
10. A.You can summarize and analyze table data using a PivotTable.
11. True. When you convert a table to a range, the table formatting remains
applied to the cells.
There are many ways to analyze worksheet data, including sorting and filtering
records. This chapter explains how to use a PivotTable to analyze dataranges.
A PivotTable is usually the best way to summarize and analyze data ranges or
tables. PivotTables are good for grouping or expanding levels of data, switching
columns and rows (“pivoting” data), and filtering and sorting. They lend themselves
particularly well to summarizing long lists of data that need to be summed.
This chapter explains how to create PivotTables, modify their structure, and
create PivotCharts that graphically illustrate PivotTables.
Using Exercise Files
This chapter suggests exercises to practicethe topic of each lesson. There are two
ways you may follow along with the exercise files:
Open the exercise file for a lesson, perform the lesson exercise, and closethe
exercise file.
Open the exercise file for a lesson, perform the lesson exercise, and keep the
file open to perform the remaininglesson exercises for the chapter.
The exercises are written so that you may “build upon them”, meaning the
exercisesin a chapter can be performed in succession from the first lesson to the
last.
CREATING A PIVOTTABLE
the Collapse Dialog button and select the worksheet and upper-left
cell of the range where you want toput the PivotTable.
Add fields
1. Click the check boxes
next to the fields you
want touse as data in
the PivotTable.
By default, non-
numeric fields are
added to the Row
Labels area, numeric
fields are added
to the Values area,
and OLAP date and
time hierarchies are
added to the Column
Labels area. However, Fig. 10.3. A PivotTable with data.
the fields can be
rearranged to other areas.
CHANGING A PIVOTTABLE’SCALCULATION
Much like you can with basic data ranges and EXERCISE NOTES
tables inExcel, you can filter and sort data in a Exercise File: TripSales10-4.xlsx
PivotTable. Exercise: Use the Row Labels filter
Filter a PivotTable button to display only records from
Blaine. Clear the filter.
1. Select a cell in the PivotTable.
Try another way to filter: Add the
The Options and Design tabs appear Commission field to the Report
underPivotTable Tools on the Ribbon. Filter area of the PivotTable Field
2. Click the filter button for a row or List and filter the PivotTable so only
commissioned sales appear. Clear the
column label. filter.
A list sorting and filtering options Sort the PivotTable by Office (Row
appears. The bottom area of the list Labels) from Z to A, then sort again
displays criteria by which youcan filter. from A to Z.
This is the default layout. The fields are stacked abovethe areas.
The fields appear side by side with the areas. This isuseful if there is a long list
of fields to choose from.
Only the fields list is displayed. This is ideal if you only need to work with adding
fields to the PivotTablereport.
Only the areas are displayed (2 by 2). This is ideal if the fields you want have
been added and you want towork with the report’s layout.
Only the areas are displayed (1 by 4). This is ideal if the fields you want have
been added and you want to work with the report’s layout
UPDATING A PIVOTTABLE
USING SLICERS
SlicerStyles group.
The style is applied to the slicer.
Tip: You can also click the More button in theSlicer Styles group to view
more styles.
Delete a Slicer
If you no longer want to filter PivotTable data, you canremove the slicer completely.
1. Click the slicer and press <Delete>.
The slicer no longer appears in the worksheet.
Other Ways to Delete a Slicer: Right-click the slicer, and then select Remove
<Name of slicer> from the contextual menu.
ANSWERS
1. True. You can create a PivotTable in either a new or existing worksheet
2. C. Specify the data you want to use in the PivotTable in the PivotTable Field
List task pane.
3. D. All are available.
4. B. You can filter a PivotTable by dragging a field into the Report Filter box in
the PivotTable Field List.
5. A. Header Row is not a button found in the Layout group on the Design tab.
6. False. Dates are commonly grouped in PivotTables.
7. False. You must manually refresh the PivotTable to include changes made to
your source data.
8. C. Bold Headers is not an option in the PivotTable Style Options group.
9. True. When you modify a PivotTable, the PivotChart is updated along with it.
10. True. Slicers provide a visual way to filter PivotTables.
11. False. PivotTables can applied to other PivotTables in a workbook.
CREATING SCENARIOS
closes.
Tip: To edit a scenario, select the scenario in the Scenario Manager
dialog box and click the Edit button.
Display a scenario
Once you have created scenarios in a worksheet, you can display the worksheet
using the values from those scenarios.
1. Click the Data tab on the Ribbon, click the What-If Analysis button in the
Data Tools group, and select Scenario Manager from the menu.
The Scenario Manager dialog box appears.
2. Select the scenario that you want to display and click the Show button.
The worksheet’s values are changed to the values you specified in the
scenario.
3. Select the option that describes where the labels are located in the selected
cell range.
The labels that are in the selected cell range will be used as names.
4. Click OK.
The cells are named using the labels.
Create a Scenario Summary Report
Once you’ve created at least two scenarios and have named cells, you can create a
summary report.
1. Click the Data tab on the
Ribbon, click the What-
If Analysis button in the
Data Tools group, and select
Scenario Manager from the
menu.
The Scenario Manager dialog
box appears. Fig. 11.5. A Scenario Summary report.
Fig. 11.7. The Data Table dialog box and the resulting two-input
data table showing different monthly payments
at different interest rates and different terms.
Fig. 11.8. Using Goal Seek to determine the maximum loan amount with a $1200 monthly payment.
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.
Advance Spreadsheet Tools 247
6. Click OK.
Excel calculates and displays the value needed to achieve the formula result
you desire.
7. Click OK to replace the original values or click Cancel to keep the original
values.
USING SOLVER
Finally, add any constraints on the problem. For example, you could specify
that one of the formula’s input cells can’t be greater than a certain value.
6. Click the Add button in the Subject to the Constraints section.
The Add Constraint dialog box appears.
7. Enter a cell reference, select an operator, then enter the constraint value you
want to apply to the cell.
8. Click Add to add another constraint, or OK to continue.
You return to the Solver Parameters dialog box.
9. Click the Solve button.
The Solver Results dialog
box appears, letting you
know whether or not Solver
found a solution.
10. Select Keep Solver Solution
or Restore Original Values
and click OK. Fig. 11.13. The solution calculated by Solver.
4. Click the At each change in list arrow and select the column you want to
subtotal.
This command specifies what it is that you want to subtotal. For example, if
you have a list of customers, the products they bought, and the amounts of
the sales, and you want to subtotal the list by the type of product, you would
select the column that contains the products.
Fig. 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.
ANSWERS
1. True. 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.
2. D. The result cells you specify in the Scenario Summary dialog box are the
cells that are affected by the changing cells in the scenarios.
3. True. You can create either a one- or a two-input data table
4. B. Use Goal Seek when you know the desired result of a formula, but not the
input value the formula needs to arrive at the result.
5. True. Solver is an optional Excel Add-In feature.
6. D. All of these are common delimiters that Excel can use to split cell data.
7. True. You can group rows and columns manually by selecting them.
8. True. Always sort data before using the Subtotals command.
9. A. You can consolidate by position when the data in all the worksheets is
arranged in exactly the same order and location.
10. True. The cells you reference don’t need to be in the same position on each
sheet, or even have the same labels, to be consolidated using formulas.
Fig. 12.2. Click hyperlinked text to display the linked file or Web page.
2. Browse to and select the database file that contains the data you want to
import. Click the Open button.
The Select Table dialog box appears.
Here you need to select which
table you want to import from the
database.
Tip: If the Select Table dialog
box does not appear, there is
only one table in the database,
and it is automatically selected.
3. Select a table and click OK.
Fig. 12.4. Select how you want to import the data into
The Import Data dialog box appears. the workbook in the Import Data dialog box
Save password Check this option so that Excel automatically enters the
password when the data source is refreshed.
Enable background Check this option so that when you refresh the data source
refresh you can continue working in Microsoft Excel. Otherwise, you
must wait until Excel is completely finished refreshing the data
source to work with the program.
Refresh every Check this option to refresh the data source at specific intervals,
and then enter the number of minutes you want between
refreshes in the minutes box.
Refresh data on file Check this option so that the data source automatically refreshes
open when you open the workbook. The Save query definition check
box must be selected to refresh the data.
Remove external Check this option so that Excel deletes the data source
data from information when you save the worksheet.
worksheet before
saving
Include field names Check this option so that Excel automatically inserts the data
source’s field names as column labels for the data source.
Preserve column Check this option to preserve any sort order, filtering or column
sort/filter/layout order changes you make in a data source when it is refreshed.
Include row Check this option to allow the data source to use its own row
numbers numbering.
Preserve cell Check this option to retain cell formatting that you apply in
formatting Microsoft Excel when you refresh the data source.
Adjust column width Check this option so that Excel automatically adjusts its column
width to display the imported data source information.
Fill down formulas Check this option if you want Excel to copy formulas in a data
in columns adjacent source to new columns when it is refreshed.
to data
ANSWERS
1. 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.
2. B. To import data into Excel, use the buttons in the Get External Data group on the Data
tab on the Ribbon.
3. True. When you click a yellow table selection arrow on a Web page, it turns into a green
checkmarked box.
4. A. Hyperlink is not a button in the Connections group.
RECORDING A MACRO
10. Click the Save as type list arrow and select ExcelMacro-Enabled Workbook
(.xlsm) from the list.Click Save.
The workbook is saved, and the macros will be available next time the
workbook is opened.
1. Open the workbooks containing the macros you wantto work with.
This includes both the workbook with the macro to be copied from and the
workbook with the macro tobe pasted into.
2. Click the View tab on the Ribbon and click the Macros button in the Macros
group. Select the macrothat contains the code you want to copy and click the
Edit button.
Advance Spreadsheet Tools 281
The Visual Basic Editor window opens. In the Projectpane on the left side of
the window you’ll see the macros associated with all the workbooks that are
open.
3. In the Project pane on the left
side of the window, click the
expand button to expand the
source workbook’s project
until you see the Modules
folder. Expand this folder and
double-click the module that
contains the code you want to
copy.
The code for the selected
module, or macro, appears in
the window to the right.
Fig. 13.11. The Macro dialog box.
Tip: A module is just like
a folder where Excelputs the code each time you record a macro.
4. Scroll through the code until you see the code you want to copy, then select
the code and click the Copybutton on the Standard toolbar.
The code is copied.
Now open the macro in
which you want to paste the
copied code.
5. In the Project pane along the
left side of the window,open
the module in which you
want to paste the copied
code.
The code for the selected
module, or macro, is
displayed in the window.
Tip: If the macros
you want to copy and
paste between are in Fig. 13.12. An example of copying code from one macro into another.
The macros for the open workbook are displayed on the
the same workbook, same screen. A line separates the macros.
If condition Then
statement if true
Else
statement if false
End If
ANSWERS
1. C. The Universal Macro Workbook is not a place where you can store a macro.
2. A. Click the Run button in the Macro dialog box to play a macro.
3. True. You can select a symbol of your choice to represent the macro on the Quick Access
Toolbar.
4. B. Excel macros are written in the Visual Basic programming language.
5. C. You can change your macro security settings in the Trust Center window.
6. B. Dim HireDate as Date would declare the variable ‘HireDate’ as a date.
7. D. The statement InputBox(
Fig. 14.3. The Home tab of the Ribbon, customized with a new group.
Proofing Change how Excel corrects and formats your text. Change the types of
errors that Excel flags when lookingfor spelling and grammar errors.
Save Customize how workbooks are saved, such as how often AutoRecover
saves a workbook, and change defaultfile locations.
Language Add additional languages to edit your documents. Also set the language
priority order for added languages.
Advanced Advanced options for working with Excel. Change how Excel works
when you edit text; modify how cut, copy, and paste commands
operate; customize tools in the window, such as how it displays screen
tips and scroll bars; adjust how Slide Show view looks and operates;
control how the workbook is printed; choose advanced save options;
and control various Web options.
Add-Ins View and manage Microsoft Office add-ins, such Acrobat PDFMaker
and custom XML data.
Trust Center Help keep your workbooks safe and your computer secure and healthy.
Read privacy statements and change Trust Center Settings to control
how Excel works with macros, add-ins, the message bar, trusted
publishers and locations, and more.
4. Type the first entry you want to include in the AutoFill list and press <Enter>.
Repeat for eachentry of the list.
296 Advance Spreadsheet Tools
Other Ways to Enter Custom List Entries: Select the cell range that contains
the informationyou want to include in your custom AutoFill list.Then open the
Custom Lists dialog box. Click Import.
5. Click Add.
The custom list is added to the dialog box.
6. Click OK, OK.
Use a custom AutoFill list
Using a custom AutoFill list is just like completing anyother series with AutoFill.
1. Click the cell where you want to begin the custom fillseries.
2. Type an item from the series.
3. Click and drag the cell’s fill handle to complete the series in the cells you
select.
4. Make changes to the number format in the Type box using the format codes
shown in the table below, Format Codes for Numbers and Dates.
Table 14.2: Format Codes for Numbers and Dates
ANSWERS
1. False. You can add custom groups to default tabs or to custom tabs.
2. A. The purpose of the Quick Access Toolbar is to provide quick access to the commands
you use most frequently.
3. D. AutoCorrect changes spelling errors, grammar errors, and capitalization errors.
4. False. AutoCorrect entries created in Excel will appear in all other Microsoft Office
programs.
5. B. There is no Display tab in the Excel Options dialog box.
6. A. Since you can create your own AutoFill lists, you could use any of this information in
an AutoFill list.
7. D. To create a custom number format, click the Home tab on the Ribbon and click the
Dialog Box Launcher in the Number group. Select the Custom category and type the
number format in the Type box.