Calculation Issues

Calculate Days Since a Date When Another Cell Is Blank in WPS Spreadsheets

Anum MushtaqAnum Mushtaq Dec 2, 2026 869 views

Question details

Calculate the number of days since a received date only when the processing-date cell is blank.

Calculate Days Since a Date When Another Cell Is Blank in WPS Spreadsheets
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the result cell

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.

2
Enter the formula

Type =IF(ISBLANK(C1),TODAY()-B1,"") in D1 and press Enter. Replace B1 and C1 with the appropriate cells in your table.

3
Fill the remaining rows

Drag the fill handle from the bottom-right corner of D1 down the days-passed column to apply the formula to other records.

4
Check the result format

If the result appears as a date, select the result cells and use Home > Number Format to choose General or Number.

Use IF and ISBLANK to count days for unprocessed items
Cells containing formulas: ISBLANK returns FALSE if the processing-date cell contains a formula, even if that formula displays an empty string. In that case, use =IF(C1="",TODAY()-B1,"") instead.
WPS Spreadsheets

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. 1. Open your spreadsheet: Open WPS Spreadsheets and use Open to select your tracking file.
  2. 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. 3. Add the formula: Enter =IF(ISBLANK(C1),TODAY()-B1,"") and press Enter. Adjust the cell references for your sheet.
  4. 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.
Count elapsed days only for items without a processing dateOpen and edit Microsoft Excel XLSX and XLS filesApply the formula to multiple rows with the fill handleUse familiar spreadsheet formulas and formatting tools
microsoft office alternative - wps office

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.