0% found this document useful (0 votes)
189 views

Excel Book

Basic Excel

Uploaded by

karthikr_kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views

Excel Book

Basic Excel

Uploaded by

karthikr_kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Excel Basics for

Data Modeling

2010 - 2011

Prepa red by:

Frank Krzystofiak
With the assista nee of

Alina Cofas

Independent Publi shing


www.krzystofiak.com
Page: 1

Publication data: Excel Basics for Data Modeling/ Frank Krzystofiak

Copyright2009 by Frank J. Krzystofiak, Buffalo, NY, 14072


ALL RIGHTS RESERVED. This publication is protected by Copyright and permission must be
obtained from the author/publisher prior to any reproduction, storage in a retrieval system, or
transmission by any form or by any means, including electronic, mechanical, photocopying,
recording, internet distribution or likewise. For information regarding permission, email to
[email protected].
Page: 2

Contents
Part 1: Referencing ... ... ......... ....... .. .... ..... ..... ... .... ........ .. ... ......... ... ......... ... .. ... ...... .......... .. .......... .. ... ........ ... ... ... .... ... .. 11

1.1 : Cell and Range References ... .. ..... ... ............ ........ ... .. ... .... ... .. ..... .... ...... .......... ......... ... ... ....... .... ... ...... ........ .... . 11

1.1.1: Cell and Range References: Worksheets & Workbooks .. .. ... ...... .. ....... .... .. ...... ...... ..... ....... ... ... ....... ... ... . 13

1.1.2: Relative Absolute & Mixed References ... .... ... .. ... ..... .............. .. .......... ... .... .... .... .. .................... ...... .. ...... 14

1.1.3: Mixed references ... ..... .. .... .... .. .... ... ............ " " '" ... .. , .... ..... .. ..... ... ... ...... ... '"' '' ''''' .. .... .......... ... ... ....... ...... .. 15

1.2 : Arithmetic operators ... ........ .... .. .. ... .. .... ........ .. .. .. .. .... .. ..... .... .. .... .... .... ..... .. ....... ..... .. .. ... ...... ........ .. , ..... .. .. ..... .. 16

1.3: Comparison Operators ........ ........ .... ....... .. ... ....... ... ....... ... ..... .. .......... .. .. .. ....... ...... .... .... .... ..... ..... ... .. .... ... ...... . 16

1.4 : Text : Concatenation Operator... ....... .... ........... .......... .. ... ........... ...... ....... .... .... ...... .. .. ...... .... ... .. .... ..... .... ...... .. 17

1.5: Reference operators ...... .. .. .. ....... .... ....... ... ........ .. ....... ...... ... ... .... .... ... ..... .. ...... .. .... .. .. ... ................. ...... ...... ..... 17

1.5.1: Reference operators: Colon ..... ....... .... ............ ... ..... ..... ...... .... ........ ... ................ .. ... .... ... .. ... .... .... ... ....... . 17

1.5 .2: Reference operators : Comma ....... ....... ... ... ..... ... ... .. ..... ........ ... .. ...... .... ... .. .......... .... .... .. .. ......... ... ... ... ..... 18

1.5.3: Reference operators: " " (space) .. ...... .... ...... .... ... ......... .. ............. ...... .... .... ..... .. ..... .. ... ....... .. ....... ... .... .... 18

1.6: Operator precedence .... .. ............. ... .... ....... ....... .. .. .. ..... ... .... .. .. ... .......... .. ..................... ......... ..... ..... .... ....... ... 19

1.7 : Negation v. Subtraction .... ......... .... ........... ..... ... ........ ... ... .. ... .... .......... ... .......... .... ... ...... ... ... .......... .... ........ ..... 20

1.8: Limitations .. .. .. .... ..... .. .. .. .... .. .... ....... .... .... ........ ........ ........ ....... ..... ..... ......... .... ...... ... ..... .. ...... ... ....... ..... ..... .... .. 21

1.9: Keyboard Shortcuts Excel 2007 .. .. ....... ..... ...... ....... .... .. ........ ...... .... ...... ...... ..... .. ..... ...... ... .... ................. ...... .. . 23

Part 2: Breakeven Analysis: ... ....... .... ..... .... ..... .... .. ......... ......... .. ......... .... ... .. ..... ............. ... .. ...... ....... ......... .. .... ... ...... . 25

Model .. ... .. .. ........... ...... ... .... .. ... ... .. .... ........ ... .... .. .. ... ........... .. ... ....... ..... ...... ....... .. .... .................... ....... ........ .... ... 25

Revenue : .. .......... .... ... .... ............ .... .. ..... .. ... ... .. .. ..... ... ... ... ........... ....... .... ..... ....... ........... .... ........ .... .. ........ .... ....... 26

Fixed Cost: .. ..... .. .. .... ..... ....... .... .......... .. ... ...... ... .. .. .... ..... .. .... ....... ... .. .. ..... ... ...... .... ... .... ........ .... ........ .... ........... ... 26

Variable Cost: .... ..... ....... ...... ... .... .. ...... ...... ...... .. .. ....... ... ..... .. ... .. .. .. .... ...... .. .. .. .......... .. ........... .. ........ ...... ....... ... ... 27

Income (Profit) :...... ..... ........ ... .... ....... ..... .... .... ..... .......... .... ... .... ......... ..... .......... ... ............. ..... ............... .... ....... 28

Basic Income Model .... ....... .... .. ....... .... .. ..... .. ...... ................ ... .. ...... ... .... ....... ...... ...... .. .... ..... ..... .... ........ .. ..... ... .. 29

Break Even Analysis: .... .. .. ............ ... ...... .. .. ... ........ ... .. .................... .. ... ... ..... ... ......... .......... ..... .... .... .... ... ... ......... 29

Relevant information :.. ... .. ..... ..... .. .. ........... ......... .. .. ..................... .. .. .. ... .. ..... .. .... .... ..... .. ..... ......... .. ..... .. ..... .. .. ... 33

Relevant Costs : ....... .... ... .. ... .... ..... .. .. .... ........ .... ...... .. ... ..... .... .... .... ........... .... .... ......... ... ... ... .... ... ... ..... ... ..... .. ..... . 33

Relevant Benefit: ... ... ..... ... ... ......... .. .. ........ ... .. .. ........ ....... ......... .. ... ... .. ..... ... ... ...... ...... ..... .......... ...... ... ... ...... .... .. 33

Sunk Costs ...... .. ....... ... ... ... .. .. ... ... .. ... .... ...... ...... ....... ........ ..... ...... ............ ..... .. ......... ... .. .. ............. ...... .. ,.. ............ 33

Opportunity Costs: ...... .. ...... ..... .... ...... .............. ........ .. .. ...... ........ ..... .......... ...... .............. .. ...... .. .... .... ...... .. .. ... ... 33

Decision process .... ... .. ...... .. .. ..... ...... .. .. ... ........... .. .. .. .......... ........ .......... ... .. .. .... .. ...... ... ... ... .. ..... .. .... .. .. ...... .. ...... . 33

Part 3: Influence Diagrams ... ................ .... ............ ... .. ... .. .... ......... ... .... ..... .... .......... ...... .. ... .... ... .. .... ... ... .. ... .. .. .. ... .... .. 34

Question 1: What do you know? ... .. .... .. ...... ...... ...... ........ .... ............. ... ......... .... ....... .... ... ... ...... ...... .... .. .. ..... .... ..... 34

