XL97: Readme.txt for Date Migration Wizard for MS Excel 97Last reviewed: January 15, 1998Article ID: Q177197 |
The information in this article applies to:
SUMMARYThis article contains the text of the Readme.txt file that is included with the Microsoft Date Migration Wizard for Microsoft Excel 97. For more information about the Date Migration Wizard, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q176943 TITLE : XL97: Using the Date Migration Wizard in Microsoft Excel 97 MORE INFORMATION
---------------------------------------- MICROSOFT EXCEL 97 DATE MIGRATION WIZARD December 1997 ---------------------------------------- (c) Microsoft Corporation, 1997The Date Migration Wizard is an add-in program for Microsoft Excel 97 that you can use to scan workbooks for worksheet functions that accept date arguments. Dates entered as text may produce different results than they did in previous versions. The unexpected results that may occur are due to a change in the date algorithm in Excel 97. In Excel, you can enter dates more quickly by typing two digits for the year. When you enter a two-digit year, Excel interprets the century the date belongs to according to a date algorithm. Because many people enter dates that are 30 years in the future, Microsoft changed the date algorithm in Excel 97 to more accurately interpret dates through the year 2029. While text dates are acceptable in date-related functions, they are uncommon. A "text date" is either a date that has been entered within quotation marks ( " " ) as an argument within a function or any text string that Excel can recognize as a date. For example, if you format a cell as text and then type in a date, the result is a text date. (If you type a date into a blank cell with no existing number format, the result is a numeric-value date.) Excel stores most dates as numeric values, so they are not impacted by issues affecting text dates. In some cases -- for example, data imported from other sources, such as mainframe databases -- dates may be imported as text. For more information about how Excel works with dates, see the following Excel Help topics:
How Microsoft Excel performs date and time calculations Tips on entering dates and timesFor more information about converting text-formatted dates to general formatted dates, see the following Excel Help topic
Troubleshoot formatting numbers, dates, and timesand then click:
Numbers aren't displayed or calculated as numeric values CONTENTSBackground Affected functions Additional notes Instructions Additional information about the Interactive Scan option Problem categories
BACKGROUNDFunctions that use text dates with a two-digit year between 20 and 29 are interpreted differently in Microsoft Excel 97 than in previous versions. The following algorithm is used to interpret these dates in Excel 95 and earlier:
Two-digit year Century assumed Example Result -------------- --------------- ------- ------ <= 19 2000 1/1/15 January 1, 2015 > 19 1900 1/1/20 January 1, 1920In Excel 97, the algorithm was changed to:
Two-digit year Century assumed Example Result -------------- --------------- ------- --------------- <= 29 2000 1/1/20 January 1, 2020 > 29 1900 1/1/30 January 1, 1930The Date Migration Wizard scans your workbooks for worksheet functions that accept text dates as arguments. The wizard reports the functions it encounters so that you can validate the accuracy of the results of these functions under the new algorithm in Excel 97.
AFFECTED FUNCTIONSThe following worksheet functions accept text dates in one or more of their arguments. These functions are potentially affected by date migration issues.
ACCRINT ACCRINTM AMORDEGRC AMORLINC COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD DATEVALUE DAY DAYS360 DISC DURATION EDATE EOMONTH INTRATE MDURATION NETWORKDAYS ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD PRICE PRICEDISC PRICEMAT RECEIVED TBILLEQ TBILLPRICE TBILLYIELD WEEKDAY WEEKNUM WORKDAY XIRR XNPV YEAR YEARFRAC YIELD YIELDDISC YIELDMATThe Date Migration Wizard locates all instances of these functions, examines each one, and reports the functions that contain two-digit years within the range 20 through 29. If you want the wizard to report all instances of these functions, select the Display All Date Functions option. The wizard ignores any instances that contains four-digit years. Note: The wizard does not locate or examine the following date functions: DATE, DAY, MONTH, NOW, and TODAY. These functions are unaffected by the change in the date algorithm in Excel 97.
ADDITIONAL NOTES
INSTRUCTIONSAfter you download DateMig1.exe from the Microsoft Software Library and double-click it to extract DateScan.xla, the Date Migration Wizard, you must copy the wizard and the ReadMe.txt file to the proper folder, and then load the wizard before you can run it.
To copy and load the wizard
To run the wizardNOTE: For performance reasons, do not switch to another program while the Date Migration Wizard is running. You must leave Microsoft Excel running in the foreground until the wizard is finished.
The Interactive Scan option requires that the open workbook, and all worksheets within it, be unhidden and unprotected. When you select the Interactive Scan option, the wizard tries to unhide all worksheets and remove all protections. If the workbook or any worksheets are password protected, the wizard asks you to supply a password. If you cannot supply the correct password, the interactive scan will end. All hidden states and/or protection settings modified by the wizard are restored when the interactive scan ends. NOTE: Some of the functions listed in the "Affected Functions" list earlier in this readme are part of the Analysis ToolPak. If formulas in your worksheet display the #NAME! error, the Analysis ToolPak may not be installed. To learn more about installing the Analysis ToolPak, see the Excel Help topic "Install and use the Analysis ToolPak." The Date Migration toolbar appears when the scan begins. Use this toolbar to do the following:
PROBLEM CATEGORIESThe Date Migration Wizard reports problems by using the following messages in the Category column in a report of the workbook that is currently open, and during an interactive scan.
Message Description ------------------------------------------------------------------ Known problem The cell contains a function from the "Affected Functions" list earlier in this readme that contains a two-digit year in the range 20 to 29 (inclusive). Potential problem The cell contains nested functions or formulas with multiple date functions. These are always considered potential problems. Not currently a The function in the formula is not a problem. problem If the function in the formula contains a four-digit year or the two-digit year is not within the affected range of dates, then the function is not a problem. Multiple matches The cell contains more than one date function from the "Affected Functions" list earlier in this readme.In a Folder Scan report, the following columns are displayed.
Column Description --------------------------------------------------------------- Known The number of cells that contain formulas with date problems Might The number of cells that contain date formulas that pose potential problems Don't The number of cells that contain date formulas that are not a problem |
Additional query words: XL97 2019 2020 2029 2030 1919 1920 1929 1930 2000
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |