Select registers without best results by category

danielrodrigo

New Member
Joined
Nov 15, 2019
Messages
3
Hi

I Have a Table with a RANKING of employees like this:




NAMECATEGORYPOINTS
JOHNTECH100
MARKAUDIO99
PAULVIDEO99
SARAHTECH99
ANDYTECH99
CARLCOMPUTER99
RAYAUDIO98
DANNYCOMPUTER98
ELLENBAKERY98
CHARLESBAKERY98
FREDTECH98
HARRYTECH97

<tbody>
</tbody>


With PROCV I select all "CATEGORY CHAMPIONS" like this:

NAMECATEGORYPOINTS
JOHNTECH100
MARKAUDIO99
PAULVIDEO99
CARLCOMPUTER99
ELLENBAKERY98

<tbody>
</tbody>



THE PROBLEM:

I need to select next 6 "WILDCARD" employees - GENERAL (without category) - and WITHOUT the best results (the champions) - like this:




NAMECATEGORYPOINTS
SARAHTECH99
ANDYTECH99
RAYAUDIO98
DANNYCOMPUTER98
CHARLESBAKERY98
FREDTECH97

<tbody>
</tbody>


It's possible??

tks a lot !
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Welcome to the MrExcel board!

Is this what you mean?

E2 and I2 copied down.
F2 and J2 copied across and down.

00 Old HTML Conversions 2020-04-08 1.xlsm
ABCDEFGHIJK
1NAMECATEGORYPOINTSNAMECATEGORYPOINTSNAMECATEGORYPOINTS
2JOHNTECH100JOHNTECH100SARAHTECH99
3MARKAUDIO99MARKAUDIO99ANDYTECH99
4PAULVIDEO99PAULVIDEO99RAYAUDIO98
5SARAHTECH99CARLCOMPUTER99DANNYCOMPUTER98
6ANDYTECH99ELLENBAKERY98CHARLESBAKERY98
7CARLCOMPUTER99   FREDTECH98
8RAYAUDIO98   HARRYTECH97
9DANNYCOMPUTER98      
10ELLENBAKERY98      
11CHARLESBAKERY98      
12FREDTECH98      
13HARRYTECH97      
Lists
Cell Formulas
RangeFormula
E2:E13E2=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$13)/(MATCH(B$2:B$13,B$2:B$13,0)=ROW(B$2:B$13)-ROW(B$2)+1),ROWS(E$2:E2))),"")
F2:G13F2=IF($E2="","",INDEX(B$2:B$13,MATCH($E2,$A$2:$A$13,0)))
I2:I13I2=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$13)/ISNA(MATCH(A$2:A$13,E$2:E$13,0)),ROWS(I$2:I2))),"")
J2:K13J2=IF($I2="","",INDEX(B$2:B$13,MATCH($I2,$A$2:$A$13,0)))
 
Last edited:
Upvote 0
OH MY GOD! Tks Peter! Yes. You are a genius!! tks a lot!!

I will test here (I need to translate the formulas, because my language is different) - and I have 14 categories (in example I simplify with 5) but I think the result will be the same.

tks!!!!!!!! save my day! :D
 
Upvote 0
You're welcome. :)

Post back with details if there are further issues.

BTW, you could also use this shorter formula for E2, copied down. When you first enter it and copy down you would get a whole column of "JOHN" in this example but as soon as you enter the F2 formula and copy across/down, the results will come as shown below.

00 Old HTML Conversions 2020-04-08 1.xlsm
ABCDEFGHIJK
1NAMECATEGORYPOINTSNAMECATEGORYPOINTSNAMECATEGORYPOINTS
2JOHNTECH100JOHNTECH100SARAHTECH99
3MARKAUDIO99MARKAUDIO99ANDYTECH99
4PAULVIDEO99PAULVIDEO99RAYAUDIO98
5SARAHTECH99CARLCOMPUTER99DANNYCOMPUTER98
6ANDYTECH99ELLENBAKERY98CHARLESBAKERY98
7CARLCOMPUTER99   FREDTECH98
8RAYAUDIO98   HARRYTECH97
9DANNYCOMPUTER98      
10ELLENBAKERY98      
11CHARLESBAKERY98      
12FREDTECH98      
13HARRYTECH97      
Lists (2)
Cell Formulas
RangeFormula
E2:E13E2=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$13)/ISNA(MATCH(B$2:B$13,F$1:F1,0)),1)),"")
F2:G13F2=IF($E2="","",INDEX(B$2:B$13,MATCH($E2,$A$2:$A$13,0)))
I2:I13I2=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$13)/ISNA(MATCH(A$2:A$13,E$2:E$13,0)),ROWS(I$2:I2))),"")
J2:K13J2=IF($I2="","",INDEX(B$2:B$13,MATCH($I2,$A$2:$A$13,0)))
 
Last edited:
Upvote 0
You're welcome. Hopefully the old screen shots will get converted to display properly at some stage. :)
 
Upvote 0
Hi,

Why I see this:

instead of table?
 

Attachments

  • MrExcel.png
    MrExcel.png
    107.2 KB · Views: 10
Upvote 0

Forum statistics

Threads
1,214,524
Messages
6,120,049
Members
448,940
Latest member
mdusw

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