Excel Tutorial 1: Getting Started with Excel

Post on 22-Mar-2016

81 views 2 download

Tags:

description

Excel Tutorial 1: Getting Started with Excel. Objectives. Understand the use of spreadsheets and Excel Learn the parts of the Excel window Scroll through a worksheet and navigate between worksheets Create and save a workbook file Enter text, numbers, and dates into a worksheet - PowerPoint PPT Presentation

Transcript of Excel Tutorial 1: Getting Started with Excel

®Microsoft Office 2010

Excel Tutorial 1: Getting Started with Excel

XPXPXPObjectives• Understand the use of spreadsheets and Excel• Learn the parts of the Excel window• Scroll through a worksheet and navigate

between worksheets• Create and save a workbook file• Enter text, numbers, and dates into a

worksheet• Resize, insert, and remove columns and rows

New Perspectives on Microsoft Office 2010 22

XPXPXPObjectives• Select and move cell ranges• Insert formulas and functions• Insert, delete, move, and rename worksheets• Work with editing tools• Preview and print a workbook

New Perspectives on Microsoft Office 2010 33

XPXPXP

New Perspectives on Microsoft Office 2010 4

Visual Overview

XPXPXP

New Perspectives on Microsoft Office 2010 5

The Excel Window

XPXPXPIntroducing Microsoft Excel 2010• Computer program used to enter, store, analyze,

and present quantitative data• Creates electronic versions of spreadsheets– Collection of text and numbers laid out in a grid

• Displays values calculated from data• Allows what-if analysis– Ability to change values in a spreadsheet and

assess the effect they have on calculated values

New Perspectives on Microsoft Office 2010 6

XPXPXPSpreadsheet Data in Excel

New Perspectives on Microsoft Office 2010 7

XPXPXPWorksheet Navigation• A workbook can have two kinds of sheets:–Worksheet contains a grid of rows and

columns into which user enters data–Chart sheet provides visual representation

of data• Cell reference identifies column/row location

New Perspectives on Microsoft Office 2010 8

XPXPXPWorksheet Navigation• To navigate between worksheets–Use sheet tabs

• To navigate within a worksheet–Use mouse, keyboard, GoTo dialog box, or

type cell reference in Name box

New Perspectives on Microsoft Office 2010 9

XPXPXPWorksheet Navigation Keys

New Perspectives on Microsoft Office 2010 10

XPXPXPPlanning a Workbook• Use a planning analysis sheet to define:–Goal or purpose of workbook– Type of data to collect– Formulas needed to apply to data you

collected and entered–Appearance of workbook content

New Perspectives on Microsoft Office 2010 11

XPXPXPEntering Text, Numbers, and Dates• Text data– Combination of letters, numbers, and symbols– Often referred to as a text string

• Number data– Numerical value to be used in a mathematical

calculation• Date and time data– Commonly recognized formats for date and time

values

New Perspectives on Microsoft Office 2010 12

XPXPXPEntering Text• New data appears in both the active cell and

the formula bar• Truncation• AutoComplete feature• To enter multiple lines of text within a cell–Create a line break with Alt + Enter

New Perspectives on Microsoft Office 2010 13

XPXPXPEntering Text

New Perspectives on Microsoft Office 2010 14

XPXPXPEntering Numbers

New Perspectives on Microsoft Office 2010 15

XPXPXPWorking with Columns and Rows• To make data easier to read:–Modify size of columns and rows in a

worksheet• To modify size of columns or rows:–Drag border to resize–Double-click border to autofit– Format the Cells group to specify

New Perspectives on Microsoft Office 2010 16

XPXPXPWorking with Columns and Rows• Column width– Expressed in terms of number of characters

or pixels (8.43 characters equals 64 pixels)–Note: Pixel size is based on screen

resolution• Row height–Measured in points (1/72 of an inch) or

pixels–Default row height: 15 points or 20 pixels

