I have columns with NULL and 0 values, and I need to Total Marks to reflect the Marks as below. Note 1) there will either Maths or Science marks (never both) and 2) If the status is Deleted it will reflect as 0 in the input but I want the total to reflect
Input:
| Status | Maths | Science | Total Marks |
| Good | 100 | [Null] | [Null] |
| Good | 100 | [Null] | [Null] |
| Good | [Null] | 250 | [Null] |
| Good | 200 | [Null] | [Null] |
| Good | [Null] | 450 | [Null] |
| Good | [Null] | 500 | [Null] |
| Good | [Null] | 600 | [Null] |
| Good | [Null] | 750 | [Null] |
| Good | [Null] | 100 | [Null] |
| Good | 0 | 500 | 500 |
| Good | 750 | 0 | 750 |
| Good | 600 | 0 | 600 |
| Deleted | 750 | 0 | 0 |
| Deleted | 0 | 500 | 0 |
| Good | 0 | 500 | 500 |
| Good | 750 | 0 | 750 |
| Good | 600 | 0 | 600 |
Output:
| Status | Maths | Science | Total Marks |
| Good | 100 | [Null] | 100 |
| Good | 100 | [Null] | 100 |
| Good | [Null] | 250 | 250 |
| Good | 200 | [Null] | 200 |
| Good | [Null] | 450 | 450 |
| Good | [Null] | 500 | 500 |
| Good | [Null] | 600 | 600 |
| Good | [Null] | 750 | 750 |
| Good | [Null] | 100 | 100 |
| Good | 0 | 500 | 500 |
| Good | 750 | 0 | 750 |
| Good | 600 | 0 | 600 |
| Deleted | 750 | 0 | 750 |
| Deleted | 0 | 500 | 500 |
| Good | 0 | 500 | 500 |
| Good | 750 | 0 | 750 |
| Good | 600 | 0 | 600 |