Hi,
I would like to do the following as shown in the PF_COND column with the limit set to 20. From these COND1 to COND3 columns if any of the row more than 20, then it's fail. For example, at row2, the SN is failing at COND2 and COND3.
My problem is with the formula when more than 1 condition fail, it did not recognized the AND operator and instead reported a single failed condition. Please suggest what shall be the right solution.
| SN | RAD | COND1 | COND2 | COND3 | PF_COND |
| M101 | 1 | 18 | 16 | 17 | PASS |
| M101 | 2 | 16 | 21 | 23 | FAIL COND2 and COND3 |
| M120 | 1 | 24 | 22 | 16 | FAIL COND1 and COND2 |
| M120 | 2 | 19 | 18 | 18 | PASS |
| M112 | 1 | 17 | 16 | 16 | PASS |
| M112 | 2 | 26 | 16 | 18 | FAIL COND1 |
Formula used:
If( :COND1 > 20, "FAIL COND1",
If( :COND2 > 20, "FAIL COND2",
If( :COND3 > 20, "FAIL COND3",
If( :COND1 > 20 & :COND2 > 20, "FAIL COND1 AND COND2",
If( :COND1 > 20 & :COND3 > 20, "FAIL COND1 AND COND3",
If( :COND2 > 20 & :COND3 > 20, "FAIL COND2 AND COND3",
If( :COND1 > 20 & :COND2 > 20 & :COND3 > 20, "FAIL COND1, COND2 AND COND3",
"PASS"
)))))))
Thank you.