Make a cell Different colors for Days of the week based on schedule

SiC MaGGoT

New Member
Joined
Oct 5, 2021
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Please treat me like I am a complete noob as I am not very experienced with excel. I am trying to make a schedule sheet and would like the names that are listed on the sheet to light up green on days they work or red on days they are off. Assuming they work the same days every week. So for example say employee1 works Sunday through Thursday and are off Friday and Saturday. Employee2 works only Mondays and Thursdays and so on. Is this possible?

Thanks in advance.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hi & welcome to MrExcel.
As long as each person always works the same days it's possible, but you would have to create a conditional formatting rule for each person.
 
Upvote 0
How many people is it for?
 
Upvote 0
Currently 27, but that number is going to grow soon for the upcoming holidays. I wanted to try and do this so I can quickly see who was working for the day as I am managing them remotely. I don't currently have any of their schedules as I am in training and will be starting to manage them in a couple weeks. I was hoping if I learned how to setup one box I could figure out the rest. Thanks again
 
Upvote 0
Ok, how about like
+Fluff 1.xlsm
AB
1
2Name 1Sun-Thu
3Name 2Mon,Thu
4Name 3Sun-Thu
5Name 4Tue, Fri
6Name 5Wed-Sun
Master
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A6Expression=TODAY()=WORKDAY.INTL(TODAY()-1,1,"1100000")textNO
A5Expression=TODAY()=WORKDAY.INTL(TODAY()-1,1,"1011011")textNO
A4Expression=TODAY()=WORKDAY.INTL(TODAY()-1,1,"1001000")textNO
A3Expression=TODAY()=WORKDAY.INTL(TODAY()-1,1,"0110111")textNO
A2Expression=TODAY()=WORKDAY.INTL(TODAY()-1,1,"0000110")textNO

col B shows the days they work and the text strings like "1011011" in the formula specify weekends, where 1 is true (it's a weekend) & 0 is false. The string runs Mon-Sun
 
Upvote 0
Solution
I really appreciate it, but I have no clue what I am looking at lol
 
Upvote 0
Select all the names & set the fill colour to red, then.
Select A2, then click on conditional formatting on the home tab, new rule, use a formula & enter the formula, then select the format you want & click on Ok.
You will need to do that for each name with their own formula.
 
Upvote 0
So I click on a Cell containing a name, click conditional formatting, select "use a formula to determine which cells to format", use this formula "=TODAY()=WORKDAY.INTL(TODAY()-1,1,"1100000", and select format and select the color green?

How do I determine the 0s and 1s for days they work? Is it just Mon,tues,wed,thurs,fri,sat,sun 0 means off and 1 means on?
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,289
Members
449,077
Latest member
Rkmenon

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