I would refer to an earlier thread:
http://www.excelforum.com/excel-2007...e-columns.html
Using your example:
Stats sheet
P16:
=MAX(IF(Inputs!$B$2:$B$387=$A16,Inputs!$Z$2:$Z$387))
confirmed with CTRL + SHIFT + ENTER (enter alone will not suffice)
copied down to P27
Then
O16:
=IF(MOD(P16,1),INT(P16)&"-"&ROUND((1-MOD(P16,1))*1000,0),"n/a")
confirmed with Enter copied down to O27
The reason we use P is to avoid performing the array twice over.
Other suggestions:
Stats sheet
B16:
=SUMIF(Inputs!$B:$B,$A16,Inputs!$C:$C)
copied down to B27
C16:
=SUMIF(Inputs!$B:$B,$A16,Inputs!P:P)
copied across matrix C16:G27
K16:
=SUMIF(Inputs!$B:$B,$A16,Inputs!V:V)
copied across matrix K16:N27
Bookmarks