Question 2: What do you control? .. ... ...... .. ..... ..... .. ........ ........ .. .. .. ....... .... ....... .. .. .. ... .. .... ... .. ...... .. .. .. ... .. .. ...... .. ...... 34

Decision Variables .. .... ..... ..... ......... .. ......... .. ... ... ....... .. .... .. ... ...... ..... ...... ...... .. ....... .. ... ... .. ....... ....... .. .. .. .. .. .. .... .. .. . 34

Question 3: What is your objective? ....... ........ .... .. ............... .... ... ...... ...... ... .. .......... ... ... .... ........ .... ..... ......... ..... .... 34

Outcomes ...... .... ............ ......... ..... ..... ........... ..... ....... .... ............. .. ... ..... ........ ..... .... .. .. ..... .. .. ......... .... ......... ..... ... . 34

Page: 3

Question 4: How are th e Decisions Linked to Outcomes ? ...... .... .. .. .. .... .... .......... .. ... ........ ... .... ......... ... ...... ... ..... .. 34

Principles for Build ing Influence Charts ... .. ... .... ........ .. .... .. .. ... .. ... ........... ...... ...... ........ .. ..... ...... .... ............. ......... ... 34

Influence diagrams ... .... .... .... ... .... .. ............... .... ... .. .. ....... ... .... ......... ........ ... ...... ........ ........ ....... .... .... .. ... ... ........... .. 35

Decision nodes .. ....... ..... ... ..... ... .. ... ..... ....... ........ ...... .... .. .. ......... .. ... .... ...... ....... ......... .... ... ..... ...... ..... ...... .. .... .. .. .. 35

Chance nodes .... ........ .. .. .. ..... ..... ........ ... ... .. ... ..... ...... ...... ....... ...... .. .. ... ............ .. ...... ....... ........ .. ....... ....... .... ... .. .. 35

Determinist ic nodes ... .............. ..... .. ................ ............ .. ... .... .... .... ..... ..... .. .. .... .. .. ..... ..... ... ... ........ .. ..... .. ..... .. .... . 35

Outcome nodes ...... ........... ...... ..... ........... .. .. .. ... .. .. ... ....... ... .. ........ ..... ....... ........ ....... ....... .... ....... ....... ......... .. ..... 35

Arcs (arrows} .... ...... ..... .. ..... .. .. .... ...... ........ .... .... .. ... ... .. ... .... ... .. ...... ...... ....... ....... ..... .. .. .... ... ..... .... ........ .... ......... .. 35

Rules for Constructing Influence Diagram s .. .... ...... ....... ...... ........ ...... ............... .. ... ......... .... ........ ...... ... ......... ... 36

Diagram 1: Decision, Outcome, & Parameters ........ ...... ...... .. ..... ....... ....... ........ ...... .. ..... .. .. ... ....... .... ...... ........ .. 37

Diagram 2: Decomposition of Total Cost.. .. ........ .... .. .. .... ..... ... ..... ....... ......... .. .... .... .. .. .. ...... ..... .. .. ........... .. ... .. ... 37

Diagram 3: Decomposition of Set-up Cost .. ........ .... ......... .... ........ .... .......... ...... ...... ...... ........ ... .. ....... .. .. .. ......... 38

Diagram 4 : Decomposition of Overtime Co st.. .... .. ... ........ .... .............. .. .. ... ....... ...... .. .. .. ...... ... .. .. ... .... ......... .... .. 38

Diagram 5: Decomposition of Lost Sales Cost .... ...... ......... .. .. ... .. ... .... ........ ........ .... ...... ......... .. .. ......... ...... .... .... 39

Diagram 6: Decomposition of Inventory Cost .... ........ .... .. ... .... .... ......... .... ...... .. .... ... .. .................. .. .. .. .......... .. .. 39

Diagram 7: One Month Model ...... .. .. .... ....... .... .......... .... ..... .... ....... ... .. .. .... ...... .... ... ....... ........ .. ...... .. .. ..... ......... 40

Diagram 8: Complete Model (Multi-month) .. .. ..... ..... ... ... ... .. .. .... ......... .... ... ..... .. .. .. .......... ..... .... ........... .... .. .. .. . 40

Spreadsheet 1a : Inventory Model ... ... ....... .. ... .......... ... ... .. .... ... ........ ............. .. ... .. ............ .. .... ... ..... .... .. .. .... .......... 41

Spreadsheet 1b: Inventory Model .. ..... ....... .. ..... ..... ........ ..... .. .. .... ...... ...... ........... .... .... ... .. ... .. .... ... ..... .... .. .... .. ...... . 42

Spreadsheet 2: Cost Model ... .... ... ... ..... ...... .. .... .. .. .. .... ... .. ... .... .... ......... ... .. ........ .. .. .... ... ... .. ............. .......... .. ......... . 43

Spreadsheet 3a: Completed Model ....... ... ..... .. ... ...... .......... .. ... ... .. ... ........... .. ........ .. .. .. .. .... ..... ...... .. .. .. ......... .. ... .... 44

Spreadsheet 3b : Formula .. ...... ... .. .......... ....... .... ... .. ....... .... ..... .. ..... .... .... ..... ... .. .. ... ... ... ...... .. ......... .. .. .. .... .... ..... .. ... 44

Part 4: Analyzing spreadsheet models .............. .. ... .... .. .. ... .. .... .. ... ... .. ............... ... ... ..... .... ............ .. ... ........ .. .. ... .. .... .. 45

Part 4.1: Data Tables .. ... .... .. .... ..... .... .. ....... .. ... .... ... ... ....... ... ........... .. ... .. .. .. .. .................. .. ... .. .. .... .... .... .. .. ........ .... .. 45

Creating ONE-WAY COLUMN-oriented data table ..... .. .. ......... ... .. ...... ... .. .... ....... .. .. .... .. .... .. .. ......... .. ......... .. .. ... 46

Creating ONE-WAY ROW-oriented data table ... ....... .. ........ ... .. ... ...... ... ......... .... ... .... ................. .... ..... ....... ..... .. 48

Create a TWO-WAY data table ... ... ........ ..... .. ..... ...... .. .. ............................... .. .. ... ....... ..... ........ .... ... ...... ..... ........ 49

Dynamic Data Tables .... .. .... ....... .. ... ........ ... .. .... .... ....... .... .. .... .... ... ...... ..... ... .... ... ... ..... .. .. ... ...... ........ .... ..... .... .... . 51

N-Dimensional Data Tables .. .. ..... .. .. ....... .... ..... .. ...... ..... ... ...... ... .. ..... .. .... ..... ... .. ......... .... ........ ...... ........ ... ........ 54

5 - Dimensional Data Tables ... ........ ......... .... .......... ........ ........ .. .... ... ...... ....... .... ..... ... ... ... ... .... .... ...... .... ........ ..... 55

Ace Hardware : 1 Dimension Data Tables .. .. .... .. .................... ... ... .. ... ..... .... ..... .. .. ....... .... .. .. .. ....... .... .. .. ..... ....... . 56

Ace Hardware : 2 Dimensional Data Tables ........... ... ......... ... .......... ... ..... ..... ........ ..... ........ ..... ..... .. .. .... ......... .... 57

