473,320 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Create meeting groups based on attendee preferences.

Hi there,

I've posted this in an excel group, but was wondering if the following
may be easier to do in access?

I am trying to create a function that will automatically allocate
conference attendees to a meeting group, based on their preferences. I
have a table with the following info:
Attendee Group1 Group2 Group3
Joe Bloggs 2 1 3
Jane Bloggs 1 3 2
Jimmy Bloggs 1 2 3
....and so on for several hundred attendees.
1 = First choice of meeting group to attend
2 = Second choice of meeting group to attend
3 = Third choice of meeting group to attend.
Let's say that each meeting group has a maximum occupancy of 50 people.

I want to automatically allocate people to Group 1 who have chosen it
as their first choice. When the group fills up, I would then like
anyone left over then to be allocated to their 2nd choice group and so
on.
I've no idea to get started with this sort of thing, but am fairly
comfortable with VBA and was wondering if anyone could give me any
pointers?
Many thanks - David

Sep 19 '06 #1
2 2247
On 19 Sep 2006 08:05:35 -0700, "Daveo" <wr**********@gmail.comwrote:

The words "Random" and "Top" come to mind.
Select the top 50 people with Group1 as first choice to be assigned to
Group1.
If space left in the group, randomly select the top 50-N people who
have it as their second choice.
Etc.
Repeat for Group2 etc.

This could probably done in a few nested loops.

-Tom.

>Hi there,

I've posted this in an excel group, but was wondering if the following
may be easier to do in access?

I am trying to create a function that will automatically allocate
conference attendees to a meeting group, based on their preferences. I
have a table with the following info:
Attendee Group1 Group2 Group3
Joe Bloggs 2 1 3
Jane Bloggs 1 3 2
Jimmy Bloggs 1 2 3
...and so on for several hundred attendees.
1 = First choice of meeting group to attend
2 = Second choice of meeting group to attend
3 = Third choice of meeting group to attend.
Let's say that each meeting group has a maximum occupancy of 50 people.

I want to automatically allocate people to Group 1 who have chosen it
as their first choice. When the group fills up, I would then like
anyone left over then to be allocated to their 2nd choice group and so
on.
I've no idea to get started with this sort of thing, but am fairly
comfortable with VBA and was wondering if anyone could give me any
pointers?
Many thanks - David
Sep 20 '06 #2
Hi Tom,

Many thanks for the info - you;ve got me started!

David
Tom van Stiphout wrote:
On 19 Sep 2006 08:05:35 -0700, "Daveo" <wr**********@gmail.comwrote:

The words "Random" and "Top" come to mind.
Select the top 50 people with Group1 as first choice to be assigned to
Group1.
If space left in the group, randomly select the top 50-N people who
have it as their second choice.
Etc.
Repeat for Group2 etc.

This could probably done in a few nested loops.

-Tom.

Hi there,

I've posted this in an excel group, but was wondering if the following
may be easier to do in access?

I am trying to create a function that will automatically allocate
conference attendees to a meeting group, based on their preferences. I
have a table with the following info:
Attendee Group1 Group2 Group3
Joe Bloggs 2 1 3
Jane Bloggs 1 3 2
Jimmy Bloggs 1 2 3
...and so on for several hundred attendees.
1 = First choice of meeting group to attend
2 = Second choice of meeting group to attend
3 = Third choice of meeting group to attend.
Let's say that each meeting group has a maximum occupancy of 50 people.

I want to automatically allocate people to Group 1 who have chosen it
as their first choice. When the group fills up, I would then like
anyone left over then to be allocated to their 2nd choice group and so
on.
I've no idea to get started with this sort of thing, but am fairly
comfortable with VBA and was wondering if anyone could give me any
pointers?
Many thanks - David
Sep 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Betty Harvey | last post by:
The next meeting of the XML Users Group will be held on Wednesday, November 19, 2003 at the American Geophysical Union (AGU) at 2000 Florida Avenue, N.W., Washington, DC 20009-1277. The meeting...
0
by: Betty Harvey | last post by:
Happy 2004! I hope everyone had a great holiday and will have a good new year. The next meeting of the XML Users Group will be held on Wednesday, January 21, 2004 at the American Geophysical...
0
by: Betty Harvey | last post by:
The next meeting of the XML Users Group will be held on Wednesday, February 18, 2004 at the American Geophysical Union (AGU) at 2000 Florida Avenue, N.W., Washington, DC 20009-1277. The meeting...
0
by: Betty Harvey | last post by:
The next meeting of the XML Users Group will be held on Wednesday, July 21, 2004 at the American Geophysical Union (AGU) at 2000 Florida Avenue, N.W., Washington, DC 20009-1277. The meeting starts...
0
by: Brian Loesgen | last post by:
The next San Diego .Net User Group meeting is Tuesday, November 25, 2003 at the Scripps Ranch Library. Scripps Ranch Library 10301 Scripps Lake Drive San Diego, CA 92131-1026 Please join us...
0
by: Lester Knutsen | last post by:
Washington Area IBM Informix/DB2 User Group meeting - June 7, 2005 -------------------------------------------------------------- Mark the date, our next user group meeting will be another...
4
by: Derrick | last post by:
Hi I am trying to create a outlook meeting request when a user clicks on a link on a asp.net page. what is the best approach? do you know where I could find some samples? Thanks Derrick
0
by: Christie | last post by:
I am having a hard time sending meeting updates to attendees. I can get the updated meeting to save to the organizer's calendar, but then when I send it the meeting is sent to the attendee as a...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.