Bus buddy preferences problem

brettm

New Member
Joined
Jan 22, 2009
Messages
1
I am a school teacher and we have kids going on a school trip to the snow.

Each child has picked 3 preferences for their "bus buddy".

I am after a way to put this data into excel and run a query against it to tell me which matches work best based on the kids' preferences.

Example below (each child is represented by a letter):
StudentPref#1Pref#2Pref#3
ACDA
BGEA
CEAF
DGBA
EABC

<tbody>
</tbody>

and so on for all 100 children that we have going.

I realise this is similar to the Stable Roommates Problem - except that we have not asked kids to rank every child going on the excursion! I have struggled to find the code for this algorithm and be able to run it.

Any thoughts/spreadsheet examples/code etc would be greatly appreciated!

Brett
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Brett,

The issue that you bring up here is very interesting. Seeing how these are "children", in my opinion- which is totally uninformed about any facet of teaching or rearing children, it would seem to me that the most healthy thing to do would be to figure out who the "most popular" students are by the criteria of having the most Pref#1 choices down to the least popular students using the same criteria. Then take the students in the least preferential group and sitting them with the most preferred students. Perhaps new friendships will be forged or new "life skills" can be learned by the latter group.

Just my two cents and food for thought.

Good luck to you and the children...

igold
 
Upvote 0

Forum statistics

Threads
1,221,469
Messages
6,160,028
Members
451,611
Latest member
PattiButche

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