Dynamic Sort

egeslani

New Member
Joined
Feb 15, 2002
Messages
27
I have the following data, in cells A2 to A10 I have names and in cells B2 to B10 I have numbers.in cell A1 I have column header called name and B2 have column header called rank.

Is it possible that everytime the rank column changes, it will sort out ascending accordingly?

Again,thanks for the help.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
I don't know how to dynamically sort the range itself, but try this:

In cell C2 enter:

=INDEX(A$2:A$10,MATCH(SMALL($B$2:$B$10,ROW(A1)),$B$2:$B$10,0),1)

and copy down and across to cell D10.
 

Forum statistics

Threads
1,181,338
Messages
5,929,384
Members
436,665
Latest member
MonkeyNotDonkey

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
Top