Page 17 - Excel 2007 Bible
P. 17

02_044039 ftoc.qxp  11/21/06  10:53 AM  Page xvi
                                             Contents
                                                       Counting characters in a string ......................................................................................214
                                                       Changing the case of text ................................................................................................214
                                                       Extracting characters from a string..................................................................................215
                                                       Replacing text with other text ........................................................................................216
                                                       Finding and searching within a string ............................................................................216
                                                       Searching and replacing within a string ..........................................................................217
                                                  Advanced Text Formulas ..........................................................................................................217
                                                       Counting specific characters in a cell ..............................................................................217
                                                       Counting the occurrences of a substring in a cell ............................................................217
                                                       Extracting a filename from a path specification ..............................................................218
                                                       Extracting the first word of a string ................................................................................218
                                                       Extracting the last word of a string..................................................................................218
                                                       Extracting all but the first word of a string ......................................................................219
                                                       Extracting first names, middle names, and last names ....................................................219
                                                       Removing titles from names............................................................................................220
                                                       Creating an ordinal number ............................................................................................220
                                                       Counting the number of words in a cell..........................................................................220
                                             Chapter 13: Working with Dates and Times . . . . . . . . . . . . . . . . . 223
                                                  How Excel Handles Dates and Times ........................................................................................223
                                                       Understanding date serial numbers ................................................................................223
                                                       Entering dates ................................................................................................................224
                                                       Understanding time serial numbers ................................................................................226
                                                       Entering times ................................................................................................................227
                                                       Formatting dates and times ............................................................................................228
                                                       Problems with dates........................................................................................................229
                                                            Excel’s leap year bug ............................................................................................229
                                                            Pre-1900 dates......................................................................................................229
                                                            Inconsistent date entries ......................................................................................230
                                                  Date-Related Functions ............................................................................................................230
                                                       Displaying the current date ............................................................................................231
                                                       Displaying any date ........................................................................................................231
                                                       Generating a series of dates ............................................................................................232
                                                       Converting a nondate string to a date..............................................................................233
                                                       Calculating the number of days between two dates ........................................................233
                                                       Calculating the number of work days between two dates................................................234
                                                       Offsetting a date using only work days............................................................................234
                                                       Calculating the number of years between two dates........................................................235
                                                       Calculating a person’s age................................................................................................236
                                                       Determining the day of the year......................................................................................237
                                                       Determining the day of the week ....................................................................................237
                                                       Determining the date of the most recent Sunday ............................................................237
                                                       Determining the first day of the week after a date ..........................................................237
                                                       Determining the nth occurrence of a day of the week in a month....................................238
                                                       Calculating dates of holidays ..........................................................................................238
                                                            New Year’s Day ....................................................................................................239
                                                            Martin Luther King, Jr. Day ..................................................................................239
                                                            Presidents’ Day ....................................................................................................239
                                      xvi
   12   13   14   15   16   17   18   19   20   21   22