I need to calculate running totals of sum events. The "score" calculations are nested if functions that will return #NUM! until values are placed in the distance columns. The total column represents a running total.
Sample image of workbook

This is the nested IF() function that is returning a #NUM! unless numbers are inputted.
=IF(G5=LARGE(G$5:G$16,1),35,
IF(G5=LARGE(G$5:G$16,2),30,
IF(G5=LARGE(G$5:G$16,3),25,
IF(G5=LARGE(G$5:G$16,4),20,
IF(G5=LARGE(G$5:G$16,5),15,0)))))
I've tried setting the Total with SUM(), SUMIF() with the middle value >0, i've tried SUMIF() disregarding NA, but I can't seem to find the right formula to do a running total and ignore the #NUM! values.
SUM with Nest If and IF NA


AGGREGATE()function which has capability to ignore errors. Your screenshot doesn't make sense which are input and which are desired result.