A weekly pay spreadsheet tracks hours, rates, overtime and deductions so you can see what each employee (or you) should be paid for the week without retyping numbers into a calculator. The quick version: set up one sheet with columns for employee, day-by-day hours, regular hours, overtime hours, rate and gross pay; put tax and other deductions on a second sheet or a block of columns; and let formulas cap regular hours at 40 and multiply the rest by an overtime rate. You need Excel (or a free equivalent such as Google Sheets or LibreOffice Calc), a list of employees with their pay rates, and a clear picture of your overtime and deduction rules before you start.
What You'll Need
- A spreadsheet app: Microsoft Excel, Google Sheets or LibreOffice Calc all work. These steps use generic Excel-style formulas that work in all three; exact menu labels can differ slightly by version, device or region.
- A list of employees with their hourly rate (or annual salary if you convert it).
- Your overtime rule: for example, time and a half after 40 hours in the week. Confirm this against your own employment terms or a payroll adviser, because rules vary by location and contract.
- Your deduction rules: tax, social insurance, pension or other withholdings. If you are unsure what applies, get the figures from an accountant or payroll provider rather than guessing.
- Each week's timesheet data, in hours and minutes.
Step-by-Step
- Open a blank workbook and name the tabs. Rename the first sheet to something like Weekly Pay and add a second sheet called Setup or Rates. Keeping rates and deduction percentages on a separate sheet means you can change them once instead of editing every formula.
- Build a rates table. On the Setup sheet, put headers in row 1: Name, Hourly Rate, Overtime Rate, Tax %, Other Deductions. Fill one row per employee. In the Overtime Rate column, use a formula like
=B2*1.5if your rule is time and a half, so the rate updates automatically if the base rate changes. - Lay out the timesheet columns. On the Weekly Pay sheet, use row 1 for headers: Name, Mon, Tue, Wed, Thu, Fri, Sat, Sun, Total Hours, Regular Hours, Overtime Hours, Gross Pay, Deductions, Net Pay. Leave a couple of columns free at the far left if you want employee IDs later.
- Enter hours as decimals, not clock times. Type 8.5 for eight and a half hours, or use a formula to convert minutes: if someone worked 8 hours 45 minutes, put 8 in one helper column and 45 in another and calculate
=8+45/60. Mixing time-formatted cells (8:30) with plain numbers is the single biggest cause of wrong totals. - Total the week. In the Total Hours cell for the first employee, use
=SUM(B2:H2)to add Monday through Sunday. Copy that formula down the column. - Cap regular hours at your threshold. In Regular Hours, use
=MIN(I2,40)where I2 is total hours and 40 is your weekly overtime threshold. This returns the total if it is under 40 and returns 40 if it is over. - Calculate overtime. In Overtime Hours, use
=MAX(0,I2-40). This gives zero when the week is under the threshold and the excess when it is over, so you never get negative overtime. - Pull in the pay rate. In a Rate column, use a lookup such as
=VLOOKUP(A2,Setup!$A$2:$E$50,2,FALSE)so each row picks up the correct hourly rate from the Setup sheet. Do the same for the overtime rate using column 3 of that range. - Compute gross pay. Use
=J2*Rate + K2*OvertimeRate, referencing your actual cells. For example, 45 hours at 20 per hour with overtime at 30 gives 40 x 20 plus 5 x 30, which is 950. Check one row by hand before filling the rest. - Add deductions carefully. Keep tax and other deductions in separate columns rather than one combined figure, so you can audit them. If tax is a flat percentage, use
=L2*Ratestyle references to the percentage cell. If your tax is banded or progressive, enter the correct amount from your payroll guidance instead of a single percentage. - Calculate net pay. Use
=Gross - Tax - Other Deductions. Format the pay columns as currency: select them, then use the number format dropdown on the Home tab (labels vary slightly by version). - Fill the formulas down and test. Drag the fill handle down for every employee row. Then type a test week with a known answer, such as exactly 40 hours, and confirm gross pay matches a manual calculation.
- Freeze the header row and protect the formulas. Use View > Freeze Panes > Freeze Top Row so headers stay visible as you scroll. If others will type into the sheet, consider protecting it (Review > Protect Sheet) and leaving only the hours cells unlocked.
- Save a template. Save the blank, formula-filled version as Weekly Pay Template. Each week, open it, use Save As with the week-ending date, and enter the new hours. Keep the template untouched so you always have a clean starting point.
Common Mistakes
- Mixing time formats. A cell showing 8:30 is stored as a fraction of a day. Multiplying it by an hourly rate gives a tiny, wrong number. Convert to decimal hours first.
- Hard-coding rates inside formulas. Typing
=I2*20means every rate change needs a manual edit. Reference the Setup sheet instead. - Forgetting that overtime resets weekly. Overtime is usually counted per workweek, not per pay period. If you pay fortnightly, do not cap regular hours at 80.
- Letting negative overtime appear. Subtracting 40 from total hours without
MAX(0,...)produces negative hours and negative pay for short weeks. - Rounding inconsistently. Decide whether you round hours to the nearest quarter hour and apply it the same way every week.
- Overwriting the template. Editing the template file directly means you lose your clean master copy.
Tips
- Add a data validation list to the Name column (Data > Data Validation) so names match the Setup sheet exactly; lookups fail silently on typos.
- Conditional formatting can highlight any row where total hours exceed a threshold, making overtime easy to spot at a glance.
- Keep a separate column for notes such as unpaid breaks or sick leave, so adjustments are explained rather than buried in a number.
- Use an IFERROR wrapper around lookups:
=IFERROR(VLOOKUP(...),"Check name")shows a clear message instead of an error code. - Store each week's saved file in dated folders so you can trace a past payment quickly.
Troubleshooting
Totals look far too small or show odd decimals. Your hours are time-formatted. Reformat the cells as numbers, or convert with =hours+minutes/60.
Lookup returns #N/A. The name on the Weekly Pay sheet does not exactly match the Setup sheet, often due to a trailing space. Retrim the text or retype the name.
Gross pay is zero for everyone. Check that the rate column is pulling numbers, not text, and that the formula references the correct columns after you inserted or moved any.
Overtime is wrong for one person. Look at their daily entries; a decimal typed as 85 instead of 8.5 will blow up the total. Spot-check totals against the days entered.
If that did not work, rebuild the first row from scratch in a blank area and compare formulas cell by cell. If the whole file misbehaves, open a fresh template and copy only the hours across, then recalculate.
Frequently Asked Questions
Can I use Google Sheets instead of Excel?
Yes. SUM, MIN, MAX, VLOOKUP and IFERROR all work the same way, and the layout steps are identical.
Should I calculate tax in the spreadsheet?
Only if you know the exact rule that applies. Tax rules are banded, location-specific and change, so many people enter verified deduction amounts rather than building a formula they cannot check.
How do I handle a pay period longer than a week?
Keep the weekly sheet as the source of hours, then sum two weekly tabs for a fortnightly total and apply overtime per week before adding them together.
Why does my total show a date instead of a number?
The cell picked up date formatting. Change the number format to General or Number.
Can I track salaried staff on the same sheet?
Yes, but treat them differently: give them a fixed weekly amount instead of hours multiplied by a rate, and keep them on a separate block or tab so hourly formulas do not apply to them.