I am trying to display all states names that are duplicates. With the formula I am using below, it only shows the first state with a specific ranking and all other with the same rank show #N/A.
=INDEX($A$5:$A$58,MATCH(ROWS(B$2:$C17),$C$2:$C$17,0))
The data is in columns A through C. The formula rankings are in columns E and F.
Any help would be greatly appreciated.
[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD="align: center"]State[/TD]
[TD="align: center"]Issues[/TD]
[TD="align: center"]Ranking[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]State[/TD]
[TD="align: center"]Ranking[/TD]
[/TR]
[TR]
[TD="align: center"]AK[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]13[/TD]
[TD="align: center"][/TD]
[TD="align: center"]CA[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]AL[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]35[/TD]
[TD="align: center"][/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]AR[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]22[/TD]
[TD="align: center"][/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]AZ[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]28[/TD]
[TD="align: center"][/TD]
[TD="align: center"]CO[/TD]
[TD="align: center"]9[/TD]
[/TR]
[TR]
[TD="align: center"]CA[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]9[/TD]
[/TR]
[TR]
[TD="align: center"]CO[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"][/TD]
[TD="align: center"]AK[/TD]
[TD="align: center"]13[/TD]
[/TR]
[TR]
[TD="align: center"]CT[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"][/TD]
[TD="align: center"]AR[/TD]
[TD="align: center"]22[/TD]
[/TR]
[TR]
[TD="align: center"]DC[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]AZ[/TD]
[TD="align: center"]28[/TD]
[/TR]
[TR]
[TD="align: center"]DE[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]FL[/TD]
[TD="align: center"]30[/TD]
[/TR]
[TR]
[TD="align: center"]FL[/TD]
[TD="align: center"]16[/TD]
[TD="align: center"]30[/TD]
[TD="align: center"][/TD]
[TD="align: center"]AL[/TD]
[TD="align: center"]35[/TD]
[/TR]
</tbody>[/TABLE]
=INDEX($A$5:$A$58,MATCH(ROWS(B$2:$C17),$C$2:$C$17,0))
The data is in columns A through C. The formula rankings are in columns E and F.
Any help would be greatly appreciated.
[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD="align: center"]State[/TD]
[TD="align: center"]Issues[/TD]
[TD="align: center"]Ranking[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]State[/TD]
[TD="align: center"]Ranking[/TD]
[/TR]
[TR]
[TD="align: center"]AK[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]13[/TD]
[TD="align: center"][/TD]
[TD="align: center"]CA[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]AL[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]35[/TD]
[TD="align: center"][/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]AR[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]22[/TD]
[TD="align: center"][/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]AZ[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]28[/TD]
[TD="align: center"][/TD]
[TD="align: center"]CO[/TD]
[TD="align: center"]9[/TD]
[/TR]
[TR]
[TD="align: center"]CA[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]9[/TD]
[/TR]
[TR]
[TD="align: center"]CO[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"][/TD]
[TD="align: center"]AK[/TD]
[TD="align: center"]13[/TD]
[/TR]
[TR]
[TD="align: center"]CT[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"][/TD]
[TD="align: center"]AR[/TD]
[TD="align: center"]22[/TD]
[/TR]
[TR]
[TD="align: center"]DC[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]AZ[/TD]
[TD="align: center"]28[/TD]
[/TR]
[TR]
[TD="align: center"]DE[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]FL[/TD]
[TD="align: center"]30[/TD]
[/TR]
[TR]
[TD="align: center"]FL[/TD]
[TD="align: center"]16[/TD]
[TD="align: center"]30[/TD]
[TD="align: center"][/TD]
[TD="align: center"]AL[/TD]
[TD="align: center"]35[/TD]
[/TR]
</tbody>[/TABLE]