Formula Errors

Create Excel Dates from Text Month, Day, and Year Columns

Khadija KhanKhadija Khan Nov 25, 2026 869 views

Question details

Create an Excel date from separate month, day, and year columns while keeping month names as text.

Create Excel Dates from Text Month, Day, and Year Columns
Product
Microsoft Excel
Device & OS
not provided
Scenario
The month column contains names such as January, while the day and year are stored in separate columns.
Observed behavior
A DATE formula returns #VALUE! when it receives a text month name instead of a month number.
Before you start

Identify the month, day, and year cells in your worksheet; the example below uses F20, G20, and H20. Month names should be in English, and numeric months should be stored as numbers.

Solution 1Recommended

Convert text or numeric months with MATCH and DATE

Use this formula when the month column contains English month names, abbreviations, or numeric values.

1
Select the result cell

Click an empty cell where you want the combined date to appear.

2
Enter the formula

Enter =DATE(H20,IF(ISNUMBER(F20),F20,MATCH(LEFT(TRIM(F20),3),{"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"},0)),G20). Replace F20, G20, and H20 with your month, day, and year cell references if needed.

3
Format and fill the dates

On the Home tab, choose a Date format from the Number Format list, then drag the cell's fill handle down to apply the formula to other rows.

Convert text or numeric months with MATCH and DATE
Check the source values: The formula leaves the month column unchanged. It accepts numeric months stored as numbers, but a numeric month stored as text, such as "1", must first be converted to a number.
Work with dates in WPS Spreadsheets

Create dates from month names in WPS Spreadsheets

Use DATE and MATCH in WPS Spreadsheets to combine month names, days, and years into usable dates without changing the source month column.

  1. 1. Open the workbook: Open WPS Spreadsheets and choose Open to select your Excel workbook.
  2. 2. Enter the date formula: Click an empty result cell and enter =DATE(H20,IF(ISNUMBER(F20),F20,MATCH(LEFT(TRIM(F20),3),{"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"},0)),G20), adjusting the cell references as needed.
  3. 3. Apply a date format: Select the result cell and choose a date format from the Home tab's number format options.
  4. 4. Fill and save: Drag the fill handle down to calculate the remaining rows, then use File > Save As to save the workbook.
Convert English month names and numeric months into datesKeep the original text month column intactOpen and save Microsoft Excel XLSX filesFormat and fill date formulas across multiple rows
microsoft office alternative - wps office

Frequently Asked Questions

Why does DATE return #VALUE! for January?

DATE expects a numeric month argument, not a month name. Use MATCH to convert the name to a month number before passing it to DATE.

Can I keep the month column as text?

Yes. The formula reads the month name from F20 and converts it within the formula; it does not change the source cell.

Why does the result appear as a number instead of a date?

Excel stores dates as serial numbers. Select the result cell and choose a Date format from the Home tab's Number Format list.

What if the formula returns #N/A?

Check the month cell for a misspelled or unsupported name. The MATCH formula recognizes the first three letters of English month names; numeric months must be stored as numbers.

Can I use the formula in an Excel table?

Yes. Replace the cell references with structured references such as [@MONTH], [@DAY], and [@YEAR] in the corresponding parts of the formula.