Hi tompich,

Try this also:

On cell D107:

={IF(C93:C106 = 0, 0, SUM(C93:C106*D93:D106)/C107)}