ElyxAI

DATE #VALUE!: Argument Is Not a Number

DATE returns #VALUE! when year, month, or day is text that Excel cannot read as a number, such as a month name. A plain number stored as text, such as "2024", is accepted. A year below 0 or of 10000 or more returns #NUM!, not #VALUE!.

#VALUE!
+DATE

DATE builds a date from three arguments: year, month, and day. Each argument must be a number, or text that is only a number. =DATE("2024","3","15") works. =DATE("2024","March",15) returns #VALUE!, because March is not a number. VALUE cannot convert a month name either. Replace the name with 1 to 12. A month or a day outside the usual range does not return #VALUE!. DATE rolls forward. =DATE(2024,13,1) is 1 January 2025, and =DATE(2024,1,32) is 1 February 2024. An empty cell used as an argument counts as 0, so the date rolls. It does not return #VALUE!. The year is a different error. If year is below 0, or 10000 or greater, DATE returns #NUM!. Years from 0 through 1899 are not rejected: Excel adds 1900 to that number. =DATE(108,1,2) is 2 January 2008. Subtracting two cells that only look like dates is a separate #VALUE!. =A2-B2 fails when either cell is text. DATEVALUE converts a date string that matches the regional date format of this Excel. A string it does not recognize returns #VALUE! as well. Retype the date, or pass numeric year, month, and day to DATE.

Why DATE causes #VALUE!

One argument is text that is not a number

DATE returns #VALUE! when year, month, or day cannot be read as a number. A month name, a word, or a number mixed with a letter does this. Digits stored as text, such as "2024", do not.

=DATE(A2,"March",15) or =DATE("2024a",3,15)

The year is outside the range DATE accepts

This one returns #NUM!, not #VALUE!. Year must not be below 0 and must not be 10000 or greater. A month of 13 or a day of 32 rolls into the next month and is not an error.

=DATE(10000,1,1) returns #NUM!. =DATE(2024,13,1) returns 1 January 2025.

A date stored as text is used in arithmetic

DATE itself is not required for this case. =A2-B2 returns #VALUE! when A2 or B2 is text. DATEVALUE converts a date string that matches your regional format. Any other string returns #VALUE!.

=DATEVALUE(A2)-DATEVALUE(B2) when A2 and B2 are date strings Excel recognizes

Step-by-Step Solution

  1. 1Select the cell and look at the three arguments of DATE in the formula bar.
  2. 2Check each argument for a word or a letter. Month must be a number from the rollover rules, not a name. Use 3, not March.
  3. 3If the cell contains only digits, DATE already accepts it, including digits stored as text. VALUE is useful when you want a real number first: =DATE(VALUE(A2),VALUE(B2),VALUE(C2)). VALUE of a month name still returns #VALUE!.
  4. 4If the error is #NUM!, read the year. Below 0, or 10000 or more, is not a date Excel can build. A year from 0 to 1899 is added to 1900.
  5. 5If the formula is a subtraction of two date cells rather than DATE, those cells are text. DATEVALUE works only when the string matches the regional date format. Otherwise retype the dates or split them into numbers for DATE.
  6. 6An empty argument cell is 0 and the date rolls. It is not the source of #VALUE!.

Concrete Example

Month imported as a name

A project list builds a deadline from three columns: year, month, and day. The month column was filled with names.

Before (error)

=DATE(A2,B2,C2)

After (fixed)

=DATE(A2,3,C2)

Problem: =DATE(A2,B2,C2) returns #VALUE! because B2 contains March. DATE has no month-name argument.

Solution: Replace the month name with its number, 1 through 12, then call DATE.

Prevention Tip

Keep year, month, and day as numbers. Use a date cell or DATEVALUE only when the source is a date string in your regional format.

Free Tools to Fix Your Formulas

Use these free tools to avoid this error:

Frequently Asked Questions

Don’t want to do it by hand? Ask Elyx

Example request

“Fix the #VALUE! error in my DATE formula in column D”

Elyx does it directly in your Excel file.

7 days free · No credit card required

See also