Get the last day of the month in future or past months
For months, use a positive value for future dates and a negative value for dates in the past.
If you receive a #NAME? error when trying to use this function, install and load the Analysis ToolPak add-in.