Can anyone help me do a formula in excel. I'm in work at the mo and am completely stuck.
I am looking to do a formula to calculate VAT. Instead of having 3 diff columns for each VAT amt I was hoping to have 1 column with 1 formula in it to calculate the VAT.
For example, if cell G3=1, then the VAT is 0, if G3=2, then VAT is 13.5% and if G3=3, then VAT is 21%. i.e, when I enter 1 2 or 3 it will calculate the VAT for me.
When I did this with the IF function it only allowed me do a 2 bracket formula and I need 3 for 0%. 13.5% and 21%.
Not sure if I have written this clearly but if anyone out there could help me construct a formula for the above I would be really grateful.
When I entered the forumla, it calculates the VAT (great!) but I also want it to add that VAT amt and give me the total value of net amt and VAT amt in that same cell.
Also, does it have to have "error" at the end of the formula?
While ajapale's solution undoubtedly works, it may well be very difficult for others to follow. Who's going to manage this spreadsheet when you are on holidays or when you leave?
You might be better having multiple columns, showing each stage of the calculation, and just hide the unnecessary columns when printing.