I want last days of the month in cells A1-A12

  • Thread starter Thread starter hamiltoncruiser
  • Start date Start date
How do I tell Excel 2007 to calculate the last day of the month

....Lisa

=DATE(year(dt),month(dt)+1,0)

or

=EOMONTH(dt,0)

dt can be an actual date, or a reference to a cell containing a date.
--ron
 
If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in.


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"hamiltoncruiser" escreveu:
 
Back
Top