Hi
I'm a newbie in Excel (actually been using it for several years, but only for very simple stuff).
I'm trying to put together a meal planner / nutrition calculator for my girlfriend. I want to make it smart.
The idea is to select an item i one cell, which in return will affect the following cells with the nutritional values. So far so good.
I would then like, if a given amount is entered, it calculates the values.
Via an old post on this forum, i learned to make an INDEX MATCH function, so that when i type "Gulerod" or something like that, the following cells import information from the Table tab... When the table contains fixed values, this works just fine. However - i tried to make the table (the cells) with calculation formulas (i.e. =SUM(4*B3))... this means the values in the tables are 0 untill a value is typed in B3 (in this example).A food item is typed in Cell A. The following cells will Index Match a table (on a different sheet), importing calculation formulas based on the food items nutritional value (Cells C - G). If an amount is typed in Cell B (i.e. 100 grams) the following cells will then calculate the correct nutritional values.
... however when i do the Index Match in my main tab, only the "0"'s are imported, and no matter what value i enter in B3 in the main tab, the following cells remains with the fixed value 0.
... so my question is - is it even possible to have the Index Match function import the calculation formula from the table and have it work in the main tab as well? Or is there any other way to make this work in Excel? Basically - to have the main sheet find the relevant data to use for calculation on a different tab/sheet, and then do the actually calculations on the main tab/sheet.
If attached my attempt, if this helps clarify.Planner_example.xlsx (Food items are written in Danish - sorry, the rest should have been translated, and hopefully still give the idea i'm looking for)
Thank you all for any help.
Bookmarks