Your boss in the human resources department asks you to write a function that calculates the length of time that employees have been with the firm, using the DATEDIF function. Assume that C2 contains the hire date for a given employee and that cell $AE$2 contains the cut-off date against which to compare the hire date to determine length of service.
-For a separate service recognition program,you need to calculate the length of service in complete years.What is the correct formula?
A) =DATEDIF(C2, $AE$2, "yr")
B) =DATEDIF($AE$2, C2, "year")
C) =DATEDIF($AE$2, C2, "yr")
D) =DATEDIF(C2, $AE$2, "y")
Correct Answer:
Verified
Q60: Using the VLOOKUP function,an exact match lookup
Q61: To highlight duplicate values,in the Styles group
Q62: You can use _ to reference cells
Q63: Evaluate the formula =AND(G2="FT",M2>=1) based upon the
Q66: For conditional formatting,a formula must be in
Q69: The _ function calculates the average of
Q70: You have been using a variety of
Q82: Each time you create a conditional format
Q92: The COUNTIF function is sometimes referred to
Q97: In the Edit Formatting Rule dialog box
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents