Cell Formulas | ||
---|---|---|
Range | Formula | |
D2:H2 | D2 | =SUMPRODUCT(ISNUMBER(FIND(D1,$A$2:$A$100))*$B$2:$B$100) |
B2:B7 | B2 | =1/(LEN(A2)-LEN(SUBSTITUTE(A2,",",""))+1) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E2:E5 | E2 | =SUM(IF(ISNUMBER(FIND(D2,TRANSPOSE($A$2:$A$7))),1/MMULT(1*TRANSPOSE(ROW($D$2:$D$5)>0),1*ISNUMBER(FIND($D$2:$D$5,TRANSPOSE($A$2:$A$7)))),0)) |
Press CTRL+SHIFT+ENTER to enter array formulas. |
Thank you so much.With helper column B where 1/2; 1/3 etc is calculated:
See below for formulas for B2 to be copied down and D2 to be copied right of course D1; E1, ... are the possible grades
Cell Formulas Range Formula D2:H2 D2 =SUMPRODUCT(ISNUMBER(FIND(D1,$A$2:$A$100))*$B$2:$B$100) B2:B7 B2 =1/(LEN(A2)-LEN(SUBSTITUTE(A2,",",""))+1)
Thank you so much.Without helper column,. ARRAY formula in E2 copied down.
=SUM(IF(ISNUMBER(FIND(D2,TRANSPOSE($A$2:$A$7))),1/MMULT(1*TRANSPOSE(ROW($D$2:$D$5)>0),1*ISNUMBER(FIND($D$2:$D$5,TRANSPOSE($A$2:$A$7)))),0))
Cell Formulas Range Formula E2:E5 E2 =SUM(IF(ISNUMBER(FIND(D2,TRANSPOSE($A$2:$A$7))),1/MMULT(1*TRANSPOSE(ROW($D$2:$D$5)>0),1*ISNUMBER(FIND($D$2:$D$5,TRANSPOSE($A$2:$A$7)))),0)) Press CTRL+SHIFT+ENTER to enter array formulas.
To enter ARRAY formula
Copy and paste the formula in cell
Press F2
Press Ctrl+Shift+Enter together
Excel covers the formula with {}.
Thank you so so much it worked