Custom Payroll Check Form

I need to add a separate line item called "Total hours worked" and a formula that will calculate only actual hours worked (ex. regular, overtime hours) vs. Total hours which includes sick, vacation, holiday, etc. Is this possible?