How to Sort a 2D Array of Data dynamically using only Formulas?

DTan

New Member
Joined
Oct 29, 2012
Messages
21
StudentQ1Q2Q3Q4Q5Q6Q7Q8Q9Q10Q11Q12Q13Q14Q15Q16Q17Q18Q19Q20Q21Q22Q23Q24Q25Q26Q27Q28Q29Q30Q31Q32Q33Q34Q35Q36Q37Q38Q39Q40Total:
1110000101101111001111111000011000001011122
2110100100001111011101110111111101001111127
3111101101100011101101110111111001001111128
4111100101111111111101111111111101111111135
5001100101011010000110110101111001000010119
6110010101010010101101110110100111000110021
7100101101011111101010100101000111000010121
8111110101111111101101110100111101001111130
9111100101010110000101110011001001101101021
10111111101011111111101110111111111111111136
11101110101010011111101110101000111000010123
12110101101110011011011111101111111001011129
13100101000000010000101100010100011001101115
14110110100010100001000010101111101010010119
15110111111100111111101110001011111011111131
16111011101110011110001110111101001000011125
17111111101011111011101110110100001011101128
18110111101000010101101110100110101001101022
19110111101011111010011110100010100011111126
20110110101011110101100100110101101011111025

<colgroup><col span="41"><col></colgroup><tbody>
</tbody>

The above shows test scores of 20 candidates. A correct answer is worth 1 pt and an incorrect answer is worth 0 pt.
The total test scores for each candidate is shown in the last column, and there will be duplicates.

Using formulas, is it possible to sort the array from the highest total score to the lowest, as such:

StudentQ1Q2Q3Q4Q5Q6Q7Q8Q9Q10Q11Q12Q13Q14Q15Q16Q17Q18Q19Q20Q21Q22Q23Q24Q25Q26Q27Q28Q29Q30Q31Q32Q33Q34Q35Q36Q37Q38Q39Q40Total:
10111111101011111111101110111111111111111136
4111100101111111111101111111111101111111135
15110111111100111111101110001011111011111131
8111110101111111101101110100111101001111130
12110101101110011011011111101111111001011129
3111101101100011101101110111111001001111128
17111111101011111011101110110100001011101128
2110100100001111011101110111111101001111127
19110111101011111010011110100010100011111126
16111011101110011110001110111101001000011125
20110110101011110101100100110101101011111025
11101110101010011111101110101000111000010123
1110000101101111001111111000011000001011122
18110111101000010101101110100110101001101022
6110010101010010101101110110100111000110021
7100101101011111101010100101000111000010121
9111100101010110000101110011001001101101021
5001100101011010000110110101111001000010119
14110110100010100001000010101111101010010119
13100101000000010000101100010100011001101115

<colgroup><col style="width:23pt" span="42" width="30"> </colgroup><tbody>
</tbody>

Thank you for your replies.

Derek.

<tbody>
</tbody>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,216,073
Messages
6,128,634
Members
449,460
Latest member
jgharbawi

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