Cell A1 has 10000 and cell A2 has 5000. B1 has the formula of =IF(A1>40040,(((A1-40040)*13.8%)+(((40040-7488)*10.4%)-(65.26))),(((A1-7488)*10.4%)-(65.26)))
Cel B2 has the same formula, but returns a negative number e.g. -324.012
What I want is if the number is negative return 0. I have tried this but cannot think where I'm going wrong.
=IF(IF(A1>40040,(((A1-40040)*13.8%)+(((40040-7488)*10.4%)-(65.26))),(((A1-7488)*10.4%)-(65.26)))<0,0,(((A1-40040)*13.8%)+(((40040-7488)*10.4%)-(65.26))))
Cel B2 has the same formula, but returns a negative number e.g. -324.012
What I want is if the number is negative return 0. I have tried this but cannot think where I'm going wrong.
=IF(IF(A1>40040,(((A1-40040)*13.8%)+(((40040-7488)*10.4%)-(65.26))),(((A1-7488)*10.4%)-(65.26)))<0,0,(((A1-40040)*13.8%)+(((40040-7488)*10.4%)-(65.26))))