Ace Hardware : 4D Data Tables ..... .. ... .... .. ... ..... ....... ........... ................. .. ......... ...... .... ... ..... ....... ..... .. ... .......... ... .. 58

Part 4.2 : Scenarios & Scenario Manager .... ........ ... .... ....... .... ... .. .. ..... .... ....... .... .. .. ... ........ .. .... ...... .... ........ ....... ...... 59

Creating scenarios: Multi-variable scenario ... .. .. .. .. ....... .. ......... ........... ... .. .. .. .... .......... ....... ....... .... .... .. .. .... ....... 59

Creating a multi-variable scenario .... ....... ...... .. ..... ..... ......... ....... ....... .. ...... .... .... .. .. ... .. .. ... .. .. ............ ..... ...... ...... 60

View a Scenario .. ..... .... .. ......... ....... ... ......... ...... ..... ........ ...... ....... ........ ..... ........ .... .... .. ...... .... .. ... .. ........... .... ....... 61

Creating a single-variable scenario ........ .. ........ ... ... ....... .. ..... ...... ..... ...... ... .... .... .. .. .. .. .......... ...... ....... .... ......... .... 63

Page: 4

Pivot Table Report .... ....... ........ ................ ... ................. ..... .. ..... .... ......... ..... .. .... ..... .... ........... ....... ........ ............. 67

Using Scenarios ......... .. .......... ... ......... ....... ......... .. ....... ...... ....... ... ... ... ....... ... ..... ............ .. ..... ......... ......... ......... ... 68

Combining Data Tables & Scenarios ...... ............... ............. ... ........ ..... ..... ....... .. ..... .. ....... ........... .... .. ...... ..... .. .... 70

Part 4.3: What If Analysis ...... .... .... ... .... .... ...... ... .... ..... ....... ........... .... ......... ..... ......... ... ............ .. .............. ..... ..... .. . 72

1.

Construct a Base Case ... .............. .. .... ..... ...... .............. .. .. ... ................ ...... ..... ..... ........ .. ....... .. ... .... ........... 72

2.

What-if Analysis ... .......... .. ... ... .... .................. ... .... .. ....... .. ......... ...... ......... .. ..... .. .. .. ..... .... .. ................. .. .... .. . 72

3.

Data Sensitivity Tools ... ........ ........ .. .. ...... .... ......... ........ ... .. .......... .. .................. .. ................... .. ... .. .............. 73

4.

Portraying sensitivities ..... ....... ......................... .. ... .......... .. ...... .. ... .... .......... ............. ........ ..... .. ........ .. .... ... 73

5.

Scenario Analysis .... .. .... ... ... .. ...... .......... .... .......... .. .......... .. .... .... .... ... ... .. ....... .. .. ... .......... ..... .. ...... .. ............ 73

Multi Variable Sensitivity ........ ... .. .. ........................... .. ........................... ...... ............. ... .. .. .. ... ... ............ .... ... .... . 77

4.4 Tornado Chart ........... ...... .. .. ... ..... ........... .......... .. ..... ........ ... ... .... ........ .. .......... ... .. ... .. ... ..... ......... ... ........... .... .... 79

Case 1: Worst Case Negative & Best Case Positive .... .... .......................... ...... .. ............. ..... .. .... .. ............... .. .... 79

Case 2: Worst Case & Best Case all Positive (or all Negative) ... ... ....... .. .... ...... .. ... .... ........ .. ... ............ ... ........ .. . 81

Case 3: Worst Case & Best Case mixed Positive and Negative .... .......... .. .. .... ... .... .. ............. .. ... .. ............ .. ...... 83

Decision Variable Sensitivity ....... .. ......... ..... .. .. ................. .. .. ..... .. .. .... .. .......... .... .. ..... ... ...... .... ... .... .. ......... .. ....... 85

Decision Variable Sensitivity .... .. ........... .. ......... ..... .. ...... .. .. ....... .......... ..... ...... .... .... ........... .. ...... .. .... ... .... .... .. ... .. 87

Scenario Analysis ..... ........ .. ... ... .. .. ..................... .. .. .... .. ........ .. ... .. .... ...................... ... .... .. .................... .. .. ... ...... .. 88

Summarizing Scenarios ............... ...... .. ..... .. .. ... .. .. .... ... ... .. ..... .. .... ... .. .. .... .. .. ... ... ............ .. ..... .. ... ... .. ................. ... 89

Part 5: Conditional Models ... .. .. ......... .. ... ... .... .. .. .. .. ... .. .. ...... ..... .. .... .. ...... .. .... .. .. ....... ..... ... .... .. ... ............ .. ........ ..... ..... 90

5.1: Conditional Formatting .............. ... ............................. .. ...................... ... .. ...................... .. ..... ..... .... ............ ... 90

5.1.1: Cell Value ............. ..... ... ... .. ... ......... ..... .... .... ... ... .. ..... .. ........ ... ...... .......... ....... ..... ..... ......... .............. .... ... ... ... . 90

5.1.2: Manage Rules ... ... .. ... ......... .... ....... .. .. ............. .. ..... ....... ... ....... .. .... ..... ..... .... .. .......... .. ........ ... ......... .. .. ... ...... . 92

= Formula: Absolute Reference .... ..... .. ...... .. .. ... .. ....... .... ........... .... .... .. .... ....................... ...... ..... 93

5.1.4 : Cell Value = Formula : Relative references ............. .. .. ........ .... ..... .. .. ... .. .. .. .... .. .............. .... .. .. .. ...... .. .. ..... .... . 94

5.1.3: Cell value

5.1.5: Data Bars ......... .. .......... ....... ................... ....... ................... ..... ... ............................. ...................... .. ............. 96

5.1.6: Color Scales .. ..... ... .... ......... ......... ..... .. .. .... .. .. ... ......... ... .. ..... ...... ........ .... .... ... .... ... .. .. ...... ... ... .... .. .... ............ ... 97

5.1.7: Icon Sets ................. .. .. .. ........... .. ................................... .... ...... ..... ... ................ .. ... .. .. ............ .. ........ ... ........ . 99

5.1.8 : Top/Bottom Rules ....... .. ........ ..... .... .. .. ...... ..... ........ .. .. .... .. .. .. ..... .. .... .. .. .. ............ ......... .. ..... ...... ................. 101

5.1.9: Ace Hardware Conditional Format ........ ... ... .. .. .. ...... .......... ... ... .... .. .. .. .. ......... ........ .. ... ....... ..... .. ........... ..... 102

5.2 : Data Validation .. .. .... .. .... ......... .. .......... .. .. .. .......................... ... ................... .. ... ....... .. ................ ........... .. ........... 104

Data Validation ..... .. ...... .. ... .... .................. .. .. .. .... .... ..... .. ................. ..... ....... .... ... ....... .... .. ........ .. ..... ... ....... .. ..... 105

Any value ........... .. ........ ................ ... ..... .. ..... .. ......... .. .. .... .... .. .. ........ ...... .. ... ... .......... ..... ... ... ..... .. .. .... ... .......... ... 106

This is the default setting for any cell in the spreadsheet..... .. ....... .. ................... ... .. ... .. .. .... ............ .. .. .... ..... 106

Pick from list ...... ...... .. .. .. ................... ............ .... .. ....... .. ....... ... ..... .... ......... .. .. ... ..... ............... .. .... .... ..... ............ 106

