Make list only passed students from all names

kamaruddinjnv

Board Regular
Joined
Mar 14, 2014
Messages
56
I have 40 students name.
I need pick name only passed students in a column rankwise without any gap of row.
 
Looks like the formula in D4 in above post #10 may have gotten cut off:
It is an array formula and must be entered with CTRL-SHIFT-ENTER.
D4=

Code:
[TABLE="width: 1788"]
<colgroup><col width="1788"></colgroup><tbody>[TR]
   [TD="width: 1788"]IFERROR(INDEX($A$2:$A$8,MATCH(SMALL(IF($B$2:$B$8>$E$1,RANK($B$2:$B$8,$B$2:$B$8)+ROW($B$2:$B$8)/1000),ROWS($D$4:D4)),IF($B$2:$B$8>$E$1,RANK($B$2:$B$8,$B$2:$B$8)+ROW($B$2:$B$8)/1000),0)),"")[/TD]
 [/TR]
</tbody>[/TABLE]
 
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Here is another option.
The formula in post #10 in cell D4 can be used without posting the grade.
The formula below requires that you have a descending column for the grades (cells E4:E9 in this example).

Both of these formulas are array formulas and both must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABCDE
1NameGradeGrades above33
2X80
3Y70NameGrade
4Z60N90
5P80X80
6H20P80
7J45Y70
8N90Z60
9J45
10
Sheet
 
Upvote 0
In D4 array formula (CTRL+SHIFT+ENTER)

{=IFERROR(INDEX($A$2:$A$8,LARGE(IF($B$2:$B$8>$E$1,ROW($B$2:$B$8)-ROW($B$1)),ROWS($D$4:D4))),"")}


A
B
C
_____D
E
Grades above

<tbody>
[TD="align: center"]1
[/TD]
[TD="align: center"]Name
[/TD]
[TD="align: center"]Grade
[/TD]

[TD="align: center"]33
[/TD]

[TD="align: center"]2
[/TD]
[TD="align: center"]X
[/TD]
[TD="align: center"]80
[/TD]

[TD="align: center"]3
[/TD]
[TD="align: center"]Y
[/TD]
[TD="align: center"]70
[/TD]

[TD="align: center"]Name
[/TD]
[TD="align: center"][/TD]

[TD="align: center"]4
[/TD]
[TD="align: center"]Z
[/TD]
[TD="align: center"]60
[/TD]

[TD="align: center"]N
[/TD]
[TD="align: center"][/TD]

[TD="align: center"]5
[/TD]
[TD="align: center"]P
[/TD]
[TD="align: center"]80
[/TD]

[TD="align: center"]X
[/TD]
[TD="align: center"][/TD]

[TD="align: center"]6
[/TD]
[TD="align: center"]H
[/TD]
[TD="align: center"]20
[/TD]

[TD="align: center"]P
[/TD]
[TD="align: center"][/TD]

[TD="align: center"]7
[/TD]
[TD="align: center"]J
[/TD]
[TD="align: center"]45
[/TD]

[TD="align: center"]Y
[/TD]
[TD="align: center"][/TD]

[TD="align: center"]8
[/TD]
[TD="align: center"]N
[/TD]
[TD="align: center"]90
[/TD]

[TD="align: center"]Z
[/TD]
[TD="align: center"][/TD]

[TD="align: center"]9
[/TD]

[TD="align: center"]J
[/TD]
[TD="align: center"][/TD]

[TD="align: center"]10
[/TD]

</tbody>
 
Last edited:
Upvote 0
If I change this formula in E4 <$E$1
For less than data then result came accurate but 0 shows for blank data. How I can blank these cell when data is blank.
 
Upvote 0
Just change my formula to:
Code:
[TABLE="width: 591"]
<colgroup><col width="591"></colgroup>[TR]
   [TD="width: 591"]IFERROR(LARGE(IF($B$2:$B$9<>"",IF($B$2:$B$9<$E$1,$B$2:$B$9)),ROWS($E$4:E4)),"")[/TD]
 [/TR]
[/TABLE]

You can also use this formula for greater than E1
Excel Workbook
ABCDE
1NameGradeGrades above70
2X80
3Y70NameGrade
4Z60Z60
5PJ45
6H20H20
7J45
8N90
9l
Sheet
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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