I am trying to calculate some payroll taxes based on the state certain employees are in and I am getting results that I shouldn't be based on a fairly simple IF AND statement. As you can see in columns N - Qif have the same formula except I have updated the state to match and the columns it is pulling from. On row 8, I should only be getting a result in column N but I am getting a result in all four columns. I have not pulled the formula down because I know there is an error. Can someone help?
My formula:
=IF(AND($B8="CA",$K8<$O$3),$K8*$O$4,$O$3*$O$4)
column B = State, K = Gross Salary, row 3 is the wage threshold for that tax, and row 4 is the tax % to calculate. The formula in this cell indicates that B8 should equal CA but on this particular row, the data in that field is WA and yet I am getting a result in that CA column.
