ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I would like to find the last day of a month (https://www.excelbanter.com/excel-worksheet-functions/111847-i-would-like-find-last-day-month.html)

Grd

I would like to find the last day of a month
 
Hi,

Someone has suggested using the analysis toolpak. Is it possible to do this
withouth the toolpak and do it using date functions.

thanks

suzie


[email protected]

I would like to find the last day of a month
 
=date(year(a1),month(a1)+1,0)

HTH,
Bernd


Gary''s Student

I would like to find the last day of a month
 
Use the DATE() function
if the year is in A1 and the month is in A2, then in A3
=DATE(A1,A2+1,0)
for example:
2006
4
4/30/2006

--
Gary's Student


"Grd" wrote:

Hi,

Someone has suggested using the analysis toolpak. Is it possible to do this
withouth the toolpak and do it using date functions.

thanks

suzie


Grd

I would like to find the last day of a month
 
Exactly it

thanks

S

" wrote:

=date(year(a1),month(a1)+1,0)

HTH,
Bernd




All times are GMT +1. The time now is 03:28 PM.

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