EOMONTH(date,months)
date: date serial value
months: signed number of months
EOMONTH returns the date serial value of the end of the month specified by date adjusted forward or backward the number of months specified by months.
This function is Excel compatible.