Seamus2626
asked on
Last months date
Hi,
I have some formula which returns me the 1st day of the month (-1) based on todays date
So today, i would get 01/04/2011 based on 13/05/2011
I want to amend that so i get the last calender day of the month, so today i would get 30/04/2011
My formula is =DAY(DATE(YEAR(B2),MONTH(B 2)+1,1)-1)
where B2 = Today()
Thanks
Seamus
I have some formula which returns me the 1st day of the month (-1) based on todays date
So today, i would get 01/04/2011 based on 13/05/2011
I want to amend that so i get the last calender day of the month, so today i would get 30/04/2011
My formula is =DAY(DATE(YEAR(B2),MONTH(B
where B2 = Today()
Thanks
Seamus
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Kevin!
Seamus
Seamus
=DATE(YEAR(B2),MONTH(B2),0
Kevin