Works: Adding or Subtracting Days in Spreadsheet or Database (77000)
The information in this article applies to:
- Microsoft Works 2.0
- Microsoft Works 2.0a
- Microsoft Works 3.0
- Microsoft Works 3.0a
- Microsoft Works 3.0b
- Microsoft Works 4.5
- Microsoft Works 4.5a
- Microsoft Works for Windows 95, version 4.0
- Microsoft Works for Windows 95, version 4.0 4.0a
This article was previously published under Q77000 SUMMARY
In Microsoft Works, the following formula can be used to add or subtract a
certain number of years, months, and/or days to a date in a Database or
Spreadsheet.
NOTE: In the formulas below, years, months, and days are integers, and "ref" is a spreadsheet cell reference or database field name.
=Date(Year(ref)+years,Month(ref)+months,Day(ref)+days)
To simplify the formula for use with days only, use the following:
Modification Type: | Major | Last Reviewed: | 11/15/2004 |
---|
Keywords: | kbinfo KB77000 |
---|
|