I am looking to match students from the students table to teachers in the Teacher Table. The criteria is the following:
Note the actual data set is 1500 rows, this is just a sample.
Thank you for the help
Students table
https://drive.google.com/file/d/1cMmum1x2v3iXGW1tcx-JJEdADN4ofZqh/view?usp=sharing
Teachers Table
https://drive.google.com/file/d/1JUIg9cxvbXdrXJC3w4YpyE7awX0GVKqs/view?usp=sharing
- A teach can only have one student
- Student should be matched with a teacher based on the following :
- Their preferred area in Column N with the Teacher Area in Column C
- Choice-1 in column D with Teacher Skill in column B
- When all choice-1 students are match, a second run to match should use Choice-2 in column E and so on until all students are matched
- Student labeled as walkers in column B should be matched first
- Students labeled as Carpool in column B and Yes in Column C should be matched second
- Students labeled as carpool in Column B and NO in column C should be matched third
- Final product should list all the matched students with their teachers, one table list student ID’s to their respective teacher ID.
- No matched students should be in a separate list.
Note the actual data set is 1500 rows, this is just a sample.
Thank you for the help
Students table
https://drive.google.com/file/d/1cMmum1x2v3iXGW1tcx-JJEdADN4ofZqh/view?usp=sharing
Teachers Table
https://drive.google.com/file/d/1JUIg9cxvbXdrXJC3w4YpyE7awX0GVKqs/view?usp=sharing