Guides · For agents
Find staff on the payroll missing from the timesheet export
Join your payroll list to the timesheet export on the employee ID, then count the active staff with no timesheet in the period, and those missing the latest week. In the test files, 3 active staff have no November timesheet at all, and 5 have none for the last week.
Ask your agent
With Sift connected (setup takes three steps), paste this and swap in your own paths.
Use Sift to match /path/to/payroll_staff.csv on employee_id to /path/to/timesheets_november.csv on employee_id, as of 2026-11-30. Count the staff with status active who have no timesheet in the file, and those with no week_ending in the last 6 days, and total their monthly_pay. How many timesheet rows are for an ID not on the payroll list?
What Sift sends back
Leavers are kept out by the status part of the question. One missing person has a blank pay figure: counted, left out of the total, and flagged.
6 days back from 30 November reaches 24 November, so only the week ending 29 November counts as the last week.
What to do next
- The 5 includes the 3 with no timesheet at all. The other 2 sent timesheets earlier in the month, but not for the last week.
- One timesheet is for an ID not on the payroll list: a new starter not set up yet, or a typo in the ID.
- Chase the missing timesheets before the pay run, then rerun the same prompt to see the count drop.
Questions
The match covers whatever is in the file. For a whole period, export just that period. For the latest week or fortnight, change the number of days.
Yes, on the timesheet file: sift_count can count rows that meet a condition and add up a column such as hours.
No. Sift reads both files on your machine and sends back counts and totals, not rows.
The same match works for any list that should have a row in another file: staff and timesheets, seats and logins, invoices and payments.