A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Dear @Selina M,
Thank you for posting your question in the Microsoft Q&A forum.
Based on your description, you’re trying to calculate the number of days between two dates in Excel (3/1/2026 and 3/15/2026), but subtraction returns 1/0/1900 instead of 14.
Here are some suggestions you can refer to:
Use the right subtraction order and format the result as a number
=EndDate - StartDate
In case your start date is 3/1/2026 and end date is 3/15/2026
Kindly note: If the answer cell is formatted as Date, Excel may try to display the numeric result as a date. Change the result cell format to General or Number: Home > Number format dropdown > General/Number.
If DATEDIF errors: your “dates” are probably stored as text
When dates are stored as text (often after copy/paste/import, or because the cell was formatted as Text), Excel formulas like subtraction or DATEDIF can return errors or unexpected results.
For more information, you can refer to this article Convert dates stored as text to dates
Correct DATEDIF
If Start = A2 and End = B2:
=DATEDIF(A2, B2, "d")
I hope information above meet your expectations and can help you resolve the issue. Feel free to reach out or leave the comment below if you have any other questions.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.