Calendar Help

mgc77

New Member
Joined
Jul 30, 2018
Messages
3
I am trying to find out if it is possible to create an auto-populating calendar based on the first Monday of the month, or the third Tuesday of the month, etc. The calendar I need to create is for a vehicle inspection monthly calendar. I have 6 vehicles each day of the month that need to be inspected. To keep things simple for employees, their vehicle are inspected on the same day each month (1st Monday, 2nd Monday, 3rd Thursday, etc.) I am not sure that this is even possible, but wanted to check. It would save me tons of work to be able to input that vehicle 1 is inspected every 1st Monday of each month, and have Excel automatically put that vehicle on the first Monday of each month.

Thanks!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
like this?
vehicle 1 = first monday
vehicle 2 = second monday
vehicle 3 = third thursday
Code:
1/07/2018	
2/07/2018	Vehicle 1
3/07/2018	
4/07/2018	
5/07/2018	
6/07/2018	
7/07/2018	
8/07/2018	
9/07/2018	Vehicle 2
10/07/2018	
11/07/2018	
12/07/2018	
13/07/2018	
14/07/2018	
15/07/2018	
16/07/2018	
17/07/2018	
18/07/2018	
19/07/2018	Vehicle 3
20/07/2018	
21/07/2018	
22/07/2018	
23/07/2018	
24/07/2018	
25/07/2018	
26/07/2018	
27/07/2018	
28/07/2018	
29/07/2018	
30/07/2018	
31/07/2018	
1/08/2018	
2/08/2018	
3/08/2018	
4/08/2018	
5/08/2018	
6/08/2018	Vehicle 1
7/08/2018	
8/08/2018
formula in second column is
Code:
=IF(AND(QUOTIENT(DAY(A1)-1,7)=0,WEEKDAY(A1,2)=1),"Vehicle 1",IF(AND(QUOTIENT(DAY(A1)-1,7)=1,WEEKDAY(A1,2)=1),"Vehicle 2",IF(AND(QUOTIENT(DAY(A1)-1,7)=2,WEEKDAY(A1,2)=4),"Vehicle 3","")))
 
Upvote 0
Yes, exactly. Except, I am going to be using a monthly calendar template that puts each month's calendar in a new sheet tab. Would these formulas work in a calendar format instead of the list format that you have shown?

Thanks so much for your help!
 
Upvote 0
does your calendar template look something like this?
Code:
Jan 18
Sun	Mon	Tue	Wed	Thur	Fri	Sat
31	1	2	3	4	5	6
						
7	8	9	10	11	12	13
						
14	15	16	17	18	19	20
						
21	22	23	24	25	26	27
						
28	29	30	31	1	2	3
 
Upvote 0
try change the formula to refer to the cell above it like this

Code:
	A	B	C	D	E	F	G
1	Sun	Mon	Tue	Wed	Thur	Fri	Sat
2	31	1	2	3	4	5	6
3		V. 1					
4	7	8	9	10	11	12	13
5		V. 2					
6	14	15	16	17	18	19	20
7					V. 3		
8	21	22	23	24	25	26	27
9							
10	28	29	30	31	1	2	3

so the formula in B3 would be

Code:
=IF(AND(QUOTIENT(DAY(B2)-1,7)=0,WEEKDAY(B2,2)=1),"V. 1",IF(AND(QUOTIENT(DAY(B2)-1,7)=1,WEEKDAY(B2,2)=1),"V. 2",IF(AND(QUOTIENT(DAY(B2)-1,7)=2,WEEKDAY(B2,2)=4),"V. 3","")))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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