Sort of minimum 5 from the list of series from 1 to 50 along with its ties.

shekharverma

New Member
Joined
Jul 22, 2013
Messages
3
There are two columns say A & B. Total 50 numbers are inserted in column A ie A1 ..A50(numbers can be same like 20 can come more than one time or upto 50 nos.). In front of every row of A1 there is a coding mark in B ie B1 to B50.(Coding like c26, c6, c35 etc.). I want to highlight lowest 5/6/10 figures from column A1 to A50(which can be same for eg. 2 in A1, 2 in A6, 2 in A7) in column c from C1 to desired requiremnt. Along with it the coding wriiten in front of A1 to A50 ie B1 to B50 should also be marked in front of C1 to desered requirement ie D1 to desired requirement. For Eg.
A B C D
1 2 C26 1 H15
2 5 W11 1 S02
3 1 H15 1 W02
4 3 c02 1 C06
5 1 S02 1 C09
6 1 W02
7 1 c06
8 7 c08
9 1 c09
10 9 c07

Lowest 5 from column A1 to A10 is indicated in clolumn C1 to C5 & coding of minumum 5 from column A highlighted in column B is reflected in column D.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hello and welcome
C1:
=SMALL($A$3:$A$12,ROW(A1))
D1
=INDEX($B$3:$B$12,SMALL(IF($A$3:$A$12=$C3,ROW($A$3:$A$12)-ROW($A$3)+1),COUNTIF($C$3:C3,C3)))
Confirm Control+shift+Enter
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,795
Members
449,468
Latest member
AGreen17

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