Returns 1 if the given date lies in a leap year, and 0 otherwise.
Syntax
ISLEAPYEAR(date)
date: The date given to test. E.g. "12/2/2020"
Examples
Formula | Result |
=ISLEAPYEAR("12/2/2020") | 1 |
=ISLEAPYEAR("1/1/2019") | 0 |
=ISLEAPYEAR(TODAY()) | 1 |
Get a hands-on experience of the function in the embedded range below.
Possible Errors
Errors | Meaning |
#N/A! | |
#NAME! | The function name is incorrect or invalid. The given defined name (if any) is invalid. There is a typo in the defined name used in the function. Double quotes are missing for text values in the function. Colon missing in a cell range reference.
|
#VALUE! | |
#REF! | |