You may not need an extra row for this; in say, cell M10, you can try this formula, which may need to be array-entered using Ctrl+Shift+Enter, rather than the more usual plain Enter, depending on your version of Excel:
Code:
=ROUND(AVERAGE(IF(NOT(ISBLANK($C10:$J10)),$C10:$J10-DATE($C$3:$J$3,1,0))),0)
It uses row 3 which contains the year for each column, from which I calculate the beginning of the year and subtract it from the event date, so even if a date wanders into the following year it will return a number greater than 365 to be included in the averaging. For it to work well I've used ISBLANK to identify columns not to be taken into account, so make sure all cells without dates are truly blank.
I've also used ROUND because if a date should average to say 350.9, the date returned (format the cell d-mmm) would be day 350, not 351.
It won't be exact because of leap years etc. but it should give a good guide - test it with some dates where you've worked out the average manually.
ps. I grew up in Elloughton; ring any bells with you?
Bookmarks