Placement into program based on score and choice

mlore

New Member
Joined
Oct 31, 2017
Messages
3
Can anyone help with a formula or code that would automatically place individuals into their 1st, 2nd, or 3rd choice of program based on the following:
  • The individual with the highest score determines the priority of placement
  • There are a maximum number of placements for each program
  • Placement should be done in rounds. All individuals are placed in their first choice based on their score until the programs are full. Anyone who did not get into their 1st choice will be placed into their 2nd choice based on score again. If their score is higher than someone who was placed in the first round they can bump and then that individual who was bumped 2nd choice will need to be evaluated. This process will occur a third time for those who have not been placed 3rd choice.

Please see the sample data below which is sorted by score and spans columns A-G and rows 1-40.

ProgramMax
AT20
CON20
COS20
CUL20
ENG40
HSM40
LE20
SPB20
WEL20
IT20
ScoreFirst Name:Middle Name:Last Name:1st Choice:2nd Choice:3rd Choice:
57.40First 1Middle 1Last 1SPBENGIT
55.93First 2Middle 2Last 2ENGLESPB
55.78First 3Middle 3Last 3HSMENGIT
55.38First 4Middle 4Last 4ITSPBCUL
55.10First 5Middle 5Last 5ENGHSMLE
55.00First 6Middle 6Last 6ENGITAT
54.98First 7Middle 7Last 7LEITHSM
54.88First 8Middle 8Last 8HSMHSMHSM
54.85First 9Middle 9Last 9HSMWELSPB
54.85First 10Middle 10Last 10SPBENGHSM
54.80First 11Middle 11Last 11ITENGSPB
54.43First 12Middle 12Last 12HSMENGLE
53.90First 13Middle 13Last 13HSMHSMHSM
53.80First 14Middle 14Last 14ITENGSPB
53.80First 15Middle 15Last 15SPBCULIT
53.68First 16Middle 16Last 16HSMENGIT
53.33First 17Middle 17Last 17ENGITCON
53.13First 18Middle 18Last 18HSMENGSPB
53.03First 19Middle 19Last 19ITENGHSM
53.00First 20Middle 20Last 20ENGITAT
53.00First 21Middle 21Last 21ENGLEHSM
52.73First 22Middle 22Last 22HSMLECUL
52.55First 23Middle 23Last 23ENGITHSM
52.53First 24Middle 24Last 24ENGITLE
52.30First 25Middle 25Last 25HSMSPBCOS
52.20First 26Middle 26Last 26ENGSPBIT
51.88First 27Middle 27Last 27LEENGIT

<tbody>
</tbody>
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
miore,

Subject to editing the the range for the table of available program places or maybe defining it as a named range
AND ensuring that table is sorted in ascending order(otherwise will need INDEX /MATCH rather than VLOOKUP)Try like....

Excel 2010
ABCDEFGHIJKL
1ScoreFirst Name:Middle Name:Last Name:1st Choice:2nd Choice:3rd Choice:AllocatedProgramMax
257.4First 1Middle 1Last 1SPBENGITSPBAT4
355.93First 2Middle 2Last 2ENGLESPBENGCON4
455.78First 3Middle 3Last 3HSMENGITHSMCOS4
555.38First 4Middle 4Last 4ITSPBCULITCUL4
655.1First 5Middle 5Last 5ENGHSMLEENGENG8
755First 6Middle 6Last 6ENGITATENGHSM8
854.98First 7Middle 7Last 7LEITHSMLEIT4
954.88First 8Middle 8Last 8HSMHSMHSMHSMLE4
1054.85First 9Middle 9Last 9HSMWELSPBHSMSPB4
1154.85First 10Middle 10Last 10SPBENGHSMSPBWEL4
1254.8First 11Middle 11Last 11ITENGSPBIT
1354.43First 12Middle 12Last 12HSMENGLEHSM
1453.9First 13Middle 13Last 13HSMHSMHSMHSM
1553.8First 14Middle 14Last 14ITENGSPBIT
1653.8First 15Middle 15Last 15SPBCULITSPB
1753.68First 16Middle 16Last 16HSMENGITHSM
1853.33First 17Middle 17Last 17ENGITCONENG
1953.13First 18Middle 18Last 18HSMENGSPBHSM
2053.03First 19Middle 19Last 19ITENGHSMIT
2153First 20Middle 20Last 20ENGITATENG
2253First 21Middle 21Last 21ENGLEHSMENG
2352.73First 22Middle 22Last 22HSMLECULHSM
2452.55First 23Middle 23Last 23ENGITHSMENG
2552.53First 24Middle 24Last 24ENGITLEENG
2652.3First 25Middle 25Last 25HSMSPBCOSSPB
2752.2First 26Middle 26Last 26ENGSPBIT
2851.88First 27Middle 27Last 27LEENGITLE
Sheet7
Cell Formulas
RangeFormula
I2=IF(COUNTIF($I$1:I1,E2)E2,$K$2:$L$11,2),E2,IF(COUNTIF($I$1:I1,F2)F2,$K$2:$L$11,2),F2,IF(COUNTIF($I$1:I1,G2)G2,$K$2:$L$11,2),G2,"")))


Hope that helps.
 
Upvote 0
Thank you! This is working great...except that my last program in the list is give me results that are double the max. Any idea why?
 
Upvote 0

Forum statistics

Threads
1,215,548
Messages
6,125,472
Members
449,231
Latest member
Sham Yousaf

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