Sales · Excel
The sales report is an Excel file.
Made for the eye, not for a table.
Two months, 1097 sale lines
The problem
Merged cells come out empty.
- As CSV, only the first row keeps the client.
- The next ones are empty.
What is not changed
The report stays as it is.
- The same export, every month.
- Nobody touches it up by hand.
The trap
A group cut in two.
- The hub reads in chunks of 500 rows.
- One client straddles two.
What had to be written
fill-down: { columns: [region, client] }One line.
- The value flows down its group.
- It crosses from one chunk to the next.
- A 50-line scenario, two manifests.
The proof
13,603.90, the subtotal found again.
- 84 rows, all on the right client.
- The 15 subtotals counted apart.
The limit
The file's order matters.
- fill-down follows the rows in order.
- A sort beside it is refused.
Try it
The scenario replays locally.
Every step is published with its output.