Date calculations in Excel
Excel supports two date systems. Each date system uses a unique starting date from which all other workbook dates are calculated. Excel 2008 for Mac and earlier Excel for Mac versions calculate dates based on the 1904 date system. Excel for Mac 2011 uses the 1900 date system, which guarantees date compatibility with Excel for Windows. All versions of Excel for Windows calculate dates based on the 1900 date system.
Note Dates that are copied as part of a chart cannot be converted from the 1904 date system and will vary by approximately four years. You must convert these dates manually.
The 1900 date system
In the 1900 date system, dates are calculated by using January 1, 1900 as a starting point. When you enter a date, it is converted into a serial number that represents the number of days elapsed since January 1, 1900. For example, if you enter July 5, 2011, Excel converts the date to the serial number 40729. This is the default date system in Excel for Mac 2011. If you choose to convert the pasted data, Excel adjusts the underlying values, and the pasted dates match the dates that you copied.The 1904 date system
In the 1904 date system, dates are calculated by using January 1, 1904 as a starting point. When you enter a date, it is converted into a serial number that represents the number of days elapsed since January 1, 1904. For example, if you enter July 5, 2011, Excel converts the date to the serial number 39267. This is the default date system in earlier versions of Excel for Mac. If you choose not to convert the data and keep the 1904 date system, the pasted dates vary from the dates that you copied.The difference between the date systems
Because the two date systems use different starting days, the same date is represented by different serial numbers in each date system. For example, July 5, 2011 can have two different serial numbers, as follows:Date System | Serial number |
---|---|
1900 | 40729 |
1904 | 39267 |
Set date system preferences
If you frequently work with files that were created in Excel 2008 for Mac and prefer not to change the date system or to encounter this message every time, you can set the 1904 date system as the default.- On the Excel menu, click Preferences.
- Under Formulas and Lists, click Calculation .
- Under Workbook options, select the Use the 1904 date system check box.
Comments
Post a Comment