I have 2 pages, one in the form of a list (Sheet1) and another one in the form of a calendar format (Sheet2). I want to create a code that can help me to locate the name of the assignment taken from Sheet 1 on Sheet 2. If the assignment exists on Sheet2, check for the status of the assignment. If it is "Completed", I want the name of the Assignment on Sheet 2 to be colored in green and if it is "Pending", then the name of the assignment will be in red. Does anyone have any idea on how I can get about doing this? I will illustrate the steps below with pictures.
| This is sheet 1. Here, I will have a list of assignments that will be populated in Sheet 2 based on the dates I have specified. |
This is sheet 2. What I want to do here is to loop through every cell within the range of the calender (B7:H17) and match it against the list of assignments I have created in Sheet1. If the Assignment exists, then check for the status of the assignment and update the color for the assignment correspondingly. | |