Integers or Decimals within limits ................ ... ... ..... ...... .. ......... ... ...... ... ..... ... ...... .. .. .. ... .... .. .. ............... .. .. .. ..... 106

Date or Time within limits .. .. ........ ... .. .... ..................... .... ... ... .. ..... .. ......................................... .. ... .. ........... .. ... 107

Text of a specified length ... ... .. .. .. .. .. ... .. ........ ..... ........... .. ................... .. ...... ......... ... ... ...... .. ........ .......... .. .. ..... .. 107

Formula to calculate allowed entry ...................... ..... .. .. .... ... ....... ...... ....... ........... .... ................... .. .... .. ... .. ..... . 107

Page: S

Create an input message ..... .. .... ........ ... ... ... ....... ........... ...... ...... ..... .............. .... .... .. .......... ...... .. ......... .. ........ ... 108

Error alerts : ... ........... ....... ... ... ... ... .... ... ... ...... .... ......... ..... .. ..... ..... .... ....... .... .. .... ... ...... .... ...... .. ..... ..... ..... ... ...... ... 108

Display warning : .. .... ... ... ... ... ........ ... ... .... .... .. .... ......... .. .... ...... .. ...... ........ .... ..... ..... ... ....... ..... .. ....... ..... ........... ... 108

5.3: Swit ches ....... ........... ... ... .............. ......... ... .. ...... .. ... .............. ......... ...... .. ...... .. .... ...... ... .... ...... .. ......... .. .. ........ .. 112

5.3 .1: Using Switches : Alternative Parameters .... ....... ............. ....... .... .. .... .... .. ... ........... .. .. .. .... ..... ....... ...... .... 114

5.3.2: Using Switches: Sen sitivity Analysis ........... ... ........ .. ..... .. .. ... ....... ......... ... ...... ... ...... ................ .. .. .. ... ... .. 115

5.3.3: Using Switches : Decision Sensitivity .... ..... .... .... ..... ...... .... .... .. ... .......... .. .... ...... ..... ........ .. .... ... .... .......... . 117

5.4.1: Using Switches : Self Solving Models .... ... .. .... .. ........ ....... .. .... ................ .... ........ .. ... ......... .. ... ... ... .... .. .... 118

5.5.1: Conditional Charts .......... .......... ... ..... .......... ....... ..... .... ... .. ..... ... ...... ... .. .. .... ... .. ........ .............. ... ...... .... ....... 122

5.5.2 Using Switches: Dynamic Graph .... .. ... ... .......... .. .. ... .. .. .. ..... ................ .... .. .... .... .......... ..... .......... ... .... .. ... 124

Part 6: Pivot Tables ........ ...... ............. .... .. ... ......... ......... .. .. .... .. ... .......... ...... ... ... .. ... .. ....... .. ...... .... .......... .. ........ ....... .. 126

6.1 Building a PivotTable Report ....... ...... ..... ..... ... .... .. ...... .. .. .. ........ .. ........ ..... ..... ......... ... ............ .. .. ....... ............ 129

Anatomy of a Pivot Table .. .. .. ......... .. ... .... .......... ........ ...... ...... ....... .. .. ...... .. .. ... .. .. .... ........ ... ... ........ ......... .. .. ..... 131

6.2 Restructure PivotTable .. ... ... ...... ..... .... ... ........ ... .... .. .. .... .... ... ... ..... .. .. .............. .. ... ... ... ... ... ... ...... ....... ...... .. ..... 133

6.3.1 Tools for Working with PivotTables .. ........... .... ....... .......... ............. .... .. .. .. ..... ..... .. .. .. ...... ... ...... ... ... ... ..... 134

6.3. 2: Tools for Working with PivotTable s .... ...... .. ... .. .. .. ... ................... ...... ... .......... ....... ... .... .. ....... .. .. .. .. ... .... 135

6.3. 3: PivotTable Design Ribbon ............. .. ....... ... .. .. ... .......... .. ..... ..... .. .... ........... ........ ....... .. .......... ..... .... ..... .. .. 137

6.4 Pivot Tables: Layout & Options .. ..... .. ... ......... .... .. .... .. ..... ... .. ....... ...... .. .. ..... ....... ........ .... .. .... ....... ... .......... ..... 139

6.4 .1 Available Calculations for Data ... .. ........ .... .. ... .. ..... ......... .. ...... .. .. ......... ........... .. ......... ... .. .. ...... .. ........... .. 142

6.5 Pivot Tables : Grouping ..... .. ............ .. .......... .. .... ....... ... .. ............ .. .. ... .. .. ... .. .. ... .. ........ .... .......... ..... .. ... .. .. ..... ... 143

6.5.1: Automatic Grouping ..... ...... .. ... ...... .. ..... ... .. .. ......... ........... ..... ....... .. ....... ... ....... ........... ........ .. ....... .. .. ..... 144

6.5.2: Manual Grouping ....... ...... .... ... .. ........ .. .. .... .. ........ .. ... ........ ............ .... ... ..... .. .... ............. ........ ....... .. .. ...... 145

6.6: Pivot Chart .. ........ .. ... ........ ........ .... ..... ... ... .. ... .. .... .... ... .... .. .... .. .. ... ........ .... .. .. .... .... .. .. .... ....... ....... .... ........ .. ..... 146

6.7: Pivot Tables : Calculated Fields ..... ....... .. .... ... ....... .. ............. ..... .. .... ... .... .. ..... ... ..... .. ... .... .. ... .. .. ... ...... .... .. .... .. 149

6.8: Box Plot ... ......... .. .. ..... ........... .. ... .... ..... .. .. ......... ..... ........ ...... .... ......... .... ....... ... ....... ...... ... ... ... .... ............ ....... . 153

Part 7: Auditing Spreadsheets .. .. .. .. .. ........ .... .... .... ....... .............. .. ... .. .... ........ ........ ..... .... ... ... ........... .... .... ....... .... .... 159

7.1: Range Names .................... ...... ................... .. ......... ........ .... ..... ....... ... ..... .. .. .... .......... ..... ... .. ...... ............... .... . 159

Nam e cells in a workbook ... ........... ...... ....... ...... .......... ... ...... .. ..... ... ....... ... .. .. .. .. ....... .... ........ ...... ... ..... .... ...... .. 159

Rules for Range Names ..... ........... .... .. ....... ......... ..... .... .... ....... ... ...... ... .. ... ... .. .......... .. ....... .... ....... ........ ..... .. ..... 159

7.1.1: Creating Range Names .......... .. .. ......... .. ..... .......... ....... .. ... .. .... ...... ..... ..... .... ..... .. ........ .. .... .. ... ... ...... .... ... 160

7.1.2 : Define Name ....... .... .......... .... .... .. ...... .. ...... .. .. ..... ...... ..... ... ........ .. .......... ..... .... .. .. ... ... ......... .. .......... .... .. .. 161

7.1.3: Convert existing row and column labels to names .. .... .. .. ........... ..... ...... ........ ................. .... ...... ....... ... 162

7.1.4: Get a list of Available Names ......... .. .. .. .. .... .. .... ........... ..... .... ...... .. .. .. .. ..... ................ .. ... ....... ....... .. .... .. .. 163

7.1.5: Applying Range Names to Existing Formulas ... ...... .. ...... ... ........ .... .. .. ... ..... ..... .. ... ...... ...... ...... .............. 164

