Memuat
Memuat
Pivot-Style Summary and Pivot Table Guide for employee attendance and payroll
0 views
A category by status cross table built with formulas so it stays live. Includes a guide to build a real Pivot Table in Google Sheets from the Data table.

Two ways to cross-summarize: always-live formulas and a real Pivot Table.
The real project file is available. It is not just the picture above: you get the working file with every formula in place. It can be downloaded after payment, and we send the download link by WhatsApp or email.
.xlsx workbook (.xlsx)
| Cell | Formula | What it does |
|---|---|---|
| H2 | =SUMIFS(Data!$G:$G,Data!$C:$C,C2,Data!$F:$F,F2) | Pivot cell value: total for this row's category and status. |
| I2 | =SUMIFS(Data!$G:$G,Data!$C:$C,C2) | Category total (a pivot row total). |
| J2 | =IFERROR(SUMIFS(Data!$G:$G,Data!$C:$C,C2,Data!$F:$F,F2)/SUMIFS(Data!$G:$G,Data!$C:$C,C2),0) | Share of the status within the category. |
| G12 | =QUERY(Data!A1:G1000,"select C, sum(G) group by C pivot F",1) | One-formula version with QUERY PIVOT. |
Columns of the Data sheet:
| Pay Component | Amount |
|---|---|
| Staff Base Salary | 4,500,000 |
| Supervisor Base Salary | 6,500,000 |
| Transport Allowance | 300,000 |
| Daily Meal Allowance | 25,000 |
| Overtime per Hour | 30,000 |
| Target Bonus | 750,000 |
| BPJS Health Contribution | 120,000 |
| BPJS Employment Contribution | 95,000 |
| Late Deduction | 20,000 |
| Holiday Allowance | 3,000,000 |
The sample data is synthetic.
Yes. The picture above is only a preview. After payment we send the download link of the real project file (an .xlsx workbook) by WhatsApp or email.
No. The sample data is synthetic and only shows how the formulas behave. Replace it with your own data and the formulas keep working.
Yes, as a separate order. Message us on WhatsApp with a short description of your columns and what you want to see.
Sample data is synthetic. Google Sheets is a trademark of Google LLC.
Back to Google Sheets portfolio