steveperry
New Member
- Joined
- Feb 27, 2018
- Messages
- 1
Hi,
I'm trying to create an index/match type formula that will match multiple exact words in cells that contain those words as well as variances such as double spacing, extra letters, extra words, and variable orders of the words. I've been scouring for answers without any real success. Any help would be greatly appreciated!
Example:
C D E F
[TABLE="width: 728"]
<colgroup><col span="2"><col span="2"><col span="2"><col></colgroup><tbody>[TR]
[TD]Parent[/TD]
[TD][/TD]
[TD]Athlete[/TD]
[TD][/TD]
[TD]Match[/TD]
[TD][/TD]
[TD]Return[/TD]
[/TR]
[TR]
[TD]Bobby Bouche[/TD]
[TD][/TD]
[TD]Billy Bouche[/TD]
[TD][/TD]
[TD="colspan: 2"]Bobby Bouche[/TD]
[TD]Billy Bouche[/TD]
[/TR]
[TR]
[TD]Timmys Dad[/TD]
[TD][/TD]
[TD]Timmy[/TD]
[TD][/TD]
[TD]Timmys Dad[/TD]
[TD][/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD]Johnny Waffles[/TD]
[TD][/TD]
[TD]Eggo Waffles[/TD]
[TD][/TD]
[TD="colspan: 2"]Johnny and Susie Waffles[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD]Ernie Erns[/TD]
[TD][/TD]
[TD]Sally Erns[/TD]
[TD][/TD]
[TD]Ernie Q. Erns[/TD]
[TD][/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD]Jose Ruiz[/TD]
[TD][/TD]
[TD]Pedro Martinez[/TD]
[TD][/TD]
[TD]Jose Ruiz[/TD]
[TD][/TD]
[TD]Pedro Martinez[/TD]
[/TR]
</tbody>[/TABLE]
This is the formula I'm using in the return column F.
=INDEX($D$2:$D$6,MATCH(E3,$C$2:$C$6,0))
How can I match the parents despite the variances to return the athlete. I can use the "Trim" function to erase the double spaces, but I wouldn't mind having something that is all-encompassing.
Thanks for your help, it is much appreciated!
-Steve
I'm trying to create an index/match type formula that will match multiple exact words in cells that contain those words as well as variances such as double spacing, extra letters, extra words, and variable orders of the words. I've been scouring for answers without any real success. Any help would be greatly appreciated!
Example:
C D E F
[TABLE="width: 728"]
<colgroup><col span="2"><col span="2"><col span="2"><col></colgroup><tbody>[TR]
[TD]Parent[/TD]
[TD][/TD]
[TD]Athlete[/TD]
[TD][/TD]
[TD]Match[/TD]
[TD][/TD]
[TD]Return[/TD]
[/TR]
[TR]
[TD]Bobby Bouche[/TD]
[TD][/TD]
[TD]Billy Bouche[/TD]
[TD][/TD]
[TD="colspan: 2"]Bobby Bouche[/TD]
[TD]Billy Bouche[/TD]
[/TR]
[TR]
[TD]Timmys Dad[/TD]
[TD][/TD]
[TD]Timmy[/TD]
[TD][/TD]
[TD]Timmys Dad[/TD]
[TD][/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD]Johnny Waffles[/TD]
[TD][/TD]
[TD]Eggo Waffles[/TD]
[TD][/TD]
[TD="colspan: 2"]Johnny and Susie Waffles[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD]Ernie Erns[/TD]
[TD][/TD]
[TD]Sally Erns[/TD]
[TD][/TD]
[TD]Ernie Q. Erns[/TD]
[TD][/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD]Jose Ruiz[/TD]
[TD][/TD]
[TD]Pedro Martinez[/TD]
[TD][/TD]
[TD]Jose Ruiz[/TD]
[TD][/TD]
[TD]Pedro Martinez[/TD]
[/TR]
</tbody>[/TABLE]
This is the formula I'm using in the return column F.
=INDEX($D$2:$D$6,MATCH(E3,$C$2:$C$6,0))
How can I match the parents despite the variances to return the athlete. I can use the "Trim" function to erase the double spaces, but I wouldn't mind having something that is all-encompassing.
Thanks for your help, it is much appreciated!
-Steve