Table of Contents
Introduction 1
About This Book 1
Foolish Assumptions 2
How to Use This Book 2
Icons Used in This Book 2
Where to Go from Here 3
Part 1 Getting Started with Formulas and Functions 5
Chapter 1 Tapping Into Formula and Function Fundamentals 7
Working with Excel Fundamentals 8
Understanding workbooks and worksheets 8
Introducing the Formulas Tab 11
Working with rows, column, cells, ranges, and tables 13
Formatting your data 17
Getting help 19
Gaining the Upper Hand on Formulas 19
Entering your first formula 20
Understanding references 22
Copying formulas with the fill handle 24
Assembling formulas the right way 25
Using Functions in Formulas 27
Looking at what goes into a function 29
Arguing with a function 30
Nesting functions 32
Chapter 2 Saving Time with Function Tools 37
Getting Familiar with the Insert Function Dialog Box 37
Finding the Correct Function 39
Entering Functions Using the Insert Function Dialog Box 40
Selecting a function that takes no arguments 41
Selecting a function that uses arguments 42
Entering cells, ranges, named areas, and tables as function arguments 43
Getting help in the Insert Function dialog box 48
Using the Function Arguments dialog box to edit functions 49
Directly Entering Formulas and Functions 49
Entering formulas and functions in the Formula Bar 49
Entering formulas and functions directly in worksheet cells 51
Chapter 3 Saying "Array!" for Formulas and Functions 55
Discovering Arrays 56
Using Arrays in Formulas 57
Working with Functions That Return Arrays 61
Chapter 4 Fixing Formula Boo-Boos 65
Catching Errors As You Enter Them 65
Getting parentheses to match 66
Avoiding circular references 68
Mending broken links 70
Using the Formula Error Checker 72
Auditing Formulas 75
Watching the Watch Window 78
Evaluating and Checking Errors 79
Making an Error Behave the Way You Want 81
Part 2 Doing The Math 83
Chapter 5 Calculating Loan Payments and Interest Rates 85
Understanding How Excel Handles Money 86
Going with the cash flow 86
Formatting for currency 86
Choosing separators 88
Figuring Loan Calculations 90
Calculating the payment amount 91
Calculating interest payments 93
Calculating payments toward principal 94
Calculating the number of payments 96
Calculating the number of payments with PDURATION 97
Calculating the interest rate 98
Calculating the principal 101
Chapter 6 Appreciating What You'll Get, Depredating What You've Got 103
Looking into the Future 104
Depreciating the Finer Things in Life 106
Calculating straight-line depreciation 108
Creating an accelerated depreciation schedule 109
Creating an even faster accelerated depredation schedule 111
Calculating a midyear depreciation schedule 112
Measuring Your Internals 114
Chapter 7 Using Basic Math Functions 119
Adding It All Together with the SUM Function 119
Rounding Out Your Knowledge 124
Just plain old rounding 124
Rounding in one direction 126
Leaving All Decimals Behind with INT 131
Leaving Some Decimals Behind with TRUNC 132
Looking for a Sign 133
Ignoring Signs 135
Chapter 8 Advancing Your Math 137
Using PI to Calculate Circumference and Diameter 138
Generating and Using Random Numbers 139
The all-purpose RAND function 139
Precise randomness with RANDBETWEEN 141
Ordering Stems 143
Combining 144
Raising Numbers to New Heights 145
Multiplying Multiple Numbers 146
Using What Remains with the MOD Function 148
Summing Things Up 149
Using SUBTOTAL 149
Using SUMPRODUCT 151
Using SUMIF and SUMIFS 153
Getting an Angle on Trigonometry 156
Three basic trigonometry functions 156
Degrees and radians 157
Part 3 Solving With Statistics 159
Chapter 9 Throwing Statistics a Curve 161
Getting Stuck in the Middle with AVERAGE, MEDIAN, and MODE 162
Deviating from the Middle 167
Measuring variance 167
Analyzing deviations 170
Looking for normal distribution 172
Skewing from the norm 177
Comparing data sets 179
Analyzing Data with Percentiles and Bins 183
Quartile.Inc and Quartile.Exc 183
Percentile.Inc and Percentile.Exc 185
Rank 186
Percentrank 188
Frequency 189
Min and Max 191
Large and Small 193
Going for the Count 195
Count and Counta 195
Countif 196
Chapter 10 Using Significance Tests 199
Testing to the T 200
Comparing Results with an Estimate 204
Chapter 11 Rolling the Dice on Predictions and Probability 209
Modeling 210
Linear model 210
Exponential model 210
Getting It Straight: Using Slope and Intercept to Describe Linear Data 211
What's Ahead: Using Forecast, Trend, and Growth to Make Predictions 215
Forecast 215
Trend 217
Growth 219
Using Norm.Dist and Poisson.Dist to Determine Probabilities 221
Norm.Dist 221
Poisson.Dist 223
Part 4 Dancimc With Data 227
Chapter 12 Dressing Up for Date Functions 229
Understanding How Excel Handles Dates 229
Formatting Dates 231
Making a Date with Date 232
Breaking a Date with Day, Month, and Year 234
Isolating the day 234
Isolating the month 236
Isolating the year 237
Converting a Date from Text 237
Finding Out What Today is 239
Counting the days until your birthday 239
Counting your age in days 240
Determining the Day of the Week 240
Working with Workdays 242
Determining workdays in a range of dates 242
Workdays in the future 244
Calculating Time Between Two Dates with the Datedif Function 244
Chapter 13 Keeping Well-Timed Functions 247
Understanding How Excel Handles Time 247
Formatting Time 248
Keeping Time 250
Converting Text to Time with Timevalue 250
Deconstructing Time with Hour, Minute, and Second 251
Isolating the hour 252
Isolating the minute 253
Isolating the second 253
Finding the Time Now 254
Calculating Elapsed Time Over Days 254
Chapter 14 Using Lookup, Logical, and Reference Functions 257
Testing on One Condition 258
Choosing the Right Value 263
Let's Be Logical 265
Not 265
And and Or 267
Xor 269
Finding Where the Data Is 270
Address 270
Row, Rows, Column, and Columns 274
Offset 276
Looking It Up 278
Hlookup and Vlookup 278
Match and Index 281
Formulatext 286
Numbervalue 286
Chapter 15 Digging Up the Facts 289
Getting Informed with the CELL Function 289
Getting information About Excel and Your Computer System 294
Finding What IS and What IS Not 295
ISERR, ISNA, and ISERROR 296
Is Blank, Isnontext, Istext, and Isnumber 297
Getting to Know Your Type 299
Chapter 16 Writing Home About Text Functions 303
Breaking Apart Text 303
Bearing to the Left 304
Swinging to the Right 305
Staying in the MIDdle 306
Finding the long of it with Len 307
Putting Text Together with Concatenate 308
Changing Text 309
Making money 310
Turning numbers into text 311
Repeating text 314
Swapping text 315
Giving text a trim 319
Making a case 320
Comparing, Finding, and Measuring Text 321
Going for perfection with Exact 321
Finding and searching 323
Chapter 17 Playing Records with Database Functions 327
Putting Your Data into a Database Structure 328
Working with Database Functions 329
Establishing your database 329
Establishing the criteria area 331
Fine-Tuning Criteria with AND and OR 333
Adding Only What Matters with Dsum 335
Going for the Middle with Daverage 335
Counting Only What Matters with Dcount 336
Finding Highest and Lowest with DMIN and DMAX 338
Finding Duplicate Values with DGET 339
Being Productive with DPRODUCT 339
Part 5 The Part of Tens 343
Chapter 18 Ten Tips for Working with Formulas 345
Master Operator Precedence 345
Display Formulas 346
Fix Formulas 348
Use Absolute References 349
Turn Calc On/Turn Calc Off 349
Use Named Areas 351
Use Formula Auditing 352
Use Conditional Formatting 353
Use Data Validation 354
Create Your Own Functions 355
Chapter 19 Ten Functions You Really Should Know 359
Sum 360
Average 360
Count 361
Int and Round 361
Int 361
Round 362
If 362
Now and Today 363
Hlookup and Vlookup 363
Isnumber 364
Min and Max 364
Sumif and Countif 364
Chapter 20 Ten Really Cool Functions 367
Work with Hexadecimal, Octal, Decimal, and Binary Numbers 368
Convert Units of Measurement 369
Find the Greatest Common Divisor and the Least Common Multiple 370
Easily Generate a Random Number 371
Convert to Roman Numerals 371
Factor in a Factorial 371
Determine Part of a Year with Yearfrac 372
Find the Data Type 372
Find the LENgth of Your Text 373
Just in Case 373
Index 375