Conditional format - three criteria

tesa72

New Member
Joined
May 3, 2021
Messages
4
Office Version
  1. 2010
Platform
  1. Windows
Hello! I'm having a problem trying to add conditional format to a project schedule I'm working on. I'm trying to have two things happen.

1. format with diagonal lines based on date falling within a certain range. What I have set up for that works: =AND($E8>=H$5,$D8<I$5)
2. I'm trying to have the same cells formal with a solid color when the task has been completed but can't get that to override the previous format when applicable. I've tried =AND($E8>=H$5,$D8<I$5,$C$8=100)

I've tried re-ordering the rules but it's not working. Any help would be greatly appreciated!!
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Welcome to the forum.

I guess what you need to do is put your second rule at the top of the list and then select Stop If True.
 
Upvote 0
Welcome to the forum.

I guess what you need to do is put your second rule at the top of the list and then select Stop If True.
Thank you for the suggestion! I've tried that but it's not working. I'm a bit baffled.
 
Upvote 0
Simply paste it into the edit box here. It will appear as code; you can click on Preview at the top right of the edit box and then Post Reply.
 
Upvote 0
Ignite Class Schedule.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAF
8
9Consumer Direct 16%7/12/2112/24/211/0/007/30/21
10Week 1: SAFE Prep100%7/12/217/16/217/12/217/16/21
11Week 2: SAFE Prep0%7/19/217/23/217/19/217/23/21
12Week 3: SAFE Prep/Exam0%7/26/217/30/217/26/217/30/21
13Week 4: State Licensing/5 Star0%8/2/218/6/21
14Week 5: Sales and Systems 1010%8/9/218/13/21
15Week 6: Sales and Systems 1020%8/16/218/20/21
16Week 7: Sales and Systems 1030%8/23/218/27/21
17Week 8: Go Live / On-demand help0%8/30/219/3/21
18Week 9: Live: Incubation / Daily Training (30 mins)0%9/6/219/10/21
19Week 10: Live: Incubation / Daily Training (30 mins)0%9/13/219/17/21
20Week 11: Live: Incubation / Daily Training (30 mins)0%9/20/219/24/21
21Week 12: Live: Incubation / Daily Training (30 mins)0%9/27/2110/1/211/0/00
22Week 13: Live / Training (30 mins, 2 x week)0%10/4/2110/8/21
23Week 14: Live / Training (30 mins, 2 x week)0%10/11/2110/15/21
24Week 15: Live / Training (30 mins, 2 x week)0%10/18/2110/22/21
25Week 16: Live / Training (30 mins, 2 x week)0%10/25/2110/29/21
26Week 17-24: Live / Training (30 mins,1 x week)0%11/1/2112/24/21
Class Schedule - Detail View
Cell Formulas
RangeFormula
C9C9=AVERAGE(C10:C26)
D9,F9D9=MIN(D10:D26)
G9,E9G9=MAX(G10:G26)
E10:E25E10=D10+4
D11:D26D11=E10+3
F21F21=F22
E26E26=D26+53
Cells with Conditional Formatting
CellConditionCell FormatStop If True
L10Expression=COUNTIF(Holiday!$C$3:$C$12,$D$10:$E$188)>1textNO
C8:C190Other TypeDataBarNO
H8:CB190Expression=AND($E8>=H$5,$D8<I$5)textNO
H8:CB190Expression=AND($E8>=H$5,$D8<I$5,$C$8:$C$188=100)textNO
H8:CB190Expression=NOT(AND(MAX($G8,$E8)>=H$5,MIN($F8,$D8)<I$5))textNO
 
Upvote 0
Move =AND($E8>=H$5,$D8<I$5,$C$8:$C$188=100) to the top of the list (at least above the yellow one) in the CondFrmt dialog box and select the Stop If True checkbox next to it.
 
Upvote 0
Oopth. I didn't mean the yellow one. I meant the one with =AND($E8>=H$5,$D8<I$5)
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,543
Members
449,316
Latest member
sravya

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