Return the end of month date from a date

S

Steve F.

Is there a formula I can use that can return the last day of the month from a
date entered in another cell? It needs to work for all months, regardless of
length of month.

Ex.: 11/12/2004 is entered in A1. I want B1 to return 11/30/2004.
 
M

mzehr

Hi Steve,
If you don't have the Eomonth Function (in Analysis Toolpack) available to
you use :
=DATE(YEAR(A1),MONTH(A1)+1,0)
 

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

Top