How to get the sum of field-values by filtering based on prefix of field-names

Does this answer help? [tw5] Selectively summing together field values? - #4 by Dave_Kor