Sorting two rows as a group

Johnmus

Board Regular
Joined
Jun 18, 2011
Messages
138
Hi All,

I have created a band competition recap which list schools and their scores. The groups are entered based on performance time, then ranked within their class. I want to sort the groups by "place" located in column AX. The problem is that I have another row underneath the row with scores that includes rankings (ordinals) for each sub caption listed in the row above. So I need to keep the two rows together for sorting purposes. See truncated sample below.

Row # School Name ....Scores for sub captions ..........................................................Total ......Place (Col AX)
5School 19888775566774488678867.83
6Ordinals 1 2 3 6 5 2 4 1 3 1 3
7School 29992817571886990818983.52
8Ordinals 1 1 2 3 3 1 2 1 2 1 2

<tbody>
</tbody>


Is that even possible?

Thanks for any suggestions!
 

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)
You could use a helper column.
in AY2 put =IF(AX2<>"",AX2,AY1+0.5) & fill down
Then you can sort on column AY

HTH
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0
Noticed that when there is a tie in a class the formula does not work. Anyway around that?
 
Upvote 0
Try
=IF(AX2<>"",AX2,AY1+0.05)+(COUNTIF(AX$2:AX2,AX2)/10)
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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