calulate the number of leapdays between two dates?

  • Thread starter Thread starter leapterry
  • Start date Start date
can this be do this easily

Here's one way:

=SUMPRODUCT(--(TEXT(ROW(INDIRECT(StartDt&":"&EndDt)),"mmdd")="0229"))

StartDt and EndDt refer to two cells which contain the starting and ending date
of the range you are checking.
--ron
 
Back
Top