Forum Discussion

YDN10's avatar
YDN10
Copper Contributor
Jan 06, 2021
Solved

Is it possible to select multiple options (which each have multiple associated values) and sum them.

Hi,   I'd like to create a meal plan with excel. I've used excel to calculate the protein, carbs, calories and fat for the amount of grams of that item. For example, rice 100g gives 350 kcal 8 prot...
  • mathetes's avatar
    mathetes
    Jan 06, 2021

    YDN10 

     

    OK. Here's a working example (but, again, the FILTER function will only work if your Excel is the most up-to-date version).

     

    Here's an image of the final result I'm seeing. The cells with color in the background are the only cells with formulas in them, the green one being the only one with FILTER in it; its results "spill" into adjacent cells as needed.

     

    I didn't make the formula cover the entire area of your "raw data" -- but I think you can see how the cell references can be enlarged. The reason I didn't extend it all the way had to do with your blank rows....anathema in many Excel applications....so I trust you'll be filling in those rows.

     

Resources