How To Populate Name From Non Continuous Range?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
527
Office Version
  1. 2010
Platform
  1. Windows
Dear All,

I have got 3 tables with employee name & their score across A1:H4 as follows & I would like to populate the bottom 3 scores along with their names.(J1:K4)

To do this, I have named the ranges B2:B4, E2:E4 & H2:H4 as Score.

Then I have put the formulae across K2:K4 as follows:-

K2=SMALL(Score,1), K3=SMALL(Score,2) & K4=SMALL(Score,3)

Pls help with the formulae across J2:J4 which can yield the desired result. In case of any tie with the score, it should populate the names and put across J2:J4.
Emp Name(A1)% Score(B1)Emp Name(D1)% Score(E1)Emp Name(G1)% Score(H1)Emp Name(J1)Bottom 3 Score(K1)
a61%d63%g67%i56%
b65%e58%h69%e58%
c66%f80%i56%a61%
 

Attachments

  • 1.png
    1.png
    7.8 KB · Views: 8

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi,

try this:
Book1
ABCDEFGHIJK
1Emp Name(A1)% Score(B1)Emp Name(D1)% Score(E1)Emp Name(G1)% Score(H1)Emp Name(J1)Bottom 3 Score(K1)
2a61%d63%g67%i56%
3b65%e58%h69%e58%
4c66%f80%i56%a61%
Sheet3
Cell Formulas
RangeFormula
J2J2=OFFSET(A1,(SUMPRODUCT((A2:H4=SMALL(A2:H4,1))*ROW(A2:H4))-ROW(A2:H4))+1,(SUMPRODUCT(($A$2:$H$4=SMALL($A$2:$H$4,1))*COLUMN($A$2:$H$4))-COLUMN($A$2:$H$4)+1)-2)
K2K2=OFFSET(A1,(SUMPRODUCT((A2:H4=SMALL(A2:H4,1))*ROW(A2:H4))-ROW(A2:H4))+1,(SUMPRODUCT(($A$2:$H$4=SMALL($A$2:$H$4,1))*COLUMN($A$2:$H$4))-COLUMN($A$2:$H$4)+1)-1)
J3J3=OFFSET(A1,(SUMPRODUCT((A2:H4=SMALL(A2:H4,2))*ROW(A2:H4))-ROW(A2:H4))+1,(SUMPRODUCT(($A$2:$H$4=SMALL($A$2:$H$4,2))*COLUMN($A$2:$H$4))-COLUMN($A$2:$H$4)+1)-2)
K3K3=OFFSET(A1,(SUMPRODUCT((A2:H4=SMALL(A2:H4,2))*ROW(A2:H4))-ROW(A2:H4))+1,(SUMPRODUCT(($A$2:$H$4=SMALL($A$2:$H$4,2))*COLUMN($A$2:$H$4))-COLUMN($A$2:$H$4)+1)-1)
J4J4=OFFSET(A1,(SUMPRODUCT((A2:H4=SMALL(A2:H4,3))*ROW(A2:H4))-ROW(A2:H4))+1,(SUMPRODUCT(($A$2:$H$4=SMALL($A$2:$H$4,3))*COLUMN($A$2:$H$4))-COLUMN($A$2:$H$4)+1)-2)
K4K4=OFFSET(A1,(SUMPRODUCT((A2:H4=SMALL(A2:H4,3))*ROW(A2:H4))-ROW(A2:H4))+1,(SUMPRODUCT(($A$2:$H$4=SMALL($A$2:$H$4,3))*COLUMN($A$2:$H$4))-COLUMN($A$2:$H$4)+1)-1)
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Try something like this

Pasta2
ABCDEFGHIJK
1Emp Name% ScoreEmp Name% ScoreEmp Name% ScoreEmp NameBottom 3 Score
2a61%d63%g67%i56%
3b65%e58%h69%e58%
4c66%f80%i56%a61%
5
Plan10
Cell Formulas
RangeFormula
J2:J4J2=INDEX(A$2:H$4,AGGREGATE(15,6,(ROW(A$2:H$4)-ROW(A$2)+1)/(A$2:H$4=K2),COUNTIF(K$2:K2,K2)),AGGREGATE(15,6,(COLUMN(A$2:H$4)-COLUMN(A$2))/(A$2:H$4=K2),COUNTIF(K$2:K2,K2)))
K2:K4K2=SMALL($A$2:$H$4,ROWS(K$2:K2))


M.
 
Upvote 0
Thank you both for the mesmerising solution.
Really appreciate your help.
 
Upvote 0
A word of warning, if you could have two (or more) people with the same score, then the formula from @jorismoerings could either give the wrong result, or fail
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,954
Members
449,198
Latest member
MhammadishaqKhan

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