The Payroll Expenses from the Profit and Loss report shouldn't match with the amount from the Payroll Summary, mainstreetnurser.
The P&L statement in QuickBooks Online shows your total income, your gross profit, expenses and your net income or loss. While the Payroll Summary report only summarizes the paychecks you’ve created, including total wages, taxes, and deductions.
You can click on the number in the totals column to get a detailed transaction list for that Payroll Expenses. And, compare the entries from the Payroll Summary report.