JTTrickett
New Member
- Joined
- Jan 15, 2016
- Messages
- 2
Hello,
this is my first post!
I have this table below, over multiple columns and rows.
Basically this list is my data and on a separate sheet I want to be able to select for example (Almonds, Banana etc) using a drop down box. I have then created, albeit not perfect, A V lookup to carry over the remaining rows (numbers)).
It would be amazing to have the code automatically update the dropdown box options if i add new food items.
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 605"]
<colgroup><col><col><col span="4"></colgroup><tbody>[TR]
[TD]Type[/TD]
[TD]Weight(g) / Number[/TD]
[TD]Fats[/TD]
[TD]Carbs[/TD]
[TD]Protein[/TD]
[TD]Sugar[/TD]
[/TR]
[TR]
[/TR]
[TR]
[TD]Milk - Almond - Unsweetened[/TD]
[TD]100[/TD]
[TD]1.2[/TD]
[TD]0.4[/TD]
[TD]0.5[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Almonds[/TD]
[TD]100[/TD]
[TD]55[/TD]
[TD]20[/TD]
[TD]22[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Asparagus[/TD]
[TD]100[/TD]
[TD]0[/TD]
[TD]4[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Avocado[/TD]
[TD]100[/TD]
[TD]15[/TD]
[TD]9[/TD]
[TD]2[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Bagel - Wholemeal - NewYorkBagel[/TD]
[TD]1[/TD]
[TD]2.5[/TD]
[TD]40.8[/TD]
[TD]11[/TD]
[TD]4.3[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]100[/TD]
[TD]0[/TD]
[TD]25[/TD]
[TD]1[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Beef - Sliced - ALDI[/TD]
[TD]100[/TD]
[TD]3[/TD]
[TD]0.5[/TD]
[TD]27[/TD]
[TD]0.5[/TD]
[/TR]
[TR]
[TD]Beef - Brisket - Musclefood[/TD]
[TD]100[/TD]
[TD]7[/TD]
[TD]0[/TD]
[TD]21[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Beef - Hache Steak - Musclefood[/TD]
[TD]100[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]21[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Beef - Sliced Beef - Musclefood[/TD]
[TD]100[/TD]
[TD]8[/TD]
[TD]1[/TD]
[TD]20[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Biscuit - Lotus[/TD]
[TD]1[/TD]
[TD]1.5[/TD]
[TD]5.7[/TD]
[TD]0.4[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Brocolli[/TD]
[TD]100[/TD]
[TD]0[/TD]
[TD]7[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
this is my first post!
I have this table below, over multiple columns and rows.
Basically this list is my data and on a separate sheet I want to be able to select for example (Almonds, Banana etc) using a drop down box. I have then created, albeit not perfect, A V lookup to carry over the remaining rows (numbers)).
It would be amazing to have the code automatically update the dropdown box options if i add new food items.
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 605"]
<colgroup><col><col><col span="4"></colgroup><tbody>[TR]
[TD]Type[/TD]
[TD]Weight(g) / Number[/TD]
[TD]Fats[/TD]
[TD]Carbs[/TD]
[TD]Protein[/TD]
[TD]Sugar[/TD]
[/TR]
[TR]
[/TR]
[TR]
[TD]Milk - Almond - Unsweetened[/TD]
[TD]100[/TD]
[TD]1.2[/TD]
[TD]0.4[/TD]
[TD]0.5[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Almonds[/TD]
[TD]100[/TD]
[TD]55[/TD]
[TD]20[/TD]
[TD]22[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Asparagus[/TD]
[TD]100[/TD]
[TD]0[/TD]
[TD]4[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Avocado[/TD]
[TD]100[/TD]
[TD]15[/TD]
[TD]9[/TD]
[TD]2[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Bagel - Wholemeal - NewYorkBagel[/TD]
[TD]1[/TD]
[TD]2.5[/TD]
[TD]40.8[/TD]
[TD]11[/TD]
[TD]4.3[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]100[/TD]
[TD]0[/TD]
[TD]25[/TD]
[TD]1[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Beef - Sliced - ALDI[/TD]
[TD]100[/TD]
[TD]3[/TD]
[TD]0.5[/TD]
[TD]27[/TD]
[TD]0.5[/TD]
[/TR]
[TR]
[TD]Beef - Brisket - Musclefood[/TD]
[TD]100[/TD]
[TD]7[/TD]
[TD]0[/TD]
[TD]21[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Beef - Hache Steak - Musclefood[/TD]
[TD]100[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]21[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Beef - Sliced Beef - Musclefood[/TD]
[TD]100[/TD]
[TD]8[/TD]
[TD]1[/TD]
[TD]20[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Biscuit - Lotus[/TD]
[TD]1[/TD]
[TD]1.5[/TD]
[TD]5.7[/TD]
[TD]0.4[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Brocolli[/TD]
[TD]100[/TD]
[TD]0[/TD]
[TD]7[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]