Need help with duplicate information showing #N/A.

sapper

New Member
Joined
Aug 29, 2012
Messages
33
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.

StateIssuesRanking StateRanking
AK213CA1
AL2435#N/A1
AR822#N/A1
AZ1228CO9
CA01#N/A9
CO19AK13
CT19AR22
DC01AZ28
DE01FL30
FL1630AL35

<tbody>
</tbody>
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try:

ABCDEF
1StateIssuesRankingStateRanking
2AK213CA1
3AL2435DC1
4AR822DE1
5AZ1228CO9
6CA01CT9
7CO19AK13
8CT19AR22
9DC01AZ28
10DE01FL30
11FL1630AL35

<tbody>
</tbody>
Sheet8

Worksheet Formulas
CellFormula
F2=SMALL($C$2:$C$11,ROWS(<f
$F$2:$F2</f
))

<tbody>
</tbody>

<tbody>
</tbody>

Array Formulas
CellFormula
E2{=INDEX($A$2:$A$11,SMALL(IF($C$2:$C$11=F2,ROW($C$2:$C$11)-ROW($C$2)+1),COUNTIF($F$2:$F2,F2)))}

<tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top