Using RAND or other function(possibly VBA) to randomize seating through multiple tables

gulli09

New Member
Joined
Dec 28, 2011
Messages
37
Hi,

I've got a problem which I initially thought would be very straightforward and that most likely I would be able to easily find a ready made template.

My conundrum is that I have a list of 150 names, and 12 times a year around a 100 of them get together on different tables, around 15 on each table.

Like I said around 100 of the 150 attend each event, which can be marked in a number of ways, for example by marking "x" in a column. When it comes to each event I want the excel sheet to randomize the persons through to each table as to not always having the same seating arrangement event after event.

It would obviously be optimal if I could each time, depending on how many attendees figure out how many tables I need and only randomize through to those tables, but that is something that would be possible to manually do each time.

Any help much appreciated, a template excel sheet which already does this would also work like a charm!

Regards,
Gulli
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Not sure if it would help but I can email the excel sheet I have so far if it helps, can't seem to figure out how to upload it here.
 
Upvote 0
Perhaps something like this:

B1: =COUNTIF(B5:B14,TRUE)
C5: =IF(B5,RAND(),"")
D5: =IF(B5,RANK(C5,C$5:C$14),"")
E5: =IF(B5,1+INT((D5-1)/B$2),"")

Excel 2010
ABCDE
1No attending7
2No per table4
3
4NameAttending?Rand()RankTable #
5AaronTRUE0.99772911
6Bill
7CatherineTRUE0.48881741
8DougTRUE0.07084272
9Eliza
10FatimaTRUE0.37013652
11George
12HelenTRUE0.90144421
13IndigoTRUE0.35674862
14JackTRUE0.67260831

<tbody>
</tbody>
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,613
Members
449,238
Latest member
wcbyers

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