How to Leave Return Date and Overdue Days Blank in Excel
Question details
The user needs a method to prevent Excel from calculating and displaying false return dates or overdue days when the initial loan date cell is empty.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Managing a library or equipment loan tracking spreadsheet where some entries do not yet have an active checkout date.
- Observed behavior
- Excel performs calculations on empty cells by treating them as zero, resulting in incorrect date values (like 1/0/1900) or false overdue day counts instead of remaining blank.
Ensure your spreadsheet columns are clearly organized with dedicated columns for the Loan Date, Return Date, and Overdue Days, and that they are formatted appropriately as Dates or Numbers.
Use the IF Function to Check for Blank Cells
Wrap your existing date calculations in an IF statement to return an empty string if the source loan date is missing.
By default, Excel treats blank cells as a zero value in mathematical operations. For dates, a zero value evaluates to January 0, 1900. To fix this, you can instruct Excel to check if the source cell is blank first, and only perform the calculation if a valid date exists.
Click on the cell where your Return Date is calculated (for example, H2).
Enter the formula `=IF(G2="","",G2+7*3)`. This checks if the Loan Date in G2 is blank. If it is, it leaves H2 blank; otherwise, it adds 21 days to the loan date.
Select your Overdue Days cell (for example, I2) and enter `=IF(G2="","",TODAY()-H2)`. This prevents the overdue calculation from running unless a valid loan date is present.
Click the small square fill handle at the bottom right corner of cells H2 and I2, then drag downwards to apply these conditional formulas to the rest of your library log.

Manage Loan Dates and Overdue Calculations with WPS Spreadsheet
Easily track library loans, calculate return dates, and manage overdue items using the powerful IF functions built into WPS Spreadsheet.
- 1. Open your loan tracker: Launch WPS Office and open your library or inventory tracking workbook.
- 2. Apply conditional formula: Select the return date cell and input `=IF(G2="","",G2+21)` to suppress calculations on empty rows.
- 3. Extend to other rows: Double-click or drag the fill handle downward to apply the blank-check formula to the rest of the column instantly.

Frequently Asked Questions
Why does Excel show 1/0/1900 when the date cell is blank?
In Excel, an empty cell is often evaluated as a zero in calculations. Because Excel's date system starts on January 1, 1900, a zero value is formatted and displayed as this default starting date. Using an IF function to return an empty string ("") prevents this visual error.
Can I use ISBLANK instead of the equals quote-quote ("") method?
Yes, you can write the formula as `=IF(ISBLANK(G2),"",G2+21)`. This functions exactly the same way to ensure the calculation cell remains empty if no loan date is entered.
How do I hide negative overdue days if an item is not yet due?
You can use the MAX function alongside your IF formula. For example, `=IF(G2="","",MAX(0,TODAY()-H2))` ensures that the overdue days will display as 0 instead of a negative number if the return date has not yet passed.




