I need VBA code to assign seat numbers for passengers. Our group size ranges from 30 to 44 passengers, and we usually use a bus with a 2x2 seating layout. The trip typically lasts 5 to 8 days. Every day, I need to rearrange the passenger seating so they can enjoy the trip fairly and without any discrimination. Most of the passengers are couples, and we need to seat them next to each other.
We have a column called GRN in our data, which helps us identify the couples.
Initially, we have raw data that is not sorted by age. On the first day, we need to seat passengers according to seniority based on age. From the next day onwards, the seating arrangement should be done fairly for everyone.
I have uploaded a sample file for your reference.
We have a column called GRN in our data, which helps us identify the couples.
Initially, we have raw data that is not sorted by age. On the first day, we need to seat passengers according to seniority based on age. From the next day onwards, the seating arrangement should be done fairly for everyone.
I have uploaded a sample file for your reference.