I am designing a calendar for my department. I have dates set up incrementing by week along the top, with an event and start and end dates along the side. I have it set up to check if the start date is greater than the beginning of the week, and less than the beginning of the following week. If true, the date (DD) is shown in the corresponding cell. The end date is set up to display the same way. What I want to add next is a sort of a gantt chart feature. Basically, I want to highlight the cells between the start and end dates to be able to visualize the amount of time spent on a project. Does anyone have an idea of how I can accomplish this? I have pasted a small excerpt from my calendar to give a better understanding, hopefully the formatting matches up. Thanks!
[TABLE="width: 479"]
<colgroup><col><col><col><col span="8"></colgroup><tbody>[TR]
[TD]Start Date[/TD]
[TD]Target Date[/TD]
[TD][/TD]
[TD]3-Sep[/TD]
[TD]10-Sep[/TD]
[TD]17-Sep[/TD]
[TD]24-Sep[/TD]
[TD]1-Oct[/TD]
[TD]8-Oct[/TD]
[TD]15-Oct[/TD]
[TD]22-Oct[/TD]
[/TR]
[TR]
[TD]9/3/2018[/TD]
[TD]9/17/2018[/TD]
[TD][/TD]
[TD="align: right"]03[/TD]
[TD] [/TD]
[TD="align: right"]17[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]9/13/2018[/TD]
[TD]10/1/2018[/TD]
[TD][/TD]
[TD] [/TD]
[TD="align: right"]13[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]01[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]9/19/2018[/TD]
[TD]10/15/2018[/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]19[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]15[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]10/3/2018[/TD]
[TD]10/20/2018[/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]03[/TD]
[TD] [/TD]
[TD="align: right"]20[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 479"]
<colgroup><col><col><col><col span="8"></colgroup><tbody>[TR]
[TD]Start Date[/TD]
[TD]Target Date[/TD]
[TD][/TD]
[TD]3-Sep[/TD]
[TD]10-Sep[/TD]
[TD]17-Sep[/TD]
[TD]24-Sep[/TD]
[TD]1-Oct[/TD]
[TD]8-Oct[/TD]
[TD]15-Oct[/TD]
[TD]22-Oct[/TD]
[/TR]
[TR]
[TD]9/3/2018[/TD]
[TD]9/17/2018[/TD]
[TD][/TD]
[TD="align: right"]03[/TD]
[TD] [/TD]
[TD="align: right"]17[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]9/13/2018[/TD]
[TD]10/1/2018[/TD]
[TD][/TD]
[TD] [/TD]
[TD="align: right"]13[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]01[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]9/19/2018[/TD]
[TD]10/15/2018[/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]19[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]15[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]10/3/2018[/TD]
[TD]10/20/2018[/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]03[/TD]
[TD] [/TD]
[TD="align: right"]20[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]