That is an awful title, I know. Sorry
I've attached a little image that might be more explanatory.
I'm looking for the formular to fill in B13:D15.
As far as I've gotten is: ArrayFormula(IFERROR(SUMIFS(B2:B8,A2:A8,$A13)/COUNTIF(A2:A8,$A13),""))
And the formular for B12:D12 is: ArrayFormula(IFERROR(INDEX(1:1,SMALL(IFERROR(COLUMN(12:12)/(ISNUMBER(SEARCH("Category",1:1))),FALSE),COLUMN(A:A))),""))
I guess somewhere down the line these have to be merged... But how and where?!
PS. this is Google Sheets so AGGREGATE doesn't work.
Anybody?
Kindly,
Rasmus
Formula.png
Bookmarks