How to Use the DAYS Function in WPS on Windows

Last updated:July 17, 2026

Use the DAYS function with 4 how-to topics, including entering the function, filling in parameters, referencing cells, and checking results; 4 topics are available without membership and 0 are membership-related.

How-to Index

How-to Guide

1. Enter the DAYS function

Entry point: Formulas tab → formula bar

  1. Open AirSheet and select the cell where you want to show the result.
  2. Enter = to start editing a formula.
  3. Type DAYS(.
  4. Review the syntax prompt to confirm the function name and parameter order.

Success Criteria

  • UI state: =DAYS( appears in the cell or formula bar.
  • Next actions: You can continue entering the end date and start date parameters.

Tips While Using

  • Common mistakes: If you do not enter = first, the content may be treated as plain text.
  • Environment limits: You need to be in an editable AirSheet cell.

2. Fill in date parameters to calculate

Entry point: formula bar or target cell

  1. After DAYS(, enter the end date parameter first.
  2. Enter a comma to separate the parameters.
  3. Enter the start date parameter.
  4. Type the closing parenthesis ) and press Enter.

Success Criteria

  • UI state: The target cell shows the calculated number of days.
  • Next actions: You can copy the formula to other cells.

Tips While Using

  • Common mistakes: Reversing the parameter order changes the direction of the result.
  • Environment limits: The date parameters need to use a date format the spreadsheet can recognize.

3. Reference cells to calculate a date difference

Entry point: formula bar

  1. Select the result cell and enter =DAYS(.
  2. Click the cell that contains the end date to insert the first reference.
  3. Enter a comma, then click the cell that contains the start date.
  4. Type the closing parenthesis and press Enter to finish the calculation.

Success Criteria

  • UI state: The formula shows cell references, and the result cell returns a day value.
  • Next actions: When the referenced dates change, the result updates automatically.

Tips While Using

  • Common mistakes: If you reference text instead of a date cell, the result may be abnormal.
  • Environment limits: For cross-sheet references, confirm that the reference address is correct.

4. Check results and common errors

Entry point: result cell → formula bar

  1. After the calculation, check whether the result matches the expected number of days.
  2. If an error appears, check whether the parentheses are paired correctly.
  3. Check whether the two parameters are separated by a comma.
  4. Confirm that the referenced cells contain valid dates, then press Enter again.

Success Criteria

  • UI state: The error message disappears or the result returns to a numeric value.
  • Next actions: You can continue editing the formula or copy it to another area.
  • No side effects: The original date cells are not changed during the check.

Tips While Using

  • Common mistakes: Using numeric text as a date can produce an unexpected result.
  • Environment limits: If the sheet does not refresh right away, confirm the formula input state again.