The information in this article applies to:
SUMMARYTo create a formula that returns the last or first day of the current month, follow the appropriate procedure below. MORE INFORMATIONMicrosoft Excel Version 4.0 or LaterIn Microsoft Excel 4.0 or later, you can use the EOMONTH function to return the last day of the current month. For example, the following formula
returns the last day of the current month. Because the second argument(the MONTHS argument) is 0 (zero), the function assumes that the month you want to use is the current month. If the second argument is one (1), the function will return the last day of the following month. To find the first day of the following month, use the EOMONTH function as follows:
Microsoft Excel Version 3.0 or EarlierTo return the last day of the current month, use the following formula:
To find the first day of the following month, use the following formula:
For more information about the EOMONTH function, see pages 133-134 of the version 4.0 "Microsoft Excel Function Reference." REFERENCES
"Microsoft Excel Function Reference," version 4.0, pages 133-134
Additional query words: 2.0 2.00 2.01 2.1 2.10 2.20 2.21 3.0 5.00a 5.00c 7.00a 97 98 XL98 XL97 XL7 XL5 XL4 XL3
Keywords : xlformula |
Last Reviewed: March 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |