Hi there, I am looking for an Excel formula that will will sum fractional values (test scores) in cells based on whether the column headings in the range equals the heading in the summation column. I need to sum the numerator and denominator separately (i.e. 5/6 + 2/2 = 7/8)
Below is an example:
So in Cell M6, I need a formula that will sum the fractional values (numerator/denominator separately as shown in above example) in the range G6:L6 conditionally based on whether the column headings for the same range (G5:L5) match the value given in cell M5. So for this example, the formula in M6 would evaluate that in M5 we have a value "OA.2" and that value appears in the range (G5:L5) in cells G5 and J5, so we would sum the values 1/3 and 2/5 together to get 3/8
I also need the values in the cells to be shown as fractions, i.e. 4/4 stays as 4/4 (but can still be used for calculation purposes). I've found that Excel was trying to convert this value be 1, unless I formatted as Text in which I don't believe I can then do calculations on it. Any help is appreciated!
Below is an example:
So in Cell M6, I need a formula that will sum the fractional values (numerator/denominator separately as shown in above example) in the range G6:L6 conditionally based on whether the column headings for the same range (G5:L5) match the value given in cell M5. So for this example, the formula in M6 would evaluate that in M5 we have a value "OA.2" and that value appears in the range (G5:L5) in cells G5 and J5, so we would sum the values 1/3 and 2/5 together to get 3/8
I also need the values in the cells to be shown as fractions, i.e. 4/4 stays as 4/4 (but can still be used for calculation purposes). I've found that Excel was trying to convert this value be 1, unless I formatted as Text in which I don't believe I can then do calculations on it. Any help is appreciated!