Create & Apply Range Names ........ .. ...... .. ... ... .... .. .. ..... ......... .... ... .... ........ ........ .. ... ........... .. ........ ............ .. ..... . 165

Ace Hardware Model (No Range Name) .......... ....... ..................... ... .. ... ..... ...... .. ... .... .... .. .... .. .. .... ....... ...... .. .... .... 167

Single Cell Names .... .. .... .......... ...... .. ...... .......... ... ... .. ..... ...... .... ......... .... ... .... .. ...... .. .. ... .... ... ... ... ......... ... .... ...... ..... 167

Created Names .. .. ... ......... ...... .. ..... ... ... ..... ....... ...... .... .. ......... .......... ....... .... ... .... ............. ...... .. ... ...... ... .. ... .... .... 168

Page: 6

Column Names (from Top ROw) .... ............ .. .. ... .... .... .. ... ... ... .... .. ........ .... .... .. .... ... ..... ........ .. ......... .. ... ....... .. .... ..... 168

Named Model ...... ... .. ........ .... ... .... .... ..... .. ....... .. ........ .. .... ... .. .. .. ..... ....... .. .. .. ... ...... .... ... ...... .. ... ......... .... ...... .. ... .. 169

7.1.6: Using Range Names as Dynamic Lists .. ... .. ... ............ .. .... ... ....... .... ... .. .. ...... ...... .... .. ........ ... ....... .. ... ........ 170

7.2: Formula Auditing .. .. ....... .. ... .. .. ..... ... ......... .. .. .. ........... .. ......... ... .. .......... .. .. ... .... ... ... ..... .. ... .. ... ...... ... ........ ..... .. 172

Formula Auditing .. .... ..... .. ..... ...... .. .... ...... .. .. ...... ... ... ... .. .... ..... .... .... ... .. .. .. .... .. .. .. .. .. ..... .. ...... .. ... .. .. ......... ... .. ...... 172

7.2.1: Tracing Precedents ........ .... .... .. ......... ...... .... ... .... ..... .. .... ... ........ .. ........ ...... ...... ...... .. .... ....... ... ............ .... 173

7.2.2 : Tracing Dependents ......... ......... ..... ... ........ .. .. ... ..... ..... ... ... .. ........ ... ....... .. ........ ... ......... .. .......... .... ......... . 174

7.2 .3: Error Checking .... .... .. .. ... ..... .. ... .. ..... .. .... .. ... .... ... .. .... ....... .. ...... .. .. .. ...... .. ...... .. .. .... .... .. ....... ....... ........ .... .. 175

7.2.4 : Circle invalid data .. ..... .. .. ..... ..... ... ... ... ...... .. .. .. .. ... .. .... ...... ..... ..... ..... ... .... ... ....... ...... ... .. .. ........... .... ... ...... 177

Circle Invalid Data ...... .. .. .... .. ........ .. .. ... .. .. ...... .... ..... ... .. .. ... ........ ... .......... .. .... .. .. ........ .. .. .... .. ..... .. ........... ....... ... ..... 177

Remove Circles ..... ..... .... ... ... ... .... .. ... .. .... .. .... .... ...... .. .. .... .. .. .... ... .. .. ... .... ...... ... .. .... ..... .... .......... ... ..... ...... .. .. .. ....... . 177

7.2.5: Go To .... .. ... .... .... .... .. ... ..... ..... ... ... .... .... ........ ... ..... .. .. .... .. ....... .... ........ .. .. .... ... .... .. .. ........ .. .. .......... .. ....... .. 178

Visible cells only (All cells are vi sible) .... .... ....... ...... ..... .. .. ... ........ .............. .. ... ... ...... .. .... ... ........ ... ....... .. .. .......... .. 180

7.3: Suggestions to Avoid Errors ... .... .. ... .. .... .... .... .. .. .. .. .. ...... .. ... .... .. .. .... ... .. .......... .. .. .......... ..... .. .... .. .. .. ... .... ... .... . 181

Part 8: Using Solver ........ ....... .. .... ... .. ...... ..... ... ...... ... .... ...... ............ ... ... ..... ............ .. .. ...... ...... .. ....... ... .. ... ... .. .. .. .. ..... 182

8.1: Solver Add -in .... ...... ... .. .... .. ... .. .. .. ... ... .. .. .... .... .. .... .... ... ........ .. .... ... ... .. .... .. ... ....... .. ... ... .... .. .... .. .. .. ... .. ........ ... ... 182

To load solver .... ... .. .. .. ..... .. .. .. ........... .... ........ ... ... ..... .. ... .... .... .. .. .. ....... ... .. ..... ... ........ .... ... ..... .. .... .. ..... .. .... .. .. .. .. 182

8.2 : Define and Solve a Problem by Using Solver .. .. .. .. ..... .. .. .. .. .. ..... .... .. .......... ......... .... .. .. ..... ... .. .. ... .. ... ......... ... . 184

8.3: Solver Set-Up ... ......... ... .. ... ..... ..... .... ..... .. ..... ... ........ ... ... .. ........... .. ... ...... ....... ... ........... .. .. .. ... .. .... .. ..... .. .. .. ..... . 185

8.4: Solver Options ...... ... .... .... ....... .. .. .. ..... .. .. .. ....... .. .... .... ... ..... .. .... .... .... ...... .. .... ....... ..... .. ... ... .... ... ........ ..... .... ... . 187

Model .... .. ... ... ........ .. ... .... ... ... ... ... .... .... .. .. .. ... ... ... .. ... .. .. .... .... .... ... ......... ... ... ..... .. ... ... ... .. ... ... ... ..... ... .. ...... ... ..... .. 188

8.5: Solver Reports .... ... .... ..... ... .. .... ...... ....... ...... .. .... ... ... .... .. ..... .... .. ..... ... .... ..... ... ........ ... ........ ..... ....... .......... ...... 189

Answer Report ... .. ........ ..... ......... ... .......... .... ..... ... ....... ............. .. ............ ........ .... .. .. ...... .. ... ....... .. .. .... ... .. ...... .. .. 189

Sen sitivity Report.. ....... ... .... .... ....... .. .. .. .. ... .. ... .... .. ... .... .. .. ... ... ...... .. .. .. .. .... .. .... .. .... .... ... ..... .. .. ... .. .. .. ... .. .. .. ..... .... 190

8.6: Blending Model .. ...... .... ....... .. .. ... .. .. .... ...... .......... .. .. .... .. ... .. .... .. ... .. ... .... ..... .. .. ... ....... .. .. ........ ...... ....... .. .. .. ..... 191

8.6.1 Blending Model: Sen sitivity Reports .. .. .. ... ... .. .... .. ....... .. ..... .. .. .. .. ... .. ........ .. .. ... ...... .. .. .... .... ..... .. ......... .... 193

8.6.2: Blending Model with Cost .. ..... ..... .. .. .. ........ .. .... ...... .. ........ ..... .. .. ... ..... ... ......... .... .. .. ... ...... .... .... ... ... ....... 195

8.6.3: Reports .... .. .. .. .. .. ... .. .. ... .. .. .. ... .... .... .... .. .............. .. .. ........... ........... ... ........ .... ...... .. ..... ........ .. .. .. .. ...... .. .... 196

Answer Report ...... ..... .... ... ... ... ............. ..... ... .. .. ........... ........ .... ........ .... ....... ..... .... ... .. .. .. ... ...... .. ........ .. ......... ... . 196

