IF(REF(C,2) AND REF(OPEN,3)<=REF(C,3) AND REF(O,2)>REF(C,2) AND REF(OPEN,4)>REF(C,4) AND C AND REF(H,2)