Hi Barry,
Thank you again for your help. I’m not sure if I’m misunderstanding or if my data is not set up in the most efficient way. I’ve written out the highlights of how my tables are set. Please let me know if the vlookup function by itself is still the answer for the daily value spreadsheet.
The nutrient database has the nutrients (i.e. protein, fat, etc.) in the first column and all ingredients are listed on the top row with the serving sizes in the second row. The value of each ingredient’s nutrient is listed in the intersecting cell.
Example - Calcium is listed in cell A3. Strawberries is listed in cell B1. The serving size is listed in cell B2. The value of calcium for the specified serving of strawberries is listed at their intersection in cell B3.
The recipes are each on their own worksheet but are formatted the same. The first column has the ingredient which uses a formula to pull the serving size from the nutrient database (2nd column). From there I have a third column where the amount used in the recipe is entered. On the far right is a second table where the total nutrients are listed for both the amount of each ingredient used and then a sum of all nutrients included. This table uses a different formula to calculate the nutrients derived from that amount of ingredient used.
Example - ingredient 1 is strawberries. Nutrients list begins in cell G2. Strawberries is listed in cell H1. The nutrients for the amount of strawberries used is listed from cell H2 down to the last row of the list of nutrients. This continues for multiple columns to account for all ingredients and then everything is summed up in the final column.
What I want is a daily value worksheet where I can have a column of nutrients listed and a row of recipes. With my current pattern, I was planning something similar to having the nutrients start in cell A2 and the recipe names would be listed in row 1 starting with column B. When I select a recipe in row 1, I would like a formula to automatically fill the nutrient sums from the corresponding recipe worksheet.
I would consider myself very familiar with vlookup functions, but with the manner in which my data is currently organized, I can’t inderstand how to use that function to achieve my goal. Sorry if I’m just confused!
Also, is there a way to concatenate text in a cell with the table format like you would in a variable worksheet Excel formula? I don’t seem to be able to accomplish this if so.