4.5 (8 reviews)
Get a hint
Use the YEAR and YEARFRAC Functions
1. Insert the YEAR function in cell F9 in the 1-Date Logic worksheet. Use cell E9 for the Serial_number argument.
2. Insert the YEARFRAC function in cell G9 to enter =YEARFRAC(E9,F2) to calculate difference between an employee's hire date and the date in cell F2.
3. Change the reference of F2 in the YEARFRAC function to the mixed reference F$2.
4. Select the range F9:G9, the range containing the YEAR and YEARFRAC functions and use Auto Fill to copy the functions to the range F10:G33. Select Fill Without Formatting to preserve the formatting, including borders.
1. Insert the YEAR function in cell F9 in the 1-Date Logic worksheet. Use cell E9 for the Serial_number argument.
2. Insert the YEARFRAC function in cell G9 to enter =YEARFRAC(E9,F2) to calculate difference between an employee's hire date and the date in cell F2.
3. Change the reference of F2 in the YEARFRAC function to the mixed reference F$2.
4. Select the range F9:G9, the range containing the YEAR and YEARFRAC functions and use Auto Fill to copy the functions to the range F10:G33. Select Fill Without Formatting to preserve the formatting, including borders.
Click the card to flip 👆