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

  • Thread starter Thread starter hamiltoncruiser
  • Start date Start date
H

hamiltoncruiser

How do I tell Excel 2007 to calculate the last day of the month

.....Lisa
 
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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top