Calculate Days Since a Date When Another Cell Is Blank in WPS Spreadsheets
Question details
Calculate the number of days since a received date only when the processing-date cell is blank.

- Product
- WPS Spreadsheets
- Device & OS
- not provided
- Scenario
- A spreadsheet tracks received dates and processing dates, and the user wants to count elapsed days for unprocessed items.
- Observed behavior
- The days-passed column should show elapsed days while the processing-date cell is blank and an empty result after a processing date is entered.
Make sure the received-date cell contains a valid spreadsheet date. Identify the received-date and processing-date columns so you can adjust the formula references.
Use IF and ISBLANK to count days for unprocessed items
Calculate elapsed calendar days from the received date only when the processing-date cell is truly empty.
In WPS Spreadsheets, select the days-passed cell for the first record, such as D1. This example uses B1 for the received date and C1 for the processing date.
Type =IF(ISBLANK(C1),TODAY()-B1,"") in D1 and press Enter. Replace B1 and C1 with the appropriate cells in your table.
Drag the fill handle from the bottom-right corner of D1 down the days-passed column to apply the formula to other records.
If the result appears as a date, select the result cells and use Home > Number Format to choose General or Number.

Track unprocessed items in WPS Spreadsheets
Use a simple IF formula to display the days since receipt until a processing date is entered. WPS Spreadsheets can also open and edit Microsoft Excel files.
- 1. Open your spreadsheet: Open WPS Spreadsheets and use Open to select your tracking file.
- 2. Select the days-passed cell: Click the result cell for the first record, such as D1, where B1 contains the received date and C1 contains the processing date.
- 3. Add the formula: Enter =IF(ISBLANK(C1),TODAY()-B1,"") and press Enter. Adjust the cell references for your sheet.
- 4. Apply it to other records: Drag the cell's fill handle down the days-passed column. If needed, select the results and choose General or Number under Home > Number Format.

Frequently Asked Questions
Will the day count update automatically?
TODAY() returns the current date when the spreadsheet recalculates, so the count changes as days pass. If it does not update, check the workbook's calculation settings or recalculate the sheet.
Why does the result look like a date instead of a number?
The result cell may have a date format. Select it and choose General or Number from Home > Number Format.
What if the processing-date cell looks blank but contains a formula?
ISBLANK treats a cell containing a formula as nonblank. If the formula returns an empty string, use =IF(C1="",TODAY()-B1,"") to treat that result as blank.
Does the formula count weekends?
Yes. TODAY()-B1 counts elapsed calendar days, including weekends and holidays. For working days, use NETWORKDAYS with your chosen date range and holiday list.




