andrew_milonavic
Board Regular
- Joined
- Nov 16, 2016
- Messages
- 98
Hi,
Is there a way to have a formula (not VBA) search for “X” and return multiple results?
I made a sample with fake data to illustrate what I’m looking for.
[TABLE="class: grid, width: 500"]
<colgroup><col style="width:51pt" width="69" span="9"> </colgroup><tbody>[TR]
[TD="width: 69"] [/TD]
[TD="width: 69"]
[/TD]
[TD="width: 69"]Cats
[/TD]
[TD="width: 69"]Dogs [/TD]
[TD="width: 69"]Sheep[/TD]
[TD="width: 69"]Snakes[/TD]
[TD="width: 69"]insects[/TD]
[TD="width: 69"] [/TD]
[TD="width: 69"]Results:[/TD]
[/TR]
[TR]
[TD]Farm[/TD]
[TD] [/TD]
[TD]x[/TD]
[TD] [/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Cats
[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Sheep[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Snakes[/TD]
[/TR]
</tbody>[/TABLE]
In my example, the formula would search 5 cells (horizontally) and the headings from the cells marked with an X would be returned as a result.
Hope this makes sense.
Thanks
Andrew
Is there a way to have a formula (not VBA) search for “X” and return multiple results?
I made a sample with fake data to illustrate what I’m looking for.
[TABLE="class: grid, width: 500"]
<colgroup><col style="width:51pt" width="69" span="9"> </colgroup><tbody>[TR]
[TD="width: 69"] [/TD]
[TD="width: 69"]
[/TD]
[TD="width: 69"]Cats
[/TD]
[TD="width: 69"]Dogs [/TD]
[TD="width: 69"]Sheep[/TD]
[TD="width: 69"]Snakes[/TD]
[TD="width: 69"]insects[/TD]
[TD="width: 69"] [/TD]
[TD="width: 69"]Results:[/TD]
[/TR]
[TR]
[TD]Farm[/TD]
[TD] [/TD]
[TD]x[/TD]
[TD] [/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Cats
[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Sheep[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Snakes[/TD]
[/TR]
</tbody>[/TABLE]
In my example, the formula would search 5 cells (horizontally) and the headings from the cells marked with an X would be returned as a result.
Hope this makes sense.
Thanks
Andrew