Hello,
were did you want the formula, were did you want the formula to reference to, what two conditions does it have to meet.
regards
Peter