Given the spans exceed 1 year I'm not sure if there's an elegant approach or not - there might well be - in the meantime - a less efficient sledge hammer approach might be:
=SUMPRODUCT((A5>=EDATE($C5,12*$B5*(ROW($A$1:$A$20)-1)))*(A5<=EDATE($D5,12*$B5*(ROW($A$1:$A$20)-1))))
where A5 holds original date, B5 the year interval (4, 10 etc), C5 & D5 the start and end points of the original interval (eg 1-Mar-2018 to 30-Sep-2019)
the above caters for 20 * interval ... you could choose to make that dynamic also based on the interval value [eg via LOOKUP construct] - such that the smaller the interval the greater the repetition (2 year = 50 repetitions for ex.)
Bookmarks