Excel delivery
The final dataset still needed to be usable in the established Excel-based workflow.
Case Study 02 • High-Volume Reporting
A monthly Excel/VBA workflow designed around the point where familiar workbook techniques—raw tabs, formulas, filters, and repeated formatting—became unstable.
Overview
A New York City telecom portfolio grew beyond 600,000 lines of service. Its monthly output contained 51 columns assembled from 30+ source files, making the final report useful as a primary dataset for downstream analytics, controlled loading, and invoice work.
The challenge was not that Excel could never hold the result. The challenge was that the existing dynamic templates performed too many expensive workbook operations while building it.
Problem
Large raw-data tabs, AutoFilters, formatting, and formula-based transformations caused freezes and crashes. In observed problem runs, a formula-driven version exceeded eight hours without completing correctly, while correction cycles in Power Query took roughly 20–30 minutes per refresh. A different architecture was needed inside the tools available.
The final dataset still needed to be usable in the established Excel-based workflow.
The portfolio exceeded 600,000 service-level rows and outgrew the existing workbook pattern.
Usage, billing, equipment, order, identifier, and other recurring files had to be recognized and combined.
Source systems did not always represent equivalent data with identical headers or layouts.
Approach
The revised process staged monthly inputs in a folder, opened one source at a time, identified its role from the headers, and used arrays and dictionaries to assemble the report. The workbook received a static result instead of carrying the formulas, raw tabs, and intermediate state used to produce it.
Place the recurring monthly files in a controlled folder rather than opening the full source set together.
Read header patterns to distinguish usage, billing, equipment, order, identifier, and related inputs.
Use arrays for bulk values and dictionaries for keyed lookups, minimizing worksheet interaction.
Output static values to the final structure, then make targeted manual corrections for known exceptions.
Sanitized Evidence
The final columns are grouped into identity, account, service, usage, billing, and control fields. The group counts below total 51; labels are generalized.
Key Decisions
Reasoning
The report needed to be reviewable and deliverable; it did not need millions of live formula relationships after generation.
Tradeoff
Changes required another controlled run rather than automatic cell-by-cell recalculation.
Reasoning
Limiting open inputs reduced memory pressure and avoided carrying unnecessary raw worksheets throughout the run.
Tradeoff
Folder discipline and reliable source identification became essential.
Reasoning
Header detection made the workflow less dependent on file order and supported multiple recurring data types.
Tradeoff
Material header changes still required analysis and code updates rather than being silently accepted.
Tools & Validation
Result & Impact
The process made the recurring report completable after the existing dynamic approach became unstable. The output served downstream analytics and reporting work while retaining a practical Excel review experience.
Learnings
This solution was designed for a specific reporting environment in which Excel was both an available automation surface and the expected delivery format. It demonstrates practical large-file processing in VBA; it does not claim that VBA is the universal choice for datasets of this size.