New Perspectives on Microsoft Office 2010 17

XPXPXPWorking with Columns and Rows

New Perspectives on Microsoft Office 2010 18

XPXPXPWorking with Columns and Rows• Inserting a column or row– Existing columns or rows shift to

accommodate

New Perspectives on Microsoft Office 2010 19

XPXPXPWorking with Columns and Rows• Deleting and clearing a row or column–Deleting removes both the data and the

cells–Clearing removes the data, leaving blank

cells where data had been

New Perspectives on Microsoft Office 2010 20

XPXPXP

New Perspectives on Microsoft Office 2010 21

Visual Overview

XPXPXP

New Perspectives on Microsoft Office 2010 22

Worksheet Data

XPXPXPWorking with Cells and Ranges• Range reference indicates location and size of

a cell range–Adjacent (A1:G5)–Nonadjacent (A1:A5;F1:G5)

• Selecting a range–Work with all cells in the range as a group

• Moving and copying a range–Drag and drop–Cut and paste

New Perspectives on Microsoft Office 2010 23

XPXPXPWorking with Cells and Ranges• Inserting and deleting a range– Existing cells shift to accommodate the

change

New Perspectives on Microsoft Office 2010 24

XPXPXPWorking with Formulas• Formula– An expression that returns a value– Written using operators that combine different

values, resulting in a single displayed value

New Perspectives on Microsoft Office 2010 25

XPXPXPWorking with Formulas• Entering a formula–Click cell where you want formula results to

appear– Type = and an expression that calculates a

value using cell references and arithmetic operators• Cell references allow you to change

values used in the calculation without having to modify the formula itself

–Press Enter or Tab to complete the formulaNew Perspectives on Microsoft Office 2010 26

XPXPXPWorking with Formulas• Order of precedence– Set of predefined rules used to determine

sequence in which operators are applied in a calculation

New Perspectives on Microsoft Office 2010 27

XPXPXPWorking with Formulas• Viewing a formula– Select cell and review expression displayed in the

formula bar– Each cell reference is color coded in the formula

and corresponding cell in the worksheet

New Perspectives on Microsoft Office 2010 28

XPXPXPWorking with Formulas• Copying and pasting formulas–Cell references adjust to reflect new

location of the formula in the worksheet

New Perspectives on Microsoft Office 2010 29

XPXPXPWorking with Formulas• Guidelines for writing effective formulas:–Keep them simple–Do not hide data values within formulas–Break up formulas to show intermediate

results

New Perspectives on Microsoft Office 2010 30

XPXPXPIntroducing Functions• Function– Named operation that returns a value– Simplifies a formula, reducing a long formula into

a compact statement; for example, to add values in the range A1:A10:• Enter the long formula:

=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10 - or -• Use the SUM function to accomplish the same

thing:=SUM(A1:A10)

New Perspectives on Microsoft Office 2010 31

XPXPXPEntering a Function

New Perspectives on Microsoft Office 2010 32

XPXPXPEntering Functions with AutoSum• Fast, convenient way to enter commonly used

functions• Includes buttons to quickly insert/generate:– Sum of values in column or row (SUM)– Average value in column or row (AVERAGE)– Total count of numeric values in column or row

(COUNT)– Minimum value in column or row (MIN)– Maximum value in column or row (MAX)

New Perspectives on Microsoft Office 2010 33

XPXPXPEntering Functions with AutoSum

New Perspectives on Microsoft Office 2010 34

XPXPXPWorking with Worksheets• Inserting a worksheet–Name of new worksheet is based on

number and names of other sheets in the workbook

• Deleting a worksheet• Renaming a worksheet–31 characters maximum, including blank

spaces–Width of sheet tab adjusts to length of

nameNew Perspectives on Microsoft Office 2010 35

XPXPXPWorking with Worksheets• Moving and copying a worksheet– To move:• Click and drag

– To copy:• Ctrl + drag and drop

