Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=EOMONTH(A2,0)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
Change the offset to 1: =EOMONTH(A2,1). For two months ahead use 2, and so on.
Yes: =DATE(YEAR(A2),MONTH(A2)+1,0) also returns the last day. Day 0 of any month is the last day of the previous month, making this a useful trick.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: