I think the OP said you solved it with one small change to your last formula?