–Place most important worksheets at beginning of workbook (leftmost sheet tabs), less important worksheets toward end (rightmost tabs)

New Perspectives on Microsoft Office 2010 36

XPXPXPEditing Worksheet Content• Use Edit mode to edit cell contents– Keyboard shortcuts apply only to text within

selected cell

• Undoing and redoing an action– Excel maintains a list of actions performed in a

workbook during current sessionNew Perspectives on Microsoft Office 2010 37

XPXPXPEditing Worksheet Content• Using find and replace

New Perspectives on Microsoft Office 2010 38

XPXPXPEditing Worksheet Content• Using the spelling checker

New Perspectives on Microsoft Office 2010 39

XPXPXPPreviewing a Workbook

• Changing worksheet views–Normal view–Page Layout view–Page Break Preview

New Perspectives on Microsoft Office 2010 40

XPXPXPPage Layout View

New Perspectives on Microsoft Office 2010 41

XPXPXPPage Break Preview

New Perspectives on Microsoft Office 2010 42

XPXPXPPreviewing a Workbook• Working with page orientation–Portrait orientation (default)• Page is taller than wide

– Landscape orientation• Page is wider than tall

New Perspectives on Microsoft Office 2010 43

XPXPXPPrinting a Workbook• Print tab provides options for choosing what

to print and how to print–Printout includes only the data in the

worksheet–Other elements (e.g., row/column headings,

gridlines) will not print by default• Good practice: Review print preview before

printing to ensure that printout looks exactly as you intended and avoid unnecessary reprinting

New Perspectives on Microsoft Office 2010 44

XPXPXPPrinting a Workbook

New Perspectives on Microsoft Office 2010 45

XPXPXPViewing and Printing Worksheet Formulas• Switch to formula view– Useful when you encounter unexpected results

and want to examine underlying formulas or to discuss your formulas with a colleague

New Perspectives on Microsoft Office 2010 46

XPXPXPViewing and Printing Worksheet Formulas• Scaling the printout of a worksheet forces

contents to fit on a single page

New Perspectives on Microsoft Office 2010 47

®Microsoft Office 2010

Excel Tutorial 2: Formatting a Workbook

XPXPXP

New Perspectives on Microsoft Office 2010 49

Objectives• Format text, numbers, and dates• Change fonts and font colors• Add fill colors and background images• Create formulas to add, subtract, and divide

values• Apply number formats• Align, indent, and rotate cell contents

49

XPXPXP

New Perspectives on Microsoft Office 2010 50

Objectives• Merge a range into a single cell• Copy and paste formats• Apply built-in cell styles• Change the theme of a workbook• Create formulas to add and subtract values• Apply a built-in table style and select table

style options

XPXPXP

New Perspectives on Microsoft Office 2010 51

Objectives• Highlight cells with conditional formats• Hide worksheet rows• Define the print area, insert page breaks, and

add print titles• Create headers and footers• Select page margins

51

XPXPXP

New Perspectives on Microsoft Office 2010 52

Visual Overview

XPXPXP

New Perspectives on Microsoft Office 2010 53

Worksheet Formatting

XPXPXP

New Perspectives on Microsoft Office 2010 54

Formatting Cell Text• Formatting– Process of changing workbook’s appearance by

defining fonts, styles, colors, and graphical effects• Only the appearance of data changes, not data

itself– Enhances readability and appeal– Live Preview shows the effects of formatting

options before you apply them• Themes– Named collections of formatting effects

XPXPXP

New Perspectives on Microsoft Office 2010 55

Applying Fonts and Font Styles• Theme fonts and non-theme fonts• Character styles (serif fonts and

sans serif fonts)• Font styles, special effects, font size

XPXPXP

New Perspectives on Microsoft Office 2010 56

Applying a Font Color• Themes have 12 colors: 4 for text and

backgrounds, 6 for accents and highlights, and 2 for hyperlinks

• Standard colors (always available)• Custom colors• Automatic colors

XPXPXP

New Perspectives on Microsoft Office 2010 57

Working with Colors and Backgrounds

• Changing a fill color

XPXPXP

New Perspectives on Microsoft Office 2010 58

Working with Colors and Backgrounds

• Background images do not print

XPXPXP

New Perspectives on Microsoft Office 2010 59

Formatting Calculated Values• Goal: Make workbook easier to interpret–Add a comma as a thousands separator–Control number of decimal places–Use percentage and currency symbols

XPXPXP

New Perspectives on Microsoft Office 2010 60

Formatting Calculated Values• Create formulas to add, subtract, and divide

values

XPXPXP

New Perspectives on Microsoft Office 2010 61

Formatting Calculated Values • Applying number formats– Use General number format for simple

calculations– Apply Excel’s additional formatting to make

numbers easier to interpret• Accounting style–Lines up currency values within a column by

currency symbol and decimal point –Encloses negative numbers within

parentheses

XPXPXP

New Perspectives on Microsoft Office 2010 62

Applying Number Formats

XPXPXP

New Perspectives on Microsoft Office 2010 63

Applying Number Formats

XPXPXP

New Perspectives on Microsoft Office 2010 64

Formatting Calculated Values• Formatting dates and times– Dates/times are stored as numbers, not as text• Applying different formats does not affect

values• Makes it easier to calculate time intervals

– Short Date format or Long Date format– 12- or 24-hour time

XPXPXP

New Perspectives on Microsoft Office 2010 65

Formatting Worksheet Cells• Format appearance of individual cells by:–Modifying alignment of text within the cell– Indenting cell text–Adding borders of different styles and colors

to individual cells or ranges

XPXPXP

New Perspectives on Microsoft Office 2010 66

Formatting Worksheet Cells• Aligning cell content– Default:• Cell text aligned

with left bottom borders• Cell values aligned

with right bottom borders

– Buttons to set alignment options are in Alignment group on Home tab

XPXPXP

New Perspectives on Microsoft Office 2010 67

Formatting Worksheet Cells• Indenting cell content–Useful for entries considered subsections of

a worksheet

XPXPXP

New Perspectives on Microsoft Office 2010 68

Formatting Worksheet Cells• Merging cells–Retains only content (and cell reference)

from upper-left cell in the range–Merge options: Merge & Center, Merge

Across, Merge Cell, and Unmerge Cells

XPXPXP

New Perspectives on Microsoft Office 2010 69

Formatting Worksheet Cells• Rotating cell contents saves space and

provides visual interest

XPXPXP

New Perspectives on Microsoft Office 2010 70

Formatting Worksheet Cells• Adding cell borders enhances readability of

rows and columns or data–Add borders to left, top, right, or bottom of

cell or range; around an entire cell; or around outside edges of a range– Specify thickness

and number of lines in border

XPXPXP

New Perspectives on Microsoft Office 2010 71

Options in the Format Cells Dialog Box

• Presents formats available from Home tab in a different way and provides more choices

• Six tabs, each focusing on different options:–Number–Alignment– Font–Border– Fill–Protection

XPXPXP

New Perspectives on Microsoft Office 2010 72

Options in the Format Cells Dialog Box

• Border tab

XPXPXP

New Perspectives on Microsoft Office 2010 73

Copying and Pasting Formats• Copying formats with Format Painter– Fast and efficient way of maintaining a

consistent look and feel throughout a workbook–Copies formatting without duplicating data

XPXPXP

New Perspectives on Microsoft Office 2010 74

Copying and Pasting Formats• Use Paste Options Button to paste formatting

from a copied range along with its contents

XPXPXP

New Perspectives on Microsoft Office 2010 75

Copying and Pasting Formats• Use Paste Special to control exactly how to

paste the copied range

XPXPXP

New Perspectives on Microsoft Office 2010 76

Visual Overview

XPXPXP

New Perspectives on Microsoft Office 2010 77

Table Styles and Page Formatting

XPXPXP

New Perspectives on Microsoft Office 2010 78

Applying Cell Styles• Use styles to ensure that cells displaying same

type of data use the same format• Style– Selection of formatting options using a

specific font and color from the current theme– If style is later revised, appearance of any

cell formatted with that style is updated automatically; saves time and effort

XPXPXP

New Perspectives on Microsoft Office 2010 79

Applying Cell Styles

XPXPXP

New Perspectives on Microsoft Office 2010 80

Working with Themes• Appearance of fonts, colors, and cell styles

depends on workbook’s current theme• If theme is changed, formatting of fonts,

colors, and cell styles changes throughout entire workbook

• Only elements directly tied to a theme change when you select a different theme

XPXPXP

New Perspectives on Microsoft Office 2010 81

Working with Themes

XPXPXP

New Perspectives on Microsoft Office 2010 82

Creating Formulas to Add and Subtract Values

• Use this data to identify trends

XPXPXP

New Perspectives on Microsoft Office 2010 83

Working with Table Styles• Specifies formats (e.g., font color, fill color) for

each element• More efficient than formatting individual cells• Ensures that table’s formatting reflects any

changes made to the table

XPXPXP

New Perspectives on Microsoft Office 2010 84

Working with Table Styles• Table style elements can be turned on or off–Header Row–Total Row– First Column– Last Column–Banded Rows–Banded Columns

XPXPXP

New Perspectives on Microsoft Office 2010 85

Selecting Table Style Options

XPXPXP

New Perspectives on Microsoft Office 2010 86

Highlighting Cells with Conditional Formats

• Goal of highlighting: Provide strong visual clue of important data or results

• Format applied to a cell depends upon value or content of the cell

• Dynamic: If cell’s value changes, cell’s format also changes as needed

• Excel has four conditional formats: data bars, highlighting, color scales, and icon sets

XPXPXP

New Perspectives on Microsoft Office 2010 87

Highlighting Rules• Each conditional format has a set of rules that

define how formatting should be applied and under what conditions format will be changed

XPXPXP

New Perspectives on Microsoft Office 2010 88

Highlighting Cells with Conditional Formats

XPXPXP

New Perspectives on Microsoft Office 2010 89

Highlighting Cells with Conditional Formats

• Always include a legend – a key that shows each color used in the worksheet and what it means

XPXPXP

New Perspectives on Microsoft Office 2010 90

Hiding Worksheet Data• Manage contents of a large worksheet by

selectively hiding rows and columns of extraneous data

• Allows you to focus attention on only a select few data points

• Does not affect other formulas in workbook• Never hide data that is crucial to

understanding a workbook

XPXPXP

New Perspectives on Microsoft Office 2010 91

Formatting the Worksheet for Printing

• Print options can be applied to an entire workbook or to individual sheets

• Look at a worksheet in Page Layout view to see how it would print

XPXPXP

New Perspectives on Microsoft Office 2010 92

Formatting the Worksheet for Printing• Defining the print area allows you to override

default settings and print part of a worksheet–Region sent to the printer from the active

sheet–Can cover adjacent or nonadjacent range in

current worksheet–Generally easiest to set in Page Break

Preview• Fit a large worksheet on a single page by

reducing size of the page margin

XPXPXP

New Perspectives on Microsoft Office 2010 93

Formatting the Worksheet for Printing

• Inserting page breaks– Automatic page breaks– Manual page breaks

XPXPXP

New Perspectives on Microsoft Office 2010 94

Formatting the Worksheet for Printing

• Add print titles (descriptive information) on each page of a printout in case pages become separated

XPXPXP

New Perspectives on Microsoft Office 2010 95

Formatting the Worksheet for Printing

• Create page headers and footers to include text not usually found within the worksheet (e.g., author, date, filename)

• Headers and footers have three sections: left, center, right

• Elements are dynamic