Return the end of month date from a date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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

Similar Threads

date calculation 2
Date 2
Current Month with real date 2
Date formula 4
Another date formula 4
Dates 3
CALCULATE DAYS PER MONTH BETWEEN 2 DATES 2
Excel Vba to change displayed year automatically. 14

Back
Top