To do this, I thought about creating a repeating group to represent the list and calculate the value of the quantity of each ingredient to add to the recipe cost.