Rotating Parking List

Adamba

New Member
Joined
May 8, 2018
Messages
1
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
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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