Hints and tips home » Excel hints and tips » Formula for last day of month
Formula for last day of month
In some cases it is necessary to find the last day of a month for a given date. If you use the following formula, you can achieve this, ie; if you have a column of dates, use this formula to find the end of month for each day by using the fill handle. The formula is as follows, and assumes in this example that the first date in question is in cell C5, in any other cell type; =DATE(YEAR(C5),MONTH(C5)+1,1)-1
Added by Pete on 12th March 2007
More Excel hints and tips, like:
- Applying and removing border from cell in Excel 2010
- Screen Splitters in Excel
- Line breaks in a cell
|
» Forum post: #DIV |



Course updates

