I know this should be easy but it's not working. Basically, I have a schedule for training with 30 minute time slots from 8 a.m. to 4:30 a.m.
In Column M, starting with M4:M15, I have a list of activities
B4 needs to have data validation with the contents of M4:M15 applying conditional formatting based on the following:
If $B$4 = "$M$4" then the background format is bright green
If $B$4 is between $M$5 and $M$9 then Light green
If $B$4 is between $M$10 and $M$12 then light blue
otherwise the background remains white.
Column M - beginning with M4<TABLE style="WIDTH: 92pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=123 border=0 x:str><COLGROUP><COL style="WIDTH: 92pt; mso-width-source: userset; mso-width-alt: 4498" width=123><TBODY><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl24 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; WIDTH: 92pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: lime" width=123 height=17>Counter</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #ccffcc" height=17>3210</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #ccffcc" height=17>Calendar</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #ccffcc" height=17>Progress</TD></TR><TR style="HEIGHT: 12.75pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.75pt; BACKGROUND-COLOR: #ccffcc" height=17>Referral</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #ccffcc" height=17>Timesheet Prep</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl26 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #99ccff" height=17>Administrative</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl26 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #99ccff" height=17>Break</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl26 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #99ccff" height=17>Lunch</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl27 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: transparent" height=17>Planned Leave</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl27 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: transparent" height=17>Training</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl27 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: transparent" height=17>Acting Mgr</TD></TR></TBODY></TABLE>
I can get 2 out of 3 to work but the light blue comes up light green.
Any help would be greatly appreciated.
In Column M, starting with M4:M15, I have a list of activities
B4 needs to have data validation with the contents of M4:M15 applying conditional formatting based on the following:
If $B$4 = "$M$4" then the background format is bright green
If $B$4 is between $M$5 and $M$9 then Light green
If $B$4 is between $M$10 and $M$12 then light blue
otherwise the background remains white.
Column M - beginning with M4<TABLE style="WIDTH: 92pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=123 border=0 x:str><COLGROUP><COL style="WIDTH: 92pt; mso-width-source: userset; mso-width-alt: 4498" width=123><TBODY><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl24 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; WIDTH: 92pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: lime" width=123 height=17>Counter</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #ccffcc" height=17>3210</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #ccffcc" height=17>Calendar</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #ccffcc" height=17>Progress</TD></TR><TR style="HEIGHT: 12.75pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.75pt; BACKGROUND-COLOR: #ccffcc" height=17>Referral</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl25 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #ccffcc" height=17>Timesheet Prep</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl26 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #99ccff" height=17>Administrative</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl26 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #99ccff" height=17>Break</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl26 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: #99ccff" height=17>Lunch</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl27 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: transparent" height=17>Planned Leave</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl27 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: transparent" height=17>Training</TD></TR><TR style="HEIGHT: 12.95pt; mso-height-source: userset" height=17><TD class=xl27 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.95pt; BACKGROUND-COLOR: transparent" height=17>Acting Mgr</TD></TR></TBODY></TABLE>
I can get 2 out of 3 to work but the light blue comes up light green.
Any help would be greatly appreciated.