Hi Mike
Supposing the year is in cell A1, use the following formula:-
=IF(MOD(A1,4)=0,"leap year","Not leap")
If you want to check a date automatically, if that date belongs to a Leap
year or NOT, then try following formula.
=IF(MOD(YEAR(TODAY()),4)=0,"leap year","Not leap")
Let me know if it helps. Thanks.
--
Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)
New Delhi, India
"Mike M." wrote:
I know the rule that a leap year has to be divisable by 400 or divisable by 4
& 100 but I can't figure out how to put it in a IF formaula. Can anyone help?