Formula Errors

Increment a First-of-Month Date by One Day in Excel

Olivia MillerOlivia Miller Dec 2, 2026 868 views

Question details

Determine whether a date is the first day of a month and add one day when it is.

Increment a First-of-Month Date by One Day in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains dates, and the user wants a result only when a date falls on the first of a month.
Observed behavior
The result should be the next day for a first-of-month date and blank for other dates.
Before you start

Make sure A2 contains a valid Excel date rather than text. Choose an empty cell for the formula so the original date remains unchanged.

Solution 1Recommended

Use IF and DAY to increment first-of-month dates

Use this formula when you want the next day for first-of-month dates and a blank result for all other dates.

1
Enter the formula

Select an empty result cell, such as C2, and enter =IF(DAY(A2)=1,A2+1,""). Replace A2 with the cell containing your date if necessary.

2
Format the result as a date

Select C2, then choose Home > Number Format > Short Date so the result appears as a date rather than a serial number.

3
Apply it to more rows

Drag the fill handle from the bottom-right corner of C2 down the column to check additional dates in column A.

Use IF and DAY to increment first-of-month dates
What the formula returns: For a date such as May 1, the formula returns May 2. For dates that are not the first of a month, it returns an empty string.
Work with dates in WPS Spreadsheets

Increment first-of-month dates in WPS Spreadsheets

Use the same IF and DAY formula in WPS Spreadsheets to identify first-of-month dates and return the following day.

  1. 1. Open your worksheet: Open WPS Spreadsheets and use Open to select your workbook.
  2. 2. Enter the formula: Select an empty cell such as C2 and enter =IF(DAY(A2)=1,A2+1,""). Adjust A2 if your date is in a different cell.
  3. 3. Format the result: Select the result cell and use the number format menu on the Home tab to apply a date format.
  4. 4. Fill additional rows: Drag the result cell's fill handle down to apply the formula to other dates.
Apply a familiar formula to check and increment datesOpen and save Microsoft Excel XLSX filesUse a familiar spreadsheet interfaceGet started with the free version of WPS Office
microsoft office alternative - wps office

Frequently Asked Questions

What does the formula return for dates that are not the first of the month?

It returns an empty string, so the result cell appears blank. For a first-of-month date, it returns the following day.

Why does the result show a number instead of a date?

Excel stores dates as serial numbers. Select the result cell and choose Home > Number Format > Short Date to display it as a date.

How do I apply the formula to an entire list of dates?

Enter the formula in the first result cell, such as C2, then drag its fill handle down. The A2 reference will adjust for each row.

Can I keep the original date when it is not the first of the month?

Yes. Use =IF(DAY(A2)=1,A2+1,A2) in the result cell, then format that cell as a date.