Reputation: 3
I have a problem with calculation in Excel of average date (just need day and month) between dates of many years.
I tried this function:
=AVERAGE(IF(MONTH(D5:D56)=9;DATE(2010;9;DAY(D5:D56))))
Apparently, it just gave me average date of year 2010.
Please for any good advice.
Upvotes: 0
Views: 1150
Reputation: 832
Does this array formula do what you want?
=AVERAGE(DATE(2010,MONTH(D34:D56),DAY(D34:D56)))
Be sure to enter it using Ctrl-Shift-Enter.
Upvotes: 2