Hi all i am trying to use the formula from the tax website in excel but i don't know how to remove the numbers behind the decimal i.e the cents. The formula is as follows
Y = AX - B
Y is the tax
A and B are from the tax table
X is the weekly amount earned.
For example
fortnighly pay = 2912.63, To work out the tax we need to turn it in to a weekly amount so divide by 2, this gives me 1456.315. The next step is to remove the cents from the answer and then add .99 cents to it as follows 1456.315 - .315 + .99 = 1456.99
This is where i do not know how to do it. I want it all in the same equation as i am trying to make the cell automatically calculate the tax. Is there a way this can be done either through a formula or through VBA?.
Many Thanks
Y = AX - B
Y is the tax
A and B are from the tax table
X is the weekly amount earned.
For example
fortnighly pay = 2912.63, To work out the tax we need to turn it in to a weekly amount so divide by 2, this gives me 1456.315. The next step is to remove the cents from the answer and then add .99 cents to it as follows 1456.315 - .315 + .99 = 1456.99
This is where i do not know how to do it. I want it all in the same equation as i am trying to make the cell automatically calculate the tax. Is there a way this can be done either through a formula or through VBA?.
Many Thanks