Let's say that I have a list of ingredients on a page in a table, and I'd like a user to select multiple ingredients, and see them added to a "recipe" at the top (in this example, a recipe for a smoothie). The ingredients are already in the database, and displayed in tables here: https://www.seanarenas.com/smoothie-maker
The recipe will show each item added, and a running total of the # of calories, total fat, cholesterol, and other nutrients.
The idea is for the user to be able to design a smoothie to meet the remaining nutrient goals they have for the day. Maybe they'll sort a table by Protein or Carbs or Fiber to see what they need more of (or less of), then select items to add to their smoothie, and see what nutrients the resulting combination provides, before they go and mix it themselves.