Memuat
Memuat
Multi-Sheet Consolidation for employee attendance and payroll
0 views
Data from many branch or month sheets is merged into the single Data sheet in one click. Each sheet's header row is skipped.

Merge dozens of sheets in seconds.
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.
ZIP: .xlsx workbook + VBA macro module (.zip)
| Cell | Formula | What it does |
|---|---|---|
| J2 | =COUNTA(Data!B2:B5000) | Row count after consolidation. |
| J3 | =SUM(Data!G2:G5000) | Combined total across all sheets. |
| J4 | =SUMIFS(Data!G:G,Data!C:C,Rekap!A3) | Cross-check of the first category total. |
The macro module is delivered as a separate Modul_Makro.bas file inside the ZIP. Import it through Alt+F11. A short excerpt:
Sub Konsolidasi()
Dim ws As Worksheet, wd As Worksheet, n As Long, t As Long, tot As Long
Set wd = ThisWorkbook.Sheets("Data")
Application.ScreenUpdating = False
For Each ws In ThisWorkbook.Worksheets
Select Case ws.Name
Case "Data", "Master", "Rekap", "Dashboard"
Case Else
n = ws.Cells(ws.Rows.Count, "A").End(xlUp).Row
If n >= 2 Then
t = wd.Cells(wd.Rows.Count, "A").End(xlUp).Row + 1
ws.Range("A2:G" & n).Copy wd.Cells(t, 1)
tot = tot + (n - 1)
End If
End Select
Next ws
Application.CutCopyMode = False
Application.ScreenUpdating = True
MsgBox tot & " baris berhasil digabung.", vbInformation
End SubColumns 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 (a ZIP containing the .xlsx workbook and the macro module) 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. Excel is a trademark of Microsoft Corporation.
Back to Excel portfolio