SOLVED

What Formula to use to pull data from drop down list?

Copper Contributor

Good Morning,

 

Could someone help me out here? I have been racking my brain for the last two hours trying to figure this out. What I am a trying to do is when I chose an item from the a drop down list is would put the corresponding data to that item next to it in the same row.

 

I am trying to make an easier way to create a weekly menu for my family. Because we are on a strict limit of what we can eat. It is important that we understand how much each item has. This way when I chose a recipe for that day/meal period when the day is done it shows my total mounts for that day.

 

For example we can only have a total of 135g of fat, 115g of protein & 20g of carbs a day. So after choosing all the recipes for that day for breakfast, lunch and dinner plus snacks it must not exceed the amount above.

 

The data is simple and that if I made a spreadsheet that it would be easier to create a menu that does the math for me than me having to pull out a calculator and doing the math and having to change recipes to get me at or below the numbers. If have an suggestions or what formula I could use to achieve my goal I would greatly appreciate it. Thank you in advance for your help.

 

Here is what my data looks like:

    FatProteinCarbsFiberNet Carbs
   Calories(grams)(grams)(grams)(grams)(grams)
LocationNameServingsper servingper servingper servingper servingper servingper serving
Pg. 216Kedough Pizza Crust441448.722.51.501.5
Pg. 225Sausage Gravy63803515.21.90.21.7
Pg. 236Faux-Gurt (opt. 1)2433454303
Pg. 236Faux-Gurt (opt. 2)2248244404
Pg. 250Vanilla Coffee Creamer2T777.20.60.900.9
Pg. 256Chedder Cheese Chips822818.5140.700.7
Pg. 257Crispy Pepperoni Chips6605.43000
Pg. 258BLT Boats826924.69.52.60.81.8
2 Replies
best response confirmed by Steve French (Copper Contributor)
Solution

You need something like in the file attached.

 

You insert data in the DATA sheet (obv). Be careful to not switch columns.

 

Then, when you need to check numbers, use the CHECK sheet.

Select from the dropdown menu (that you need to update -data, validate cell, list, select the new interval) the dish you want, it shows you aside the values from DATA. You also need to update sheet CHECK if you add more receipes (to get all cells in the formula).

 

On the top of the page, it sums all the datas from the dishes you chose and alerts you if something is wrong.

 

Do not delete data from grey cells and do not erase rows even if you're seeing it blank.

Arul,

 

Thank you so much for the quick response. That is exactly what I am trying to do. This will make it easier to create my daily planning. Again thank you so much. ~Steve

1 best response

Accepted Solutions
best response confirmed by Steve French (Copper Contributor)
Solution

You need something like in the file attached.

 

You insert data in the DATA sheet (obv). Be careful to not switch columns.

 

Then, when you need to check numbers, use the CHECK sheet.

Select from the dropdown menu (that you need to update -data, validate cell, list, select the new interval) the dish you want, it shows you aside the values from DATA. You also need to update sheet CHECK if you add more receipes (to get all cells in the formula).

 

On the top of the page, it sums all the datas from the dishes you chose and alerts you if something is wrong.

 

Do not delete data from grey cells and do not erase rows even if you're seeing it blank.

View solution in original post