Hi All, Newbie Here!
Im attempting to create an app where I have a table of Meal Names, Ingredients and Quantity of said ingredients per meal.
The aim is that the user selects a meal (or multiple) and the required ingredients are then shown.
I have managed this part however i now am struggling where rather than ingredients being repeated in a list id like a single occurrence of the ingredient with a sum of the total requirements of said ingredient.
Below is a table where you can see the ingredients, “New column” identifies where its parent meal has been selected but you will see multiple “onion” for example.
How can i generate a unique list yet sum the total requirements?
thanks
Chris