My date starts on 12/09/2003, I want to calculate for a
list of dates, here returning the correct value
01/10/2003.
Anyone got any ideas?
Thanks
=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1)+1)
the true beginning of next moth should be
=DATE(YEAR(A1),MONTH(A1)+1,)
--
Regards,
Peo Sjoblom
"RoyB" <royb...@hotmail.com> wrote in message
news:086001c376eb$79f18790$a001...@phx.gbl...
After I add a day to the end of the function you sent, I
can get the calendar start day for the next month, you
made my life easier today.
=DATE(YEAR(A1),MONTH(A1)+1,)+1
>.
>
AFAIK, if you want the first day of next month, this one is clearer:
=DATE(YEAR(A1),MONTH(A1)+1,1)
Regards,
Daniel M.
I am curious. Why does the following not work for you?
= Eomonth(a1,0) +1
Do you get #Name? as the result?
Or do you get a number like 37895?
Geoff
"RoyB" <royb...@hotmail.com> wrote in message
news:086001c376eb$79f18790$a001...@phx.gbl...
I get a #NAME error, and if that function was successful,
I think the +1 in that position gives a date that is one
month ahead, not the beginning of the next month, which is
what I need.
>.
>
The +1 adds one day to the date calculated by the eomonth function. It
definitely gives you the first of the following month!
Regards
Geoff
"RoyB" <royb...@hotmail.com> wrote in message
news:0a3601c37782$6987b0e0$a401...@phx.gbl...
Without the Analysis Tool Pack you can use
=Date(YEAR(A1), MONTH(A1)+1, 1)
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
"GB" <ThisIsNotMy...@Anywhere.InTheUniverse> wrote in message news:3f5ef950$1...@news1.homechoice.co.uk...