Sen sitivity Analysis ........... ... .. ...... ... ........ ... .. .... ..... .............. .. .. ... ..... .. ..... ... ........... ..... ... .. .. .... ...... ... .. ... ...... ..... .. 196

8.7 : Solver Sensitivity Add-In .... ... ... .... ... ... .. .. .. ... .. ... .. .... .. .. ..... .. .. ....... ... .. ...... .. .. .. .... ....... ... .... .... ... .. .. ....... .. .. ... ..... 198

8.7 .1: Solver Sensitivity Add -In ...... ... ........ .... .... ... ... ... .. ......... .. ... ...... .... .... ... ... .. ... .. ....... .... ........... ... ........... .. ... 200

8.8: Integer Programming ........ .. .. .. .. ... .. .. ... .... .. ..... .. .. .... ... .. .. ........ ........ .. ... .. .. .. ....... ..... ... .. .. .. .. .... .......... .... ......... 201

8.9: Non -Linear Models ..... ... .. .. ....... .. ... ........ .... ... ...... ... .. ........ ... .. ...... ... ... ...... ....... .. .. .. .. .... ... .... ... .. .... ... ....... .. ... .. 203

8.9.1: Non-Linear Model, Multiple Inputs .... ..... ... .... .. ........... ..... ..... .. .. ....... ... ..... .. .... .. .. .... .... .. .. ..... ..... .. ..... ... 205

Part 09 : Incorporating Uncertainty ..... .... .... .. ... ...... ..... ....... ........ ..... .. ....... .. .. ..... .... ... ... ... ..... .. .... ... .... .... .. ....... ...... .. 207

09.1 Decision Analysis .. .. .... ..... .. .. .. .. ...... .. ......... .. .... .......... .. .. ........ .. ............ ... ....... ...... ... .. .. ... ..... ... ... .. ...... ........ .. 207

Example la: Ice Cream Cone ..... ......... .... .... ... ....... .... ....... .. ..... ...... .. .... .. ......... ... ...... .. .... ........ .... ... .... .. .. .. ....... . 208

Page : 7

Decision Tree .. ... ..... ... .... ... .... ...... .... ... ..... ...... ......... ... .. ........ .... ....... .... .. ..... .... .... ............ . ... .. ....... ...... .... ...... ... . 210

Principles for Building Decision Trees ... ............... ........ ...... ........ .... ...... .... .. .. ..... .... ......... ... .......... .... .... .... ...... 210

Rollback .... ............. .. ......... ..... .... ........ .... ...... .. ... ..... ..... ...... ... .. .... ..... ........ .. .................. .... .... ...... ........ ......... .. .. 210

Sensitivity analysis ..... ...... .. .. .. ..... ......... ... ..... ......... ....... ...... ... ..... .. ...... ....... ........ ...... ....... ... ... .. .. .... .. .. .. ... ..... ... . 211

Policy Analysis ...... ..... .. ...... .... ........ ....... ..... .... .. ... ..... ... .. ... .... ........... ... ........... .. ...... .. ..... ...... ...... .... .. ...... .... ....... 211

Two Way Sensitivity ..... .... ......... ... .. ..... ....... .. ........ .. .......... ....... ... .... .... ... .. .. .. ........ ....... ... ............ ........ ............. 212

Expected Value with Perfect Information (EVwi,hPI) ...... .. ............ .. ........ .. ........ .... ............. ..... ....... .. .. .. ....... .... 213

Expected value of perfect information (EVPI) ................... .. ............. .. ... .... .. ........ ...... ....... .. .. .. .. .. .. .. .. ..... ... ..... 214

Expected value of Imperfect Information (EVil) ... ... .... .. ........ .... .... ... ..... .... ...... ...... ..... ... .......... .... ...... ... ......... 215

Tree Plan (installation) .. ... .. ........ .... ........ ..... ............... .... .. .. .... ................ ....... ... .. ... ......... ... ... .... ... ........ ..... ... .. 216

Tree Plan (operation) ......... ..... ....... ..... ... ... ... ..... .. ..... ............ ....... .... .. .. .. ......... ..... ........ ... .. ...... ..... ............ ... .. .. 217

Scenario Manager & Decision Trees ........ .. ............. .. ... .. ... .. .... .. ... ... .... .... .. ... .. .. ...... .... ............ ... .. .. ..... ..... .... ... 220

Scenario Pivot Table & Decision Analysis ....... ... .. .. .. .... ........ ............ ... ..... ........ ...... ........ .................. .. .... ..... ... 221

Scenarios & the Value of Information ...... .... ........ .... ....... ....... ................. .... ... .... ...... ... .. ... .... ... .. ..... ..... .... .. .... 222

9 .2: Simulation Model .. ... .. .. ..... ..... ..... .. ..... ........ .... ....... .. ..... ... ..... .... ...... .. .. .. ......... .. .. .... .. ... .... ......... .... ...... .... ..... 223

Validity of the Simulation ..................... ... ...... .. ...... ...... .. ... ........ ..... ...... ... .. ......... ........... ............. .. ........ ... .. .. ... 227

Summa ry of Simulation Results ........ ...... .................. ..... .. ........ .......... .... .. ... ......... ... .. .... ..... ...... ... .. ......... ... ..... 228

Sufficient Iterations (stability of means) .. ..... ....... .......... ... ... .......... .. .. ... ...... ..... .. ... ... .... .. ...... .. ... .... ........ .. .. .... 229

Thousands of Iterations (or more) ...... ... ....... ....... ..... ...... .. ... .. ..................... .. ... ... ....... .. .. .... .. .. .. ......... .... ........ 230

Simulation and Empirical Distributions ...... ..... .... .. ... ........ .. ..... ...... ..... ..... .. ... ......... .... ........ .. .... ........ .... ........ .. 232

Normal Distribution ........ ... .. .. ..... ... .. .. ... ... .. .. ............ ............. ... ....... ...... .. .. ..... .. ........ ....... ... .. ..... ....... ..... .. ... .... 234

Triangular Distribution ..... .. .. ..... .. .. .. ............. .. ..... .... ........ ... ........ .. .... .. ... .... .. ... .. ... ..... .. ........ ..... .......... ...... .... .. 235

Part 10: Functions ...... ...... ..... ......... .... ... ..... ...... ... .... ..... .... ... ... .. .. ... ..... ...... .... ......... .... ..... ..... ... ... ... ...... .. ... ....... ... ... .. 236

Part 10.01: IF Function .. ... .. ... .. .. ...... .. ... ... .. ... ... .. .. ... ... ....... ... .. ........... ... ...... ...... ...... ..... ..... .. ....... ........ .... ...... ... .... 238

IF ......... ... .... .. .. ........ ..... ........ .... ... .. .. ... ..... ...... .. .. ... ... .... .... .... ......... ...... .... ...... ..... ........ .. .. ... ....... .. ... ......... .. ........ 238

Part 10.02: Nested Functions ..... ... .. ..... .. ... .......... .. .. .. ......... ... ....... ...... ....... ...... ...... .. ..... ................ .... ............ .. ... 240

Breaking the Nesting Limitation ... .. ..... .... ........ ...... ........... ... ..... ....... ....... ..... .... .. .. ..... .... ........... ...... .. .. ... ... ... .. . 241

