I'm sure the following is possible, but cant quite figure it out... Say theres 3 column headings, repeated across columns multiple times. There are multiple rows of data, and I am trying to create a summary statistic for each row. The longhand calculation I need to do is A3*B3/$A$1 + D3*E3/$A$1 + G3*H3/$A$1 + ... for however many columns I have. The first column heading data (columns A, D, G...) is just a number, as is the second heading (columns B, E, H...). $A$1 is the sum of all the second heading values (B3+E3+H3+...).
One way to get the value for $A$1 is {=SUM((MOD(COLUMN(B3:L3)-COLUMN(B3),3)=0)*(B3:L3))}, where column L is the end of the range of interest (and is actually more like column ED, hence I dont want to do the longhand).
I sense this should be possible with SUMPRODUCT, but suspect one of my problems is that the above sum only works as an array formula, which I cant make work with the SumProduct.
Anyways, can anyone tell me how to achieve this with or without the SUM and SumProduct functions, such that I can easily generate the summary statistic? As well as there being many additions to make longhand, I also need to make several different summary statistics so it would take ages.
Example data attached.
Thanks, jsw
Bookmarks