Page 18 - Excel 2007 Bible
P. 18
02_044039 ftoc.qxp 11/21/06 10:53 AM Page xvii
Contents
Memorial Day ......................................................................................................239
Independence Day................................................................................................240
Labor Day ............................................................................................................240
Veterans Day ........................................................................................................240
Columbus Day......................................................................................................240
Thanksgiving Day ................................................................................................240
Christmas Day ......................................................................................................240
Determining the last day of a month ..............................................................................240
Determining whether a year is a leap year ......................................................................241
Determining a date’s quarter............................................................................................241
Time-Related Functions ............................................................................................................241
Displaying the current time ............................................................................................242
Displaying any time ........................................................................................................242
Calculating the difference between two times..................................................................243
Summing times that exceed 24 hours..............................................................................244
Converting from military time ........................................................................................246
Converting decimal hours, minutes, or seconds to a time ..............................................246
Adding hours, minutes, or seconds to a time ..................................................................246
Rounding time values ....................................................................................................247
Working with non-time-of-day values ............................................................................248
Chapter 14: Creating Formulas That Count and Sum. . . . . . . . . . . . . 249
Counting and Summing Worksheet Cells..................................................................................249
Basic Counting Formulas ..........................................................................................................251
Counting the total number of cells..................................................................................252
Counting blank cells ......................................................................................................252
Counting nonblank cells ................................................................................................253
Counting numeric cells ..................................................................................................253
Counting text cells..........................................................................................................253
Counting nontext cells....................................................................................................253
Counting logical values ..................................................................................................253
Counting error values in a range ....................................................................................253
Advanced Counting Formulas ..................................................................................................254
Counting cells by using the COUNTIF function..............................................................254
Counting cells by using multiple criteria ........................................................................255
Using And criteria ................................................................................................256
Using Or criteria ..................................................................................................257
Combining And and Or criteria ............................................................................257
Counting the most frequently occurring entry ................................................................257
Counting the occurrences of specific text........................................................................258
Entire cell contents ..............................................................................................259
Partial cell contents ..............................................................................................259
Total occurrences in a range..................................................................................260
Counting the number of unique values ..........................................................................260
Creating a frequency distribution....................................................................................260
The FREQUENCY function ..................................................................................261
Using formulas to create a frequency distribution ................................................262
Using the Analysis ToolPak to create a frequency distribution ..............................263
Using a pivot table to create a frequency distribution............................................264
xvii