Part 10.0 3: IFERROR ...... .. .... ... ........... ... .. ..... .. .... ....... .. .... ... .............. .... .... ..... .. .... .. ... ......................... .. .... .. .. .. ..... 242

Part 10.04: Logical Function ... ..... ..... ..... .... .. .... .... ...... .. .... ........ ..... ..... ... .. .... .. .. ... .... ........ .. ... ... ... .... .. ......... .. .. .. ... . 243

AND ..... ... .. .. ..... ... ...... .. .. ............ ...... .. .. ... ..... ..... .. .. ... ..... ........ ... ..... ........ ...... ...... ........... ... ....... .. ....... .. ....... .... .... 243

OR .... ... ... .. ... ... ........ ... .. ... ....... .... ...... ....... ...... .... ... .... .... ... ...... .... .. .. .. ..... ... ............. ..... ........... ........... ..... ....... .... 243

NOT ...... ..... ... .... ...... ... .............. ............ .. ....... .. .. ... ....... ..... .. .. ..... .. .. .. ...... .. .. .. ...................... ... .. .. .. .... ........ ..... .... 243

TRUE .... ....... .... ....... ........ ...... ...... ....... ..... ....... ..... .............. ... .... ........... ........ .. .... ..... .. ..... .. ..... ......... .. .... ......... ... 243

FALSE .... ... .. ...... ....... .... ........ ..... ........ ...... .... ... ..... ... .. .. .... ... .. .... .... .... .. .... ..... .. ...... ... ... .. .. ..... ....... ...... ...... ...... ..... 243

Part 10.05: IS

******

Functions .... .... .. ...... .. ..... ...... .... ......... ... ... .... ......... .. ............... ............. ............ .. .......... .. ... 244

ISBLANK ...... ..... .......... .... .... .... ... ..... ..... .... ... ..... ....... .. ..... .... ... .. .. ..... ...... ...... ... ... ........ .... ....... ...... .. ..... ...... ...... ... 244

ISERR ..... ...... ....... ........... ... ... ....... ... .... .......... ..... ..... ... .. ... .. .... ... ..... ........ ........ ..... ...... ...... .... ......... ....... ... .... ..... .. 244

ISERROR .. .... ...... .. .. .. .... ... .. ... .. .... ...... .......... ...... .. ........... ... .. ... .. .. ..... ...... ...... ...... ....... .. .... ...... .. ..... ... .. ....... .... ..... 244

Page: B

ISEVEN .......................................................... .... ..... ... ....... .... ... ..... ........ ... ... ..... ... ... ........... .......... .... ... .... ..... .... 244

ISLOGICAL .......................................................................................... ......... .... .... ..... .. ... ...... ... ... .. ... ........ ..... ... 244

ISNA ..... ........ .. ... ........ .. .. ... .......... ... .. ... ... ..... ......... .... .... ... .. ... ..... .. ... ... .. .. ... ...... ......... ... .... ........ ............... .... .. .... 244

ISNONTEXT .... ... ...... .. ... ..... .... ... .. .... .. .. .. .. ... ... ........ ..... ....... .. ......... ......... ...... .... ... .. ...... ...... ........ ...... .... .... .. ....... 244

ISNUMBER .......... ... ........ .............. .. .... .. ......... .. ......... ............ ..... ....... ... ... .. .. ... ... ..... ..... ... ... ....... .... ... ........... ..... 244

ISODD .. ..... ..... ....... ..... ... ... .. .. .... ....... ...... .... .... .. .... .. .... ...... .... ......... ...... ..... .. .... .... ....... ........... ... ........... .............. 244

ISREF ... ....... ...... ... ... ...... ...... ...... .. .. .... .... .. ........ .... .. .... ...... ... .. ... .. ....... ....... ... .... ....... ... .......... ...... ...... ....... ......... . 244

ISTEXT ...... ..... .......... .... ....... ..... ..... .. .. ..... ................ ....... ... .... ... ............ ..... .. ........... ..... ........ .. ......... .. ... ...... ...... . 244

Part 10.06: Lookup Functions .... ... ....... ... .. ... .... ............ .. .... ..... ... ........................................... ... ....... ........ ... ........ 245

VLOOKUP ... ... ............................................. .... ........ ............................................... ......... .... ........ ........... ... .. .... 245

VLOOKUP() ... Range LOOKUP = TRUE ....... .. ........... ...... ............................................................................ ..... 246

VLOOKUP() ... Range LOOKUP = False ............................................................................... ............................. 247

HLOOKUP ........ .... ..... .. ...... .... .. .......... ......... .... .... ......... .. ... .. ............................................................ ..... ... ... .... .. 251

LOOKUP ... ... .... .... ....... ..... ....... ........ .. ...... ........ ....... ... ............ .. ....... ........ ....... .. .. .. .. ........ .. .. .... ............ .. .... ...... .. 252

Unique Keys ... .... ....... ...... ....... .... .... ........ ... ...... ........... ... ........ ....... .. ..... ... ... ........ .......... ..... ..... ...... .......... .... .. .. .. .. . 254

Part 10.07: CHOOSE .. ... ..... ........ .. .. .. ....... ...... .... ......... ... .. .. .... ....... .. .... .. ..... .... ........................ ....... .. .. .... ... ..... .... ... 256

Part 10.08: Index Function ................. ..... .......... ... .......... .. ............ ... ................................................................. . 257

INDEX ... .. ......... ... .. ........ .............. ... ........ ... .. ......... .. ............ ... ............ ..... .. .. ... .... ..... .... ... ......... .. .... .. ......... ........ 257

Part 10.09: MATCH Function .... ..... ... ...... ......... ..... ......... ..... ... ..... ... ..... .. .. ....... ..... ........ .............. .... ... ....... ........ ... 261

MATCH .. ...... .... ........................................... .... ..... ... ........ ...... ...... ... ..... ....... ... .......... ... ................... ..... .... ..... .. .. 261

EXACT MATCH (TYPE = 0) ............... .... ........ .. ....................................... .... ........ .. ........... ................................. 261

MATCH Ascending (TYPE = 1) .......................... ... ..... .. ..... .... ........................ .. ................................................. 262

MATCH Descending (TYPE = -1) ........................ .. ..... .... ... ... ..... .... ..... ..... ......... ...... ...... ... ... ......... .... ...... ....... .... 262

Match & Index ........ ... ............ .. ......... ...... ........ ... ............. .... ......... ...................................................... ......... ... 263

Reverse Lookup .. ... .......... .... .... .. ... ........... ...... .... .. ........................ ............. .. ...... .... ........ ..... ......... .... ........ ..... ...... 264

Part 10.10: INDIRECT ....... .... ...... ... .... .... .. ...... ...... ...... .... ................... ....... ... .... ......... .... .... ..... .. ............ ....... ......... 265

INDIRECT ... ...... ... ... ......... ... ...... ... .. ......... ................... ...... ............. ......... ........ ... .......... .. ............ ... ........... ......... 265

Part 10.11: OFFSET .. ....... ... .... .... .... .. .. ... ....... .. .... ....... .................................. .. ........ ....... .. ..... ... ... .... ...... ....... .... .... 266

OFFSET .., ................................. ... .................................................................................. ...... .. ... .. ... .. .. .............. 266

Part 10.12: Arrays ..... ..... ...... ..... ........ .. ......... ..... ........ ... ......... ..... ....... .. .... .. ..................... .. .... ...................... .... .... 268

