When using DAYS, the most common issues fall into 3 areas: formula errors, argument entry, and unexpected results; the answers below help you troubleshoot them quickly.
FAQ
What should I do if the DAYS function shows an error after I enter it?
- Check whether the formula starts with
=. - Make sure the parentheses are paired correctly and the arguments use the correct separator.
- Confirm that the number and type of arguments match the function requirements.
- Re-enter the formula with the syntax guidance shown after typing
=DAYS(.
How can I view guidance for the DAYS function?
- Select the target cell.
- Type
=DAYS(. - Review the function guidance that appears automatically.
- Use the guidance to confirm the argument order and input method.
Why is the DAYS result not correct?
- Check whether the referenced cells contain valid dates.
- Confirm that the end date and start date are entered in the order you need.
- Check for text-formatted numbers or circular references in the worksheet.
- Press F9 to recalculate and review the result again.
Glossary
| Term | Definition |
|---|---|
| DAYS | A date function that returns the number of days between two dates. |
| Formula bar | The area in a spreadsheet where you enter or edit formulas. |
| Syntax guidance | On-screen guidance that shows the argument structure and input hints for a function. |
| Circular reference | A formula that directly or indirectly refers to itself and may cause calculation issues. |