Template for solutions calcs For each new ingredient, add this to the first list of onchange instructions: ingred_totaliquots.value = pairs.value*ingred_aliquots.value; ingred_totvol.value = ingred_totaliquots.value * ingred_vol.value; Replace _ with the next number in sequence. Make sure first line of onchange list starts with " Make sure last line ends with ;" For each new ingredient, make the last (next) row of the table like this, replacing _ with the appropriate number, and filling in all the values: Next ingredient mL