10.12.01: Array Constants ..... ...... ...... ...... ...... ... .. ... .. ..... ...... ... ....... .. ... ... ......... ... .. ..... ........... .... ...... ........ ..... .... 268

One Dimensional Column Arrays (Vector) : .. ........ ... ... ... ...... ........... .. ....... ...... .... .... .................... ....... .. ....... .... 270

Two Dimensional Arrays (Matrix) ...... .... .. ........ ...... ..... ..... ....... .... ........ .. .. .............. .... .... ....... ...... .. ... ............ ... 271

10.12.02: Array Formula ..... .. ...... ... .......... ....... ...... ..... ...... ... ....... ... .... .... .................. ..... ..... .. ... ..... ....... ..... .. ..... 272

10.12 .03: Array Functions .. ..... ........... .. ....................... ..... ...... ..... ..... ... .. ... .... ..... ........ .... ........... .... ... .......... .... 278

10.12.04: TRANSPOSE ..... .. .. .... .. .. ..... .... .. .......... .. ......... ...... ..... ........ ..... ......... ... ......... .. .. ..... .... .. .. .. ... ....... ......... 278

10.12.04 : FREQUENCY ....... ... .. .. ...... ... ......... ... ..... ......... ... ...... .. ...... .... ..... ........ .. ... .............................. ............. 279

10.12 .05: LINEST ................ .. ...... ... .... ..... ... ........ ..... ....... ... ... .. .......... .. ......... ... ....... ... .. .... .. .. ... ... .... ... .. .... ... ....... 280

Page: 9

10.12.06: LOG EST ... ... ..... .. ... .. ........ ..... ...... ..... .............. ...... ........ ....... .. .... ....... .. .................. ........ .. ........ ..... .. ... 280

Part 10.13: Sum, Count, and Average Functions ....... ...... .. .... ....... ...... ... .... ..... ...... ... ........ ............ .. ....... ... .. ........ 282

SUM ... .............. ......... ....... ..... .. ........ .. ........ ...... .... .. ....... ...... ........ ... ..... ... ... ... ....... ......................................... ... 282

COUNT ............................................ ..... ..... .. ........ .. ... .... ........ ........ ....... .... ... ...... .. ........... ............. ........ .. ..... .... . 282

COUNTA ..... ... .. ..... .... ... .. ... ...... ........ .... .......... ... ........ ... .. .... .... ...... ..... ........... ... .. .... .. ..... ...... .. ... ..... ... ......... ...... .. 282

SUMIF ....... ...... ...... ..... .......... ...... .. ................. ..... .. .... .. .... .... .. .... ...... .. .... ........ .... ........... .. ........ .. .. ......... ....... .... . 282

COUNTIF .. ... .............. ......... ... ... ........... ... .... ....... ...... .. ... ...... ............... .... .. ... ... ...... .... ......... .. .... ..... .. ......... .... .. .. 283

AVERAGEIF ...... ...... .. ....... .... ......... .. ...... ......... .. .. .. ........ .. ...... ..... ...... ... ......... ... ...... .. .. ... .... . ..... .. ...... ... .. .. ....... ..... 283

SUMIFS ...... ........ ... ...... ... ..... ....... ....... ....... ...... ..... ... ........ .... .. ............. .. .. .......... ... ... ....... ............................ ....... 284

COUNTIFS .......... ..... ....... ... .. .... .. ..... .... ............ ..... ........ ....... ... .. ...... .... .... ....... .. .... ...................... .... .. ................ 284

AVERAGEIFS ....... ... ... .. ... ..... ....... ....... ............ ... .... .... .. ... ...... .. .... ..... .. ............. .......... .... ......... .. ........... .......... .... 284

Multiple Conditions (Array) ........ .. .. .. .............. .... .................... .. .................... .. .. ... .. .... ... ..... .. .. .... ...... ... ........... 287

Part 10.14: SUM PRODUCT ..... ..... .. .. ...... ..... ... ... .... ... .... ... .. .. .... ... ....... ....... .... ... .. ..... .... .... ..... ... .. ..... .. ... .. ..... .......... 289

Part 10.15: Text Functions ......... .. .. ......... .. ........ ..... ... .. .. .. .. ...... .... ..... ...... ... ...... .. .... ... .. .......... ............. .. .... ... ... ..... 290

10.15.01: LEFT .............................................. ........ ... ......... ...... ....... .. .... ..... ....... ....... ... .... ... .... ... .. .................... 290

10.15.02 : RIGHT ...... ... .... ....... ... .. ......... ... .. ...... .... ..... .. ...... .... ... ... .. .... ........ .. ...... ..... ... ........... .. .. ... ... ....... ... ...... .. 291

10.15 .03 : MID ...... .. .... .. ......... ..... .... .. .. .... ....... ... .. ....... ......... .. .... ... .... ...... .. ............. .... ........................ ...... .. .. .... 292

10.15.04 : TRIM .... ..... ... .......... .... ......... .. .... ...... ... .. ..... ..... .. ... .... .... ....... ....... .. .... ........ ... .... ..... ... ... ...... .......... ... .. 293

10.15.05: LEN ..... .. .. .......... ... ....... ... ..... ..... ... ............ ..... ............................. .. ............. .. ......... ..... ........ .. ........ ..... 293

10.15.06: FIND ... ......... .... ... ..... .. ........... ........... .... .. ......... ..... ..... ..... .. .. ..... ........... .... ...... .... ....... ..... ...... .... ... .. .... 294

10.15.07: SEARCH ...... ... .............. ...... ...... .... ..... .. ..... ...... ............ ............... .. ..................... .. ............. .. ............ .. 295

10.15.08 : REPLACE .... ....... ....... ... ..... ... ... .. ..... .. ....... .. ........ .......... ..... ... ....... .......... ... ..... .......... ... .. .... .. .. ..... ...... .. 296

10.15 .09: SUBSTITUTE ..... ....... .... .......... .... ...... ... ........................... ... ...... ..... .......... .... ...... .... .. ...... .. ... ......... .. ... 297

10.15.10: REPT .. .............. ...... ... .. .... ..................... ... .. ......... ... ... .. .. ... .. .... .. ...... ... ................ ......... ... ..... .... ..... ..... 298

10.15 .11: UPPER .. ... .... .... .... .. .................. .. ..... ......... .. ...... ..... ... .... ... .... .... ...... ....... .. .. .... .... .. .... ........ .... ............. 299

10.15.12 : LOWER .. ......... .. ............... ..... ....... .. ............ .. ......... .. ...... .. .. ........ .................... .... ..... ... ............... ....... 299

10.15 .13: PROPER ..... .. .. .. .. ........ .. .... .. ..... .. ........ ...... ....... ..... .. ..... .. ....... .... ........... .... ..... .. ...... .. ................... ....... 299

10.15.13 : VALUE .. ....... .. ... .. ......... .... ..... .. .......... ..... ....... ........ .. .. ... ....... ..... ....... ........ ..... ...... ............... ............ .. 300

10.15 .15: TEXT .......... .. ..... ........... .... ....... .... ... .. ... .......... .. ........ .... .... ........... ....... ..... ..... ........................... ........ . 301

Text Function Illustration ..... ....... ..... ... ........... ..... ....... .... ....... .... ...... ... .. ..... .. ................. ......... ....... .... ......... ... . 303

Page: 10

You might also like