patrick_oneal
New Member
- Joined
- Nov 14, 2016
- Messages
- 12
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Type
[/TD]
[TD]Clean Data
[/TD]
[TD][/TD]
[TD]DOGS
[/TD]
[TD]CATS
[/TD]
[/TR]
[TR]
[TD]FRANK
[/TD]
[TD]-DOG
[/TD]
[TD]DOG
[/TD]
[TD][/TD]
[TD]FRANK
[/TD]
[TD]JEFF
[/TD]
[/TR]
[TR]
[TD]JEFF
[/TD]
[TD]-CAT
[/TD]
[TD]CAT
[/TD]
[TD][/TD]
[TD]AMY
[/TD]
[TD]KELLY
[/TD]
[/TR]
[TR]
[TD]KELLY
[/TD]
[TD]-CAT
[/TD]
[TD]CAT
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AMY
[/TD]
[TD]-DOG
[/TD]
[TD]DOG
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to grasp index, match to work on a spread sheet. All of the other questions I find are not helping all that much.
Cells E/D (DOGS,CATS) is what I want the output to look like, I want to match all data in the C column to cell E1 (DOGS), and display the name.
<tbody>[TR]
[TD]Name
[/TD]
[TD]Type
[/TD]
[TD]Clean Data
[/TD]
[TD][/TD]
[TD]DOGS
[/TD]
[TD]CATS
[/TD]
[/TR]
[TR]
[TD]FRANK
[/TD]
[TD]-DOG
[/TD]
[TD]DOG
[/TD]
[TD][/TD]
[TD]FRANK
[/TD]
[TD]JEFF
[/TD]
[/TR]
[TR]
[TD]JEFF
[/TD]
[TD]-CAT
[/TD]
[TD]CAT
[/TD]
[TD][/TD]
[TD]AMY
[/TD]
[TD]KELLY
[/TD]
[/TR]
[TR]
[TD]KELLY
[/TD]
[TD]-CAT
[/TD]
[TD]CAT
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AMY
[/TD]
[TD]-DOG
[/TD]
[TD]DOG
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to grasp index, match to work on a spread sheet. All of the other questions I find are not helping all that much.
Cells E/D (DOGS,CATS) is what I want the output to look like, I want to match all data in the C column to cell E1 (DOGS), and display the name.
Code:
{=INDEX($A$2:$C$5,MATCH($E$1,$C2:$C$5,0),1)}