Select **Number** under **The data type returned from this formula is:** option in column settings. **Reference**: [DATEDIF function](https://support.microsoft.com/en-us/office/datedif-function-25dba1a4-2812-480b-84dd-8b32a451b35c)