Brian_Karius
New Member
- Joined
- Dec 30, 2017
- Messages
- 4
This is a bit confusing, at least to me.
Working on a project, for each item, there are 16 relevant descriptive aspects of the item that are then measured on a scale of 0 to 18.
For example, if the item were one kind of pepper, one of the descriptors, 'slow heat', might be low, at four or five, but 'fast heat' might be at 16. 'Sweetness', 'tanginess', etc, comprise examples of the other possible descriptors.
Now, each food item is assigned values in each of the same 16 descriptors, and those are already assigned.
The problem comes in the second part. There is a column that relates to specific recipes, and that has a drop-down menu in which one selects the name of the descriptor one is going for, 'sweetness', 'tanginess', etc. Once that is selected, the column next to it is to be populated with the item's value for that descriptor. So if the item is the pepper we talked about earlier, that column should be automatically populated by that pepper's value in 'tanginess' once 'tanginess' is selected, so one column will say 'tanginess', and the next will give the value.
So, on the left side of the sheet are the 16 descriptors for a food item and their numerical valued, on the right is the section in which recipes are involved.
I tried using if statements, which worked okay, but are a bit problematic, as new recipes are often added in, but directly copying the rows will mess up the if/then formulas by adding to the cells as written in the formulas.
What I tried, simplified a bit, is, For a formula in a column F6:F21:
=IF (E6:E21="tanginess", B6, IF(E6:E21="Sweetness", B7, IF...
E6:E21 would be a column with the drop-down selecting the flavor, B6 would be where the item's "tanginess" rating is, so I'm wanting to be able to make it so things in column B6:B21 can find their way into F6:F21 based on selections in a drop-down menu in E6:E21.
What I have works, kind of, but it has problems, and just doesn't seem to me to be the right way to do it. Does anyone know a better way that will have less issues?
Working on a project, for each item, there are 16 relevant descriptive aspects of the item that are then measured on a scale of 0 to 18.
For example, if the item were one kind of pepper, one of the descriptors, 'slow heat', might be low, at four or five, but 'fast heat' might be at 16. 'Sweetness', 'tanginess', etc, comprise examples of the other possible descriptors.
Now, each food item is assigned values in each of the same 16 descriptors, and those are already assigned.
The problem comes in the second part. There is a column that relates to specific recipes, and that has a drop-down menu in which one selects the name of the descriptor one is going for, 'sweetness', 'tanginess', etc. Once that is selected, the column next to it is to be populated with the item's value for that descriptor. So if the item is the pepper we talked about earlier, that column should be automatically populated by that pepper's value in 'tanginess' once 'tanginess' is selected, so one column will say 'tanginess', and the next will give the value.
So, on the left side of the sheet are the 16 descriptors for a food item and their numerical valued, on the right is the section in which recipes are involved.
I tried using if statements, which worked okay, but are a bit problematic, as new recipes are often added in, but directly copying the rows will mess up the if/then formulas by adding to the cells as written in the formulas.
What I tried, simplified a bit, is, For a formula in a column F6:F21:
=IF (E6:E21="tanginess", B6, IF(E6:E21="Sweetness", B7, IF...
E6:E21 would be a column with the drop-down selecting the flavor, B6 would be where the item's "tanginess" rating is, so I'm wanting to be able to make it so things in column B6:B21 can find their way into F6:F21 based on selections in a drop-down menu in E6:E21.
What I have works, kind of, but it has problems, and just doesn't seem to me to be the right way to do it. Does anyone know a better way that will have less issues?