Index/Match w/ Duplicates

smwashburn

New Member
Joined
Mar 1, 2016
Messages
7
Hi All,

I am trying to create a report in excel that has one sheet that ranks criteria from largest to smallest, by referencing a second sheet that stores all the data.

One one sheet I have a list of departments, and their corresponding success rates as a percentage. The current order of the departments on this sheet is simply in numerical order.

On the second sheet I have used an array formula to return all of the percentages in order of largest to smallest, including any duplicates.

On this second sheet I am trying to use an Index/Match formula to generate the corresponding departments. Currently the simple index/match formula I am using will return one department multiple times if the percentage is the same.

Here is the data on sheet one:

AB
1DeptartmentSuccess Rate
252583
352792
454077
555060
655177
75520
857015
95800

<tbody>
</tbody>


Here is what I currently have on sheet 2. I am trying to create a formula that will retrieve the corresponding department without giving me duplicates.
AB
1DepartmentSuccess Rate
292
383
477
577
660
715
80
90

<tbody>
</tbody>

Thank you in advance for any help!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
maybe something like...

Unknown
AB
1DeptartmentSuccess Rate
252583
352792
454077
555060
655177
75520
857015
95800
10
11DepartmentSuccess Rate
1252792
1352583
1454077
1555177
1655060
1757015
185520
195800

<tbody>
</tbody>
Sheet1

Array Formulas
CellFormula
A12{=INDEX(Sheet1!$A$2:$A$9,SMALL(IF(Sheet1!$B$2:$B$9=B12,ROW(Sheet1!$A$2:$A$9)-ROW(Sheet1!$A$2)+1),COUNTIF($B$12:B12,B12)))}

<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,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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