Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Tue, 29 May 2007 14:27:25 -0700, LeapYear
wrote: I would like to calculate the number of days within a span of years without February 29th. In other words, I don't want to recognize the 29th day of February within leap years. Try this: =A2-A1-SUMPRODUCT((MONTH(ROW(INDIRECT(A1&":"&A2)))=2)* (DAY(ROW(INDIRECT(A1&":"&A2)))=29)) --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date calculation | Excel Worksheet Functions | |||
Tricky Date calculation: How to calculate a future date | Excel Discussion (Misc queries) | |||
Date Calculation | New Users to Excel | |||
Date calculation | Excel Worksheet Functions | |||
Due Date Calculation? | New Users to Excel |