Conditional formatting help

thebenjames

New Member
Joined
Mar 12, 2021
Messages
12
Office Version
  1. 2019
Platform
  1. Windows
I've written the below which shades days on a calendar in grey, depending on whether the days fall within the "Start" and "End" range, however I would ideally like it to be different colours depending on who is in the "Assigned To" column e.g. light grey if it's "FACULTY", dark grey if it's "CAT"

=AND(F$5>=$D8,F$5<=$E8)

1646899424517.png


For some reason I cannot get this to work; any ideas?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
This is what I've got in the rule manager (I've also written one which shades those areas in green, relative to what is in the "PROGRESS" column, but this is working fine)

1646899556929.png
 
Upvote 0
For light grey:
=AND(F$5>=$D8,F$5<=$E8,$B8="FACULTY")
For dark grey:
=AND(F$5>=$D8,F$5<=$E8,$B8="CAT")
 
Upvote 0
Solution

Forum statistics

Threads
1,224,816
Messages
6,181,143
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