Forum Discussion
Problem with DATEDIF function
Try formatting the result cell as General. Excel sees you are calculating with dates and thinks you want to display the result as a date as well. Dates are stored as numbers, so whatever the outcome of your formula is, it will get displayed as the date that is as many days after 1 January 1900.
By te way, DATEDIF is not needed for this kind of calculation. See attached example.
Riny_van_Eekelen I have a problem in using datedif ,it's not giving total experience properly, Example: it's giving only 5.1 or 5.9 (here 5 stand for year 1 stand for month, it's same with other mentioned results),it's not generating results as 5.11 year ,I request someone to assist me on this
- Riny_van_EekelenJul 29, 2022Platinum Contributor
9606806084 You need to clarify and give more detail. DATEDIF is not an official Excel function and know to to give wring results in certain circumstances, what's your formula? How does the underlying data look like?