Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel 1900 Date System: Calculator & Fix Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Excel's 1900 date system stores dates as sequential serial numbers starting at 1 for January 1, 1900, which means you can build a working date calculator with simple subtraction and addition. The catch is that Excel deliberately treats 1900 as a leap year, so serial 60 is a non-existent February 29, 1900, and every date from March 1, 1900 onward is off by one day compared with the real calendar. To calculate correctly, use Excel's built-in date functions rather than raw serial arithmetic across that boundary, and switch the workbook to the 1904 system only if you are working with old Mac files that already use it.

What You'll Need

  • Excel for Windows, Mac, or the web (the 1900 system is the default on all of them).
  • A blank workbook, or one where you can test formulas without affecting live data.
  • Basic familiarity with entering formulas and formatting cells as dates.

Step-by-Step

  1. Confirm which date system the workbook uses. On Windows, go to File > Options > Advanced and scroll to the "When calculating this workbook" section; the "Use 1904 date system" checkbox tells you. On Mac, go to Excel > Preferences > Calculation. Labels can differ slightly by version and platform. If the box is cleared, you are on the 1900 system, which is what most guides assume.
  2. See the serial numbers for yourself. Type 1/1/1900 in cell A1, then select A1 and press Ctrl+1 (Cmd+1 on Mac) and choose General or Number. The cell shows 1. Type 3/1/1900 in A2; it shows 61. That gap is the source of the leap-year bug: serial 60 is February 29, 1900, a date that never existed.
  3. Build a simple day-difference calculator. Put a start date in B1 and an end date in B2, both formatted as dates. In B3 enter =B2-B1 and format B3 as General or Number. The result is the number of days between them. This works reliably for any dates after March 1, 1900, because both serials carry the same one-day offset.
  4. Add or subtract days from a date. In C1 enter =B1+30 to get the date 30 days later, or =B1-7 for a week earlier. Format C1 as a date. Excel rolls months and years correctly, so you do not need to know month lengths.
  5. Use DATEDIF for whole months or years. Enter =DATEDIF(B1,B2,"m") for complete months or =DATEDIF(B1,B2,"y") for complete years. DATEDIF is an older function but still works in current Excel; it does not appear in the function list, so type it manually.
  6. Use EDATE and EOMONTH for month arithmetic. =EDATE(B1,3) gives the same day three months later, and =EOMONTH(B1,0) gives the last day of that month. These handle month-end edge cases that plain addition does not.
  7. Check the leap-year boundary before trusting a result. If your calculation crosses February 1900, compare the output with a known calendar. Any date from March 1, 1900 onward will be one day later in serial terms than a true calendar would give, but because both start and end dates shift equally, differences in days remain correct. The error only matters when you convert a serial to a real-world date outside Excel.
  8. Switch to the 1904 system only when needed. If you open an old Mac workbook and every date is four years and one day off, enable "Use 1904 date system" in the same options location. Do this before entering new dates, because switching shifts all existing serial dates by 1,462 days. Save a copy first.

Common Mistakes

  • Typing dates as text. If a date is left-aligned in the cell, Excel stored it as text and subtraction returns an error. Re-enter it in a recognised format or use Date > Text to Columns to convert.
  • Assuming serial 60 is real. February 29, 1900 does not exist, but Excel accepts it. Do not use it as a reference point in formulas.
  • Mixing date systems between workbooks. Copying dates from a 1904-system workbook into a 1900-system workbook shifts them by 1,462 days. Check both files before pasting.
  • Formatting the result as a date. A subtraction result formatted as a date shows a date near 1900 instead of a day count. Format the result cell as General or Number.
  • Using DATEDIF with a start date later than the end date. It returns a #NUM! error; swap the arguments or add a check.

Tips

  • Press Ctrl+` (the grave accent) to toggle between showing formulas and showing values, which makes serial numbers easy to inspect.
  • Use =TODAY() for a live current date and =NOW() for date and time; both update when the workbook recalculates.
  • For age or tenure calculations, combine DATEDIF with TODAY: =DATEDIF(B1,TODAY(),"y").
  • Keep a small test block with known dates (1/1/1900, 3/1/1900, 12/31/1999) so you can spot a date-system change quickly.
  • When sharing workbooks, note the date system in a cell comment so recipients know which convention applies.

Troubleshooting

  • Dates appear as five-digit numbers. The cell is formatted as General or Number. Select it and apply a Date format via Ctrl+1.
  • All dates are off by exactly four years and one day. The workbook is on the opposite date system from the source. Toggle the 1904 checkbox and re-check a known date.
  • Subtraction returns #VALUE!. One of the cells contains text, not a date. Use ISNUMBER to test each cell; a date returns TRUE.
  • DATEDIF gives #NUM!. The start date is after the end date, or one argument is text.
  • Results changed after copying from another file. Paste as Values only, then re-enter dates manually if the shift persists.

Frequently Asked Questions

Why does Excel think 1900 was a leap year?

For compatibility with early spreadsheet software, Excel keeps February 29, 1900 as serial 60 even though 1900 was not a leap year in the Gregorian calendar. The error is intentional and preserved for backward compatibility.

Does the 1900 bug affect day differences?

No, as long as both dates are after February 1900. Both serials carry the same one-day offset, so subtraction gives the correct number of days.

How do I know if my workbook uses the 1904 system?

Check File > Options > Advanced (Windows) or Excel > Preferences > Calculation (Mac) for the "Use 1904 date system" checkbox. If it is ticked, the workbook uses 1904.

Can I use the 1904 system on Windows?

Yes, the option is available on Windows and Mac, but it is mainly for compatibility with legacy Mac files. Most users should stay on the 1900 system.

What is the earliest date Excel can handle?

January 1, 1900 (serial 1) on the 1900 system, and January 2, 1904 (serial 0) on the 1904 system. Earlier dates are stored as text.

Why does DATEDIF not appear in the function list?

DATEDIF is kept for compatibility with older spreadsheets, so Excel does not list it in the Insert Function dialog. Type it manually and it works normally.