Automate excel sheet to calculate taxable income

I am looking into ways to automate an excel sheet so as to calculate my annual tax payments. I heard that VBA can be used to pre-program the excel sheet to accept the annual income and help determine the taxable amount. Has anyone encountered such a use of excel? Is it possible to share a broad template?
