I'm the writer of repeatingSum, and questions like this are telling me I need to include a better introductory description - even if that's just to point at Andreas's excellently maintained sheetworkers page. You definitely aren't the first to be confused about how to set it up. Andreas and Master S both give good advice. To get specific: MedievalSteve said: Do I just copy/paste the whole chunk of code over, then change the first line: You copy the whole chunk over, into a script block ,and change nothing . Do not change anything with that block of code. Instead you follow it with sheet workers that do the work you want, and they work because that block of code is there. They look like the things Andreas posted. You wrote this: the values from my sheet (repeating section = inventoryitems, values to add = attr_encumberancevalue, output = attr_totalencumberance): That suggests you have at least one problem, possibly two, to fix before you can use this code. First, when calling attributes, you never use the attr_ part. That is not part of the attribute name. This mistake is perfectly understandable, roll20's naming conventions are confusing. But when you name an attribute with something like name="attr_ totalencumbrance " the bit in bold is the attribute name. The attr_ part is a flag to alert roll20 that this name is an attribute name. You can also have roll button names, and action button names which look like name="roll_ totalencumbrance " name="act_ totalencumbrance " That first bit up the underscore is never actually used by you - its only there to identify to roll20 the kind of name it is. Secondly, sheet workers and autocalc fields are incombatible. I mention this on the off-chance that your encumberancevalue attribute is an autocalc field. If not, you can ignore it. An autocalc field is a calculated value that looks something like <input type="number" name="encumberancevalue" value="@{weight}*@{number}" disabled="true" /> That disabled part is key - sheet workers cannot do anything with disabled attributes, and you'd need to change that to a normal attribute, and calculate the value with a sheet worker. Luckily though, repeatingSum can do that for you. So, if encumberancevalue is NOT a disabled attribute, you would do that after copying in that big script from the repeatingSum page: on("change:repeating_credittable remove:repeating_credittable", function() { repeatingSum("totalencumberance", "inventoryitems", "encumberancevalue"); }); If it is a disabled value, and you have separate weight and amount (for example) attributes, you replace the encumbrancevalue above with both of them inside square brackets, like this on("change:repeating_credittable remove:repeating_credittable", function() { repeatingSum("totalencumberance", "inventoryitems", ["weight", "amount"]); }); Hope that helps.