EOMONTH

Returns the date of the last day of a month which falls months away from the start date.

Süntaks

EOMONTH(alguskuupƤev; kuud)

AlguskuupƤev on kuupƤev (arvutuse algpunkt).

Kuud on kuude arv enne (negatiivne) vƵi pƤrast (positiivne) alguskuupƤeva.

NƤide

Mis on selle kuu viimane kuupƤev, mis on 6 kuud pƤrast 14. septembrit 2001?

=EOMONTH(DATE(2001;9;14);6) returns the serial number 37346. Formatted as a date, this is 2002-03-31.

=EOMONTH("2001-09-14";6) works as well. If the date is given as string, it has to be in ISO format.