Hi! I have a table of test scores as follows
I need an expression that can satisfy the conditions indicated in the table above e.g.
student Test1 Test2 Average A 10 10 B 10 10 C 10 6 8 D - 10 10 E - - F - - - G
1) if student A has 10 in Test1 and the teacher did not indicate any mark for test2, access should maintain that score as the average score.
2)if student D has "-" in Test1 and 10 test2 access should maintain 10 as the average score
3) if student F has "-" in both Tests access should maintain "-"
etc