Improvement - make that top-left cell of the calendar
=L1-H1+1
Gets rid of the unnecessary IF...