BuffaloGuy
New Member
- Joined
- Dec 5, 2017
- Messages
- 29
Sorry for the horrible description, but if I knew how to explain it better I could probably look it up.
But is there a function that will output to a single cell all the row numbers that reference a single description? In my example below, I'm trying to write a function for cells C7 & C8 to output the row number for its categories. If I can do that, I would like the answer to be "None" if the cell would be empty. Any Ideas?
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]1
[/TD]
[TD]Apple[/TD]
[TD]Fruit[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Carrot[/TD]
[TD]Vegetable[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Peas[/TD]
[TD]Vegetable[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Lettuce[/TD]
[TD]Vegetable[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Watermelon[/TD]
[TD]Fruit[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Corn[/TD]
[TD]Vegetable[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]The Vegetables are:[/TD]
[TD]2, 3, 4, 6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]The Fruits are:[/TD]
[TD]1, 5[/TD]
[/TR]
</tbody>[/TABLE]
But is there a function that will output to a single cell all the row numbers that reference a single description? In my example below, I'm trying to write a function for cells C7 & C8 to output the row number for its categories. If I can do that, I would like the answer to be "None" if the cell would be empty. Any Ideas?
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]1
[/TD]
[TD]Apple[/TD]
[TD]Fruit[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Carrot[/TD]
[TD]Vegetable[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Peas[/TD]
[TD]Vegetable[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Lettuce[/TD]
[TD]Vegetable[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Watermelon[/TD]
[TD]Fruit[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Corn[/TD]
[TD]Vegetable[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]The Vegetables are:[/TD]
[TD]2, 3, 4, 6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]The Fruits are:[/TD]
[TD]1, 5[/TD]
[/TR]
</tbody>[/TABLE]