Excel, by Microsoft, is a popular and long standing spreadsheet application often used for basic accounting, and for creating various business forms and reports. Payslips can be created in Excel, and there are numerous templates available, both free and paid for. If you know a bit about Excel then it's relatively easy to create your own payslip template that will automatically add up or subtract values, and work out totals, tax, pension contributions, deductions, basic salary, overtime etc.
Searching on the internet for an excel payslip template is the easiest way to find and download a starting spreadsheet document that can then be used as it is, or customised to what you need.