I have tried if(R>8,AND(T2=B,Q2*.07,if(T2=A,Q2*.025)))) Looking for answer to if the weeks of supply (R2) are less than 8, then 0, if greater than 8, and = to B (T2) than