Hello everyone,
Need help with the formula to calculate total length of the contract in Years and months
I tried using =DATEDIF(F6,G6,"Y")&" Yrs" &DATEDIF(F6,G6, "YM") &"M" but it gives me below for the example above. It shows one less month.
It gives me difference and deducts a month. Any help would be appreciated. Thanks.
SR
Need help with the formula to calculate total length of the contract in Years and months
Effective date | End date | Length of contract |
1/1/2024 | 11/30/2026 | 2 Yrs and 11 months |
1/1/2024 | 12/31/2026 | 3 Yrs and 0 months |
I tried using =DATEDIF(F6,G6,"Y")&" Yrs" &DATEDIF(F6,G6, "YM") &"M" but it gives me below for the example above. It shows one less month.
2 Yrs10M |
2 Yrs11M |
SR