conditional formatting with multiple criteria

jbrown021286

Board Regular
Joined
Mar 13, 2023
Messages
88
Office Version
  1. 365
Platform
  1. Windows
hours log.xlsx
ABCDEFGHIJKLMN
14/26/2024
2DaydatenotesColumn2ROstatusSUMDaignosisCODEJOBFLAG TIMEADJUSTMENTColumn1
3Saturday4/20/20246209943g1.0kkey1
4Saturday4/20/2024x62098471.0dDiag1
5Monday4/22/20246208395g1.0  1
6Monday4/22/20246209839g1.0  1
7Monday4/22/20246209944g0.5  0.5
8Monday4/22/20246209944g0.5  0.5
9Monday4/22/20246209944g1.5  1.5
10Monday4/22/20246209996g0.7  0.7
11Monday4/22/20246209996g1.4  1.4
12Monday4/22/20246210011g2.09ts9speed 2
13Tuesday4/23/20246209999g1.4pdipdi1.4
14Tuesday4/23/20246209999g0.7propropack0.7
15Tuesday4/23/20246209405g0.2window molding  0.2
16Tuesday4/23/20246210012g10.0oil pump  10
17Tuesday4/23/20246210012g2.0ps pump  2
18Tuesday4/23/20246210012g1.0head light rest  1
19Wednesday4/24/2024x621004110.0  10
20Friday4/26/2024x62100410.1afair filter0.1
21Wednesday4/24/2024x62100410.2cfcabin filter0.2
22Wednesday4/24/2024x62100410.3  0.3
23Wednesday4/24/202462101781.4pdipdi1.4
24Wednesday4/24/202462101852.0adas  2
25Wednesday4/24/202462099740.2cfcabin filter0.2
26Wednesday4/24/202462099740.1afair filter0.1
27Wednesday4/24/202462099740.8bsBrake Service0.8
28Wednesday4/24/202462099740.5tsTrans service0.5
29Wednesday4/24/202462099741.5brturn rotors1.5
30Wednesday4/24/202462099743.0  3
31Wednesday4/24/202462099741.0csCoolant Service1
32Wednesday4/24/202462100943.0  3
33Wednesday4/24/202462100941.5  1.5
34Wednesday4/24/202462101921.0  1
35     
36     
37     
Log
Cell Formulas
RangeFormula
A1A1=TODAY()
K3:K37K3=IF(J3="","",INDEX($AA$3:$AA$91,MATCH(J3,$Z$3:$Z$91,0),1))
L3:L37L3=IF(K3="","",INDEX($AB$3:$AB$91,MATCH(J3,$Z$3:$Z$91,0),1))
C3:C4,C12:C37C3=IF([@RO]<>"",IF(C3="",TODAY(),C3),"")
B3:B37B3=IFERROR(TEXT(WEEKDAY($C3),"Dddd"),"")
H3:H37H3=SUMIF(Table1112933[@[FLAG TIME]:[ADJUSTMENT]],"<>",Table1112933[@[FLAG TIME]:[ADJUSTMENT]])
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F3:F280,M22:M52Expression=COUNTIF(W:W,F3)>0textNO
G3:G280Cell Value=$P$33textNO
I5:I7Cell Value=$P$32textNO
I5:I7Cell Value=$P$31textNO
I5:I7Cell Value=$P$30textNO
I5:I7Cell Value=$P$29textNO
I5:I7Cell Value=$P$28textNO
I5:I7Cell Value=$P$27textNO
I19Cell Value=$P$32textNO
I19Cell Value=$P$31textNO
I19Cell Value=$P$30textNO
I19Cell Value=$P$29textNO
I19Cell Value=$P$28textNO
I19Cell Value=$P$27textNO
G3:G280Cell Value=$P$32textNO
G3:H280Cell Value=$P$31textNO
G3:H280Cell Value=$P$30textNO
G3:H280Cell Value=$P$29textNO
G3:H280Cell Value=$P$28textNO
G3:H280Cell Value=$P$27textNO
H3:H280Expression=" =COUNTIFS(D:D,A1,E:E,J2)>0"textNO
H3:H280Expression=COUNTIFS(W:W,F3,X:X,H3)>0textNO
M3:O5,N6:O7Expression=COUNTIFS(XFA:XFA,L3,XFC:XFC,M3)>0textNO
F28:F38Expression=COUNTIF(XEU:XEU,F28)>0textNO

i need to make 2 conditional formatting formulas for column E. the first formula needs to highlight the cell if the adjacent cell in column f has a value in it and the cell column E is "x". the second formula needs to highlight the cell in column E if the adjacent cell in F has a value and the cell in E is empty. any help would be appreciated.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Formula 1:
Excel Formula:
=(E3="x")*(F3<>"")
Formula 2:
Excel Formula:
=(E3="")*(F3<>"")
 
Upvote 0
Solution
Formula 1:
Excel Formula:
=(E3="x")*(F3<>"")
Formula 2:
Excel Formula:
=(E3="")*(F3<>"")
i was trying to add another argument that returns a true value if E has an X in it and c = A1. I'm not sure what is wrong with this formula =(E3="x")*(C3=A$1$"") but it does not work
 
Upvote 0
Try
Excel Formula:
=(E3="x")*(C3=$A$1)
 
Upvote 0
Please explain what you're trying to do in words.
column c is a date time stamp that is logged when column f cells are filled and A1 is the current date. i am wanting to conditionally format E if it has an "x" in it and the time stamp date in column c is = to the date in A1
 
Upvote 0
column c is a date time stamp that is logged when column f cells are filled and A1 is the current date. i am wanting to conditionally format E if it has an "x" in it and the time stamp date in column c is = to the date in A1
I've edited my post above. See if the formula works for you.
 
Upvote 0

Forum statistics

Threads
1,224,862
Messages
6,181,465
Members
453,045
Latest member
Abraxas_X

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