rotmanite11
New Member
- Joined
- Aug 21, 2014
- Messages
- 6
Hi there,
I need to find names from one column based on a criteria on another column. I would normally do this using INDEX/MATCH function.
However, the challenge I have is that I need to list in order (doesn't have to be alphabetic) all the names that match the criteria. I have shared below a sample as example:
DATA:
[TABLE="width: 182"]
<tbody>[TR]
[TD]Company[/TD]
[TD]Contact[/TD]
[/TR]
[TR]
[TD]Tim Lumber[/TD]
[TD]Simon Keith[/TD]
[/TR]
[TR]
[TD]JoeFish[/TD]
[TD]Phil Cornwall[/TD]
[/TR]
[TR]
[TD]Bill Café[/TD]
[TD]Jen Bass[/TD]
[/TR]
[TR]
[TD]Coffee Room[/TD]
[TD]Steven Rodes[/TD]
[/TR]
[TR]
[TD]BFT Shop[/TD]
[TD]Helen Mair[/TD]
[/TR]
[TR]
[TD]Fly Today[/TD]
[TD]Tony Pease[/TD]
[/TR]
[TR]
[TD]JoeFish[/TD]
[TD]Matt Homles[/TD]
[/TR]
[TR]
[TD]The Woodshop[/TD]
[TD]Greg Chaps[/TD]
[/TR]
[TR]
[TD]JoeFish[/TD]
[TD]Eaton Helm[/TD]
[/TR]
[TR]
[TD]King Palace[/TD]
[TD]Barney Coo[/TD]
[/TR]
[TR]
[TD]BFT Shop[/TD]
[TD]Ray Pardright[/TD]
[/TR]
[TR]
[TD]Coffee Room[/TD]
[TD]Sienna Wily[/TD]
[/TR]
[TR]
[TD]Big Catering[/TD]
[TD]Sarah Cooper[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]OUTPUT[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Company[/TD]
[TD]Contact[/TD]
[/TR]
[TR]
[TD]Joe Fish[/TD]
[TD]Phil Cornwall[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Matt Homles[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Eaton Helm[/TD]
[/TR]
</tbody>[/TABLE]
I need to get the result as the output shown above. I know I might be able to do this using Filter/Sort function as well, but I am trying to do it using a formula.
Thanks for your help.
Cheers
I need to find names from one column based on a criteria on another column. I would normally do this using INDEX/MATCH function.
However, the challenge I have is that I need to list in order (doesn't have to be alphabetic) all the names that match the criteria. I have shared below a sample as example:
DATA:
[TABLE="width: 182"]
<tbody>[TR]
[TD]Company[/TD]
[TD]Contact[/TD]
[/TR]
[TR]
[TD]Tim Lumber[/TD]
[TD]Simon Keith[/TD]
[/TR]
[TR]
[TD]JoeFish[/TD]
[TD]Phil Cornwall[/TD]
[/TR]
[TR]
[TD]Bill Café[/TD]
[TD]Jen Bass[/TD]
[/TR]
[TR]
[TD]Coffee Room[/TD]
[TD]Steven Rodes[/TD]
[/TR]
[TR]
[TD]BFT Shop[/TD]
[TD]Helen Mair[/TD]
[/TR]
[TR]
[TD]Fly Today[/TD]
[TD]Tony Pease[/TD]
[/TR]
[TR]
[TD]JoeFish[/TD]
[TD]Matt Homles[/TD]
[/TR]
[TR]
[TD]The Woodshop[/TD]
[TD]Greg Chaps[/TD]
[/TR]
[TR]
[TD]JoeFish[/TD]
[TD]Eaton Helm[/TD]
[/TR]
[TR]
[TD]King Palace[/TD]
[TD]Barney Coo[/TD]
[/TR]
[TR]
[TD]BFT Shop[/TD]
[TD]Ray Pardright[/TD]
[/TR]
[TR]
[TD]Coffee Room[/TD]
[TD]Sienna Wily[/TD]
[/TR]
[TR]
[TD]Big Catering[/TD]
[TD]Sarah Cooper[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]OUTPUT[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Company[/TD]
[TD]Contact[/TD]
[/TR]
[TR]
[TD]Joe Fish[/TD]
[TD]Phil Cornwall[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Matt Homles[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Eaton Helm[/TD]
[/TR]
</tbody>[/TABLE]
I need to get the result as the output shown above. I know I might be able to do this using Filter/Sort function as well, but I am trying to do it using a formula.
Thanks for your help.
Cheers