I'm trying to get a result based on the data shown in three cells. These three cells have formulas in and are referencing fields from different sheets - each cell will either pull through as "pass", "fail" or blank. I'm trying to get a formula that will show "PASS" if ALL 3 cells say "Pass", "FAIL" if ANY of the 3 cells say "Fail" and (I've managed to get this so far, it's this last bit I get stuck on) if ALL of the cells are blank I want the result to be a blank cell.
So far I have: =IF(AND(D11="Pass",E11="Pass",F11="Pass"),"PASS",IF(OR(D11="Fail",E11="Fail",F11="Fail"),"FAIL",IF(AND(LEN(D11)=0,LEN(E11)=0,LEN(F11)=0),"","")))
The AND and the OR work well, but it's the last function. Maybe I need to change the order? Also I'm not sure what to put for 'FALSE" for the last function - it depends on the previous AND or OR result. Finally, I had tried ISBLANK but of course that didn't work as there is a formula in each cell, so I used LEN instead.
Any help appreciated!
So far I have: =IF(AND(D11="Pass",E11="Pass",F11="Pass"),"PASS",IF(OR(D11="Fail",E11="Fail",F11="Fail"),"FAIL",IF(AND(LEN(D11)=0,LEN(E11)=0,LEN(F11)=0),"","")))
The AND and the OR work well, but it's the last function. Maybe I need to change the order? Also I'm not sure what to put for 'FALSE" for the last function - it depends on the previous AND or OR result. Finally, I had tried ISBLANK but of course that didn't work as there is a formula in each cell, so I used LEN instead.
Any help appreciated!