Conditional formating with multiple dependencies

robgoldstein

Board Regular
Joined
Oct 26, 2013
Messages
165
Office Version
  1. 2019
Platform
  1. Windows
Hey All,
I am building a schuduling workbook that has a sheet that is populated by by form with my employees availablities by day for a week. Each row is an employee's availability and has the date of the monday of that week at the beginning. The columns of this availablity sheet are by day and contain the hours they are not available (ie 10:00, 11:00, 12:00) for that day or it says "all day"
I have another I will be using to schedule for that week. It has the date of the Monday of that week (which will match the one from the employees availability) in cell B1 The rows will have the employee's name and email address (also in their form caputred info) and the columns will be hours scheduled , grouped by days.
I want to be able to fill in the cells with RED where the employee says they are not available. So I would need to match the date, email and time for each day. I deally this would a single formula that will all the way down and across the schedule in conditional formatting.
I hope this clear.
Here are the 2 sheets. Any help is appreciated.
Schedule sheet
Week Starting on Monday2021-08-24Week ending on Suday2021-08-30
MondayTuesdayWednesdayThursdayFridaySaturdaySunday
2021-08-242021-08-252021-08-262021-08-272021-08-282021-08-292021-08-30
NameEmail10:0011:0012:0001:0002:0003:0004:0005:0006:0007:0008:0010:0011:0012:0001:0002:0003:0004:0005:0006:0007:0008:0010:0011:0012:0001:0002:0003:0004:0005:0006:0007:0008:0010:0011:0012:0001:0002:0003:0004:0005:0006:0007:0008:0010:0011:0012:0001:0002:0003:0004:0005:0006:0007:0008:0010:0011:0012:0001:0002:0003:0004:0005:0006:0007:0008:0010:0011:0012:0001:0002:0003:0004:0005:0006:0007:0008:00
Employees Scheduled
KeyHolders Scheduled
Key Holdder- RobRobgoldstein@gmail.com
Default
Key Holder - Mandymandy.carruthers@hotmail.com
Default
Key Holder - KasandraKassandra_gallant@hotmail.com
Default


Form responses sheet
Fluffy's Scheduling page Requests.xlsx
ABCDEFGHIJKLM
1TimestampNameEmail AddressPlease select the Monday of the week your are submitting your time off requests. Select times you are not available on Monday. Select times you are not available on Tuesday. Select times you are not available on Wednesday Select times you are not available on ThursdaySelect times you are not available on FridaySelect times you are not available on SaturdaySelect times you are not available on SundayNotes
28-19-2021 10:25:38rob test 1robgoldstein@gmail.om2021-08-23All Day10:00 am, 11:00 am, 12:00 pm, 1:00 pm, 2:00 pm7:00 pm, 8:00 pm3:00 pm, 4:00 pm, 5:00 pm10:00 am, 11:00 am, 12:00 pmthis is a note
38-19-2021 11:18:09Mandy test 1mandy.carruthers@hotmail.com2021-08-232:00 pm, 3:00 pmAll Day10:00 am, 11:00 am, 12:00 pmmore notes
4
5
Form responses 1



EDIT: So for the row containing Robgoldstein@gmail.com on the schedule sheet for the week starting on 2021-08-03 on Monday I would want Monday all red, Tuesday I would need 10, 11, 12, 1 & 2 to all be filled in Red and Wednesday I would not need anything filled in Red.
 
Last edited by a moderator:

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Here is the result I am looking to get. If anyone can help here it would be greatly appreciated.
 

Attachments

  • Screenshot 2021-08-21 231659.jpg
    Screenshot 2021-08-21 231659.jpg
    131 KB · Views: 5
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
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