I want to be able to find the nth value using VLOOKUP, INDEX, or something similar.
Example:
=VLOOKUP(2,A1:B5,2,0)
would return "Blue"
[TABLE="width: 200"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]3[/TD]
[TD]Green[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]Blue[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]4[/TD]
[TD]Green[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]2[/TD]
[TD]Red[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]5[/TD]
[TD]Red[/TD]
[/TR]
</tbody>[/TABLE]
But, if I want it to find the 2nd "2" so that it returns "Red," how would I go about that?
Thanks!
Example:
=VLOOKUP(2,A1:B5,2,0)
would return "Blue"
[TABLE="width: 200"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]3[/TD]
[TD]Green[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]Blue[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]4[/TD]
[TD]Green[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]2[/TD]
[TD]Red[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]5[/TD]
[TD]Red[/TD]
[/TR]
</tbody>[/TABLE]
But, if I want it to find the 2nd "2" so that it returns "Red," how would I go about that?
Thanks!