If a student is ‘ab’ in a subject in a or both the summative then-
Let either or both L13, M13 and N13 are ‘ab’ then O13 is unable to calculate.
So, insert logic in O13, =ROUND((SUM(L13:N13)),0) instead of =ROUND((L13+M13+N13),0) and please check thoroughly.