for a year, it gets more complex as you have to take 28/29 30/31 day months into the equation....
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
xlbo,
I would think that 365 days would add a year in every case except for a leap year.
marine22,
This is the other way to do this if you want excel to add the year for you. This assumes your date is in a1.
=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
xlbo,
Fair enough on the 28/29 day point I am sure we are on the same wavelength there. My comment came from your reference to adjustments needed for 30/31 day months as these are static.
marine22,
FYI, here are the results from the two methods:
Problem is, marine22, that your asked for date plus 365 and NOT date plus 1 year.
As an analyst, I would conduct a detailed question and answer session with my client as to what BUSINESS CASE they were attempting to solve. As you can see, the answers when it comes to dates can have some caveats.
vanvb - true - we use rolling periods a lot and the whole "how many days in a month" crops up a lot so it's usually the 1st thing I think about whenever I see a question on adding dates.
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.