Is there an Excel formula to round a date to the end of the month

  • Thread starter Thread starter Siralec
  • Start date Start date
With a date in A1:

=DATE(YEAR(A1),MONTH(A1)+1,0)

step into the next month and then back one day.
 
Another way...

This requires the Analysis ToolPak add-in be installed for Excel versions
prior to Excel 2007.

A1 = some date

=EOMONTH(A1,0)

Format as Date
 
User enters a specific date, I'd like to round that entry to the end of the
month

=A1-DAY(A1)+32-DAY(A1-DAY(A1)+32)

If it needs to be done in the SAME cell as the entry, you could use a VBA Event
triggered macro.
--ron
 
Back
Top