Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=DAY(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
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Yes. EOMONTH always calculates the true last day of the month, so February returns 29 in leap years and 28 otherwise.
Wrap it in DATEVALUE: =DAY(EOMONTH(DATEVALUE(A2),0)) to convert text to a proper date first.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: