Mhelp4Ucom‎ > ‎Office 2007 ▼‎ > ‎Excel 2007 ▼‎ > ‎

How to use the YEARFRAC formula

                                                    Contact us for Site Advertising Rates & Metrics    

                                                                           

                                                                                                                                             Report Errors & Bugs

 
 


                      How to return the number of years between two dates using formulas

                      This Mhelp clip will show you how to use the YEARFRAC formula in Excel. This is useful if you are working with year  formatting.

                                                                                   This Mhelp clip has twenty steps.
                                                                                   1 - Click cell A3.
                                                                                   2 - Type the start date.
                                                                                   3 - Click cell B3.
                                                                                   4 - Type the end date.
                                                                                   5 - Click cell C3.
                                                                                   6 - Enter the type of day counting to use.
                                                                                   7 - Click the cell where you want to display the answer.
                                                                                   8 - Click the Formulas tab.
                                                                                   9 - Click Date & Time. A menu will appear.
                                                                                10 - Click YEARFRAC. A dialog box will appear.
                                                                                11 - Click the Start_date button.
                                                                                12 - Click cell A3.
                                                                                13 - Click the formula button.
                                                                                14 - Click the End_date button.
                                                                                15 - Click cell B3.
                                                                                16 - Click the formula button.
                                                                                17 - Click the Basis button.
                                                                                18 - Click cell C3.
                                                                                19 - Click the formula button.
                                                                                20 - Click OK. The answer will be displayed in the cell selected.

                                                                          This concludes the Mhelp clip.