ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   I want last days of the month in cells A1-A12 (https://www.excelbanter.com/excel-discussion-misc-queries/167057-i-want-last-days-month-cells-a1-a12.html)

hamiltoncruiser

I want last days of the month in cells A1-A12
 
How do I tell Excel 2007 to calculate the last day of the month

.....Lisa

xrelanon

I want last days of the month in cells A1-A12
 
EOMONTH function.
--
Gnothi se auton.


"hamiltoncruiser" wrote:

How do I tell Excel 2007 to calculate the last day of the month

.....Lisa


Ron Rosenfeld

I want last days of the month in cells A1-A12
 
On Thu, 22 Nov 2007 07:33:48 -0800 (PST), hamiltoncruiser
wrote:

How do I tell Excel 2007 to calculate the last day of the month

....Lisa


=DATE(year(dt),month(dt)+1,0)

or

=EOMONTH(dt,0)

dt can be an actual date, or a reference to a cell containing a date.
--ron

Marcelo

I want last days of the month in cells A1-A12
 
If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in.


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"hamiltoncruiser" escreveu:

How do I tell Excel 2007 to calculate the last day of the month

.....Lisa



All times are GMT +1. The time now is 04:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com