How would I be able to write a formula to get oldest "FAIL"?
HOS.xlsm | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
P | Q | R | S | T | U | V | W | |||
5 | 12-Apr-24 | 19-Apr-24 | 26-Apr-24 | 3-May-24 | 10-May-24 | 17-May-24 | 24-May-24 | oldest | ||
6 | FAIL | FAIL | FAIL | |||||||
7 | FAIL | |||||||||
8 | ||||||||||
9 | FAIL | |||||||||
10 | FAIL | |||||||||
11 | FAIL | FAIL | FAIL | FAIL | FAIL | |||||
12 | FAIL | FAIL | FAIL | FAIL | FAIL | |||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
P5:V5 | P5 | =E5 |
P6:V12 | P6 | =IF(AND($A$1>E$14,E6=0),"FAIL","") |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
P6:V12 | Expression | =AND(P6="FAIL",P$14<(TODAY()-60)) | text | NO |
P6:V12 | Expression | =AND(P6="FAIL",P$14<(TODAY()-30)) | text | NO |
P6:V12 | Expression | =AND(P6="FAIL",P$14>=(TODAY()-30)) | text | NO |
P5:V5,P14:V14,P26:V26,P83:V83,P102:V102,P135:V135,P145:V145 | Expression | =($A$1>P5) | text | NO |