MrExcel Publishing
Your One Stop for Excel Tips & Solutions

EOMONTH function

Posted by Tim on October 19, 2001 12:43 PM

I often use the EOMONTH function which is a part of the analysis toolpack. However, I'm working on a spreadsheet that will be sent out to numerous people, many of whom will not have the Analysis ToolPack installed. Is there any way to build the EOMONTH function into the spreadsheet or a similiar function I can use?


Posted by IML on October 19, 2001 12:50 PM

a try where A1 holds your date and a2 is number of months.

Good luck.

Posted by IML on October 19, 2001 12:54 PM

If my math is right, you could change 1-1 to zero, too.

Posted by Mark W. on October 19, 2001 12:55 PM

This does the same thing...

=DATE(YEAR('Start Date'),MONTH(A2)+'Months'+1,1)-1

Posted by Barrie Davidson on October 19, 2001 1:11 PM


You'll get a kick out of this (after your "doh" response earlier today). I'm banging away to come up with a solution and didn't even realize you could use zero as a day.'s my solution


Similar disaster to yours, but I'd venture to say that mine is a bigger disaster than yours!!

Barrie :)

Posted by IML on October 19, 2001 1:20 PM

Re: IML.....

I didn't either. I really put 1-1 in there and then realized after the fact "maybe I could put in a zero". Looks like you can put in negatives in either the month or day field. Crazy. Its alway good to know your not the only one going nuts on occasion!