Hello all!
I am trying to get the 5 year average for each month (ie:jan 2007, jan 2008, jan 2009....) I was trying to get a averageif function to work but perhaps i am not familiar with it enough. Any help would be greatly appreciated. Attached is a dummy ws.
Last edited by tlinton; 01-24-2012 at 07:24 PM.
Try this
put the numbers 1 to 12 from A5 to A16 (these are your months)
then in B5
=SUMPRODUCT((MONTH(B$1:AW$1)=A5)*(B$3:AW$3))/SUMPRODUCT(--(MONTH(B$1:AW$1)=A5))
and copy down to B16
Looks like it's working...! :-)
Regards
Special-K
I rarely return to a problem once I've answered it so make sure you clearly define what the trouble is.
It worked, thanks a lot!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks