DATEDIF with "y" gives complete years and "ym" gives the leftover months. Concatenating them produces a tenure like "5y 4m". Replace TODAY() with an end date for past employees.
=DATEDIF(HireDate, TODAY(), "y")→5満勤続年数。
Append DATEDIF(A2, TODAY(), "md") & "d" for the leftover days.
独自のデータに対応する数式が必要ですか?
やりたいことを普段使っている言葉で説明するだけで、ExcelGPTが数式の作成、解説、検証を行います。無料で開始でき、プラグインも不要です。