Hello everyone-
I'm not quite sure how to phrase my question, so I'll ask by way of an example.
Let's say I have a dynamic data set like the one below. (Assume people are always adding, deleting, and changing entries.)
[TABLE="width: 158"]
<colgroup><col width="79" span="2" style="width:60pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 79"]Type[/TD]
[TD="class: xl65, width: 79"]Item[/TD]
[/TR]
[TR]
[TD]Fruit[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Cucumber[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Potato[/TD]
[/TR]
[TR]
[TD]Fruit[/TD]
[TD]Peach[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Zucchini[/TD]
[/TR]
</tbody>[/TABLE]
Now, I want these lists to automatically populate:
[TABLE="width: 158"]
<colgroup><col width="79" span="2" style="width:60pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 79"]Fruit[/TD]
[TD="class: xl65, width: 79"]Vegetable[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Cucumber[/TD]
[/TR]
[TR]
[TD]Peach[/TD]
[TD]Potato[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Zucchini[/TD]
[/TR]
</tbody>[/TABLE]
What formula would I enter under "Fruit" and "Vegetable" to accomplish this? Keep in mind that the number of fruits and vegetables is continuously changing. I have a feeling that it's going to take some sort of vlookup array formula, but I can't wrap my brain around it. I know that I could create a pivot table & add some VB to automatically refresh it when the data changes, but I'd like to handle this with a formula.
Thanks in advance for your help!
I'm not quite sure how to phrase my question, so I'll ask by way of an example.
Let's say I have a dynamic data set like the one below. (Assume people are always adding, deleting, and changing entries.)
[TABLE="width: 158"]
<colgroup><col width="79" span="2" style="width:60pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 79"]Type[/TD]
[TD="class: xl65, width: 79"]Item[/TD]
[/TR]
[TR]
[TD]Fruit[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Cucumber[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Potato[/TD]
[/TR]
[TR]
[TD]Fruit[/TD]
[TD]Peach[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Zucchini[/TD]
[/TR]
</tbody>[/TABLE]
Now, I want these lists to automatically populate:
[TABLE="width: 158"]
<colgroup><col width="79" span="2" style="width:60pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 79"]Fruit[/TD]
[TD="class: xl65, width: 79"]Vegetable[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Cucumber[/TD]
[/TR]
[TR]
[TD]Peach[/TD]
[TD]Potato[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Zucchini[/TD]
[/TR]
</tbody>[/TABLE]
What formula would I enter under "Fruit" and "Vegetable" to accomplish this? Keep in mind that the number of fruits and vegetables is continuously changing. I have a feeling that it's going to take some sort of vlookup array formula, but I can't wrap my brain around it. I know that I could create a pivot table & add some VB to automatically refresh it when the data changes, but I'd like to handle this with a formula.
Thanks in advance for your help!