Hi All, I am looking for a dateif formula for Length of service in position
W14 is the Start Date
X14 is the End Date
AC is the start date of new job title (the dates are only added when the person has changed job titles otherwise it will be blank)
This is my current formula
=IFERROR(IF(DATEDIF($W14,$X14,"y")=0,"",DATEDIF($W14,$X14,"y")&"y ")&IF(DATEDIF($W14,$X14,"ym")=0,"",DATEDIF($W14,$X14,"ym")&" m "),IF(DATEDIF($AC14,TODAY(),"y")=0,"",DATEDIF($AC14,TODAY(),"y")&"y ")&IF(DATEDIF($AC14,TODAY(),"ym")=0,"",DATEDIF($AC14,TODAY(),"ym")&" m "))
Bookmarks