intro to excel - session 7.11 tutorial 7 - session 7.1 developing an excel application

16
Intro to Excel - Session 7.1 1 Tutorial 7 - Session 7.1 Developing an Excel Application

Upload: molly-shelton

Post on 25-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 1

Tutorial 7 - Session 7.1

Developing an Excel Application

Page 2: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 2

Session 7.1 Objectives

• Discuss worksheet Sections• Use the Excel data validation feature• Assign names to cells• Use cell names in formulas• Use the IF function when building formulas

Page 3: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 3

Figure 7-1, page 7.03

Page 4: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 4

Figure 7-2, page 7.03

Page 5: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 5

Dividing a Worksheet in Sections

• Sections:– Input or Initial conditions and assumptions– Calculations and output

• Benefits to the users:– Knows where to enter data– Knows what factors affect the results– Doesn’t have to change formulas to reflect

new assumptions

Page 6: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 6

Validating Data Entry

• Excel data validation features allows you to specify:– The type of data allowed in a cell– A range of acceptable values– An input message to display– An error alert message to display

(continued)

Page 7: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 7

Validating Data Entry (continued)

• Select the cell• Select

Data Validation…

• Specify validationcriteria:– data type– acceptable values

(continued)

Page 8: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 8

Validating Data Entry (continued)

• Specify an inputmessage:– Shown when the

cell is selected– Enter a window title– Enter an input

message

(continued)

Page 9: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 9

Validating Data Entry (continued)

• Specify an erroralert message:– Shown when invalid

data is entered– Select error style– Enter a window title– Enter an input

message

Page 10: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 10

Error Message Alert Styles

Page 11: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 11

Using Range Name

• A descriptive name you assign to a cell or range of cells

• Advantages:– Easier formula entry– Improved documentation– Easier navigation with Go To command– Specification of a print range

Page 12: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 12

Defining a Cell or Range Name

• Select a cell or range• Select Insert Name Define

Page 13: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 13

Defining a Cell or Range Name

• Select a cell or range

• Double click in the Name box

Page 14: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 14

Using Range Names in Formulas

• C4 can contain:= C2 - C3

or= Sales - Expenses

Page 15: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 15

Using the IF Function

• Evaluate a specified condition, performing actions based on TRUE or FALSE

• Format:

IF(logical_test, value_if_true, value_if_false)

for example:

=IF(hours > 40, rate * 40 + rate * 1.5 * (hours - 40), rate * hours)

Page 16: Intro to Excel - Session 7.11 Tutorial 7 - Session 7.1 Developing an Excel Application

Intro to Excel - Session 7.1 16

Comparison Operators

• Less than <• Greater than >• Less than or equal to <=

• Greater than or equal to >=• Equal to =• Not equal to <>