Hey,
So, I'm trying to create a monthly parking list for my office.
we got X employees, and 2 parking spots.
I got 2 sheets:
1. Employee Details - List of employee names, list of license plate, and if the employee wishes to use the parking or not.
2. Results - A list that should be field with the names of the employees who wishes to park this month, and their license plate.
What I want to achieve is:
Each parking spot should be field with the employee names that wishes to park that month, on each day of the month.
If the employee list is shorter then the days in month, it will rotate the list.
I need to eliminate duplication in the parking spots (one employee can't use 2 parking spots on the same day)
I can't use VBA, cause the excel will be in Google Sheets.
I've tried to use INDEX MATCH for that, but I couldn't rotate the name list.
Here's an example of the sheet "Employee Details"
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]License Plate[/TD]
[TD]Parking?[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]88-111-22[/TD]
[TD]yes[/TD]
[/TR]
[TR]
[TD]Tina Fey[/TD]
[TD]11-111-11[/TD]
[TD]yes[/TD]
[/TR]
[TR]
[TD]Jerry Seinfeld[/TD]
[TD]88-588-88[/TD]
[TD]no[/TD]
[/TR]
[TR]
[TD]Chris Rock[/TD]
[TD]66-666-66[/TD]
[TD]no[/TD]
[/TR]
[TR]
[TD]Axl Rose[/TD]
[TD]23-123-11[/TD]
[TD]yes[/TD]
[/TR]
[TR]
[TD]Natalie Portman[/TD]
[TD]66-222-11[/TD]
[TD]no[/TD]
[/TR]
</tbody>[/TABLE]
Here's an example of the sheet "Results"
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Day[/TD]
[TD]Parking Spot 1[/TD]
[TD]Parking Spot 1 - License Plate[/TD]
[TD]Parking Spot 2[/TD]
[TD]Parking Spot 2 - License Plate[/TD]
[/TR]
[TR]
[TD]05/06/18[/TD]
[TD]Sunday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]05/07/18[/TD]
[TD]Monday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]05/08/18[/TD]
[TD]Tuesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]05/09/18[/TD]
[TD]Wednesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]05/10/18[/TD]
[TD]Thursday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
Adam
So, I'm trying to create a monthly parking list for my office.
we got X employees, and 2 parking spots.
I got 2 sheets:
1. Employee Details - List of employee names, list of license plate, and if the employee wishes to use the parking or not.
2. Results - A list that should be field with the names of the employees who wishes to park this month, and their license plate.
What I want to achieve is:
Each parking spot should be field with the employee names that wishes to park that month, on each day of the month.
If the employee list is shorter then the days in month, it will rotate the list.
I need to eliminate duplication in the parking spots (one employee can't use 2 parking spots on the same day)
I can't use VBA, cause the excel will be in Google Sheets.
I've tried to use INDEX MATCH for that, but I couldn't rotate the name list.
Here's an example of the sheet "Employee Details"
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]License Plate[/TD]
[TD]Parking?[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]88-111-22[/TD]
[TD]yes[/TD]
[/TR]
[TR]
[TD]Tina Fey[/TD]
[TD]11-111-11[/TD]
[TD]yes[/TD]
[/TR]
[TR]
[TD]Jerry Seinfeld[/TD]
[TD]88-588-88[/TD]
[TD]no[/TD]
[/TR]
[TR]
[TD]Chris Rock[/TD]
[TD]66-666-66[/TD]
[TD]no[/TD]
[/TR]
[TR]
[TD]Axl Rose[/TD]
[TD]23-123-11[/TD]
[TD]yes[/TD]
[/TR]
[TR]
[TD]Natalie Portman[/TD]
[TD]66-222-11[/TD]
[TD]no[/TD]
[/TR]
</tbody>[/TABLE]
Here's an example of the sheet "Results"
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Day[/TD]
[TD]Parking Spot 1[/TD]
[TD]Parking Spot 1 - License Plate[/TD]
[TD]Parking Spot 2[/TD]
[TD]Parking Spot 2 - License Plate[/TD]
[/TR]
[TR]
[TD]05/06/18[/TD]
[TD]Sunday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]05/07/18[/TD]
[TD]Monday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]05/08/18[/TD]
[TD]Tuesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]05/09/18[/TD]
[TD]Wednesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]05/10/18[/TD]
[TD]Thursday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
Adam