Excel Sales Report: A Weekly Report from Three Sources, Defined and Checked
A weekly sales report starts with one written definition of “sales”, not with pasting files together. The definition I suggest: net sales by invoice date, excluding VAT, after discounts and returns, without shipping. In the sample week below, the hand-built report says 3,556,400 units; under this definition the same week is 3,046,000. To close the gap you combine the three exports into one column layout, set duplicates and cancellations aside with a reason, build channel, region and rep totals with SUMIFS or a PivotTable, and tie every source total to the report. If each rep should see only their own customers, one Excel file is not enough.
This page is for whoever assembles the weekly sales report from several files, and the manager who decides with it. I read the Microsoft pages linked here on 31 October 2026.
Which figure counts as “sales” in a sales report?
“Sales” in a sales report is a definition you choose and write down; without one, every source brings its own into the report. Seven points need a decision:
| Term | Definition I suggest | How it moves the figure |
|---|---|---|
| Gross sales | Invoice line amount, before discount, excluding VAT | A dealer portal showing list prices inflates the report by the discount |
| Discount | Line and dealer discount, in its own column | The largest gross-to-net gap in the example |
| Return | In the week of the return document, as a negative line | A late return does not silently change an earlier report |
| Net sales | Gross − discount − returns | The single “sales” figure management sees |
| VAT | Excluded | A VAT-inclusive source is never added to a VAT-exclusive one |
| Shipping charge | Excluded, in its own column | Split out if the e-commerce export folds it into the order |
| Date | Invoice date | A figure by order date is called “orders received” |
If commission depends on orders, an order-date figure is needed too, labelled “orders received” and never added to net sales. A management report does not replace accounting records.
What goes on the first page?
Net sales, change on last week, the channel table and a check line are enough. A target set excluding VAT needs an actual excluding VAT. For average order value, numerator and denominator cover the same set; excluding returns from the amount but not the count makes it too low. With credit terms, the uncollected amount gets its own box.
Sample week: three sources, two different figures
The company, rows and amounts below are fictional; a single 20% VAT rate and a 15% discount for every dealer are assumptions. Amounts are in units, not a currency. I calculated every figure with a Python script.
Picture a manufacturer of industrial filters and spare parts: direct customers are invoiced from the ERP, dealers order through a portal, replacement filters sell online. Every Friday at 17:00 the three weekly exports are downloaded; the report goes out Monday:
- ERP invoice export: 422 rows, excluding VAT, net of discounts, 2,764,000. It holds 260 direct-customer sales lines (1,840,000, including 6 online orders invoiced from the ERP, 18,000), 150 invoice lines for dealer orders and 12 return lines.
- Dealer portal: 176 order lines, by order date, 1,300,000 at list price.
- E-commerce export: 268 orders, 416,400 including VAT and shipping; 20 cancelled, 12 returned. The shop invoices when payment is confirmed; in the example every delivered and returned order in the export was invoiced that week.
The old routine took the ERP’s direct-customer sales lines, dealer sales from the portal and e-commerce from the file’s grand total: 1,840,000 + 1,300,000 + 416,400 = 3,556,400. Defined net sales are 3,046,000. The gap is 510,400, or 16.8% of the defined figure.
A bridge walks from the old figure to the defined one:
| Item | Amount | Type of gap |
|---|---|---|
| Hand-built report | 3,556,400 | |
| Dealer list price → net after 15% discount | −195,000 | Definition |
| Dealer order date → invoice date (−289,000 + 204,000) | −85,000 | Definition |
| E-commerce VAT (402,000 → 335,000) | −67,000 | Definition |
| E-commerce shipping charges (incl. VAT) | −14,400 | Definition |
| ERP return invoices | −96,000 | Not deducted |
| E-commerce cancellations | −20,000 | Not deducted |
| E-commerce returns | −15,000 | Not deducted |
| 6 e-commerce orders also invoiced from the ERP (duplicates) | −18,000 | Not deducted |
| Defined net sales | 3,046,000 |
Definitions account for 361,400 (70.8%), records the old routine never deducted for 149,000 (29.2%). Returns and cancellations are not errors, just ignored. The only real data problem is the 18,000 duplicate: corporate customers ordered online and asked for an ERP invoice.
The largest item is the dealer discount, the second ERP return invoices. Among definition items, timing comes second: of this week’s 176 dealer orders, 120 were invoiced this week (816,000 net) and 56 next week (289,000 net), while 30 of the 150 dealer lines in the ERP were last week’s orders (204,000).
The defined report by channel:
| Channel | Gross | Discount | Returns | Net |
|---|---|---|---|---|
| Direct | 1,882,000 | 60,000 | 96,000 | 1,726,000 |
| Dealer | 1,200,000 | 180,000 | 0 | 1,020,000 |
| E-commerce | 315,000 | 0 | 15,000 | 300,000 |
| Total | 3,397,000 | 240,000 | 111,000 | 3,046,000 |
Direct net is 1,840,000 less returns (96,000) and the 6 orders moved to e-commerce (18,000): the duplicate online line was dropped, the invoice kept and assigned to e-commerce. The record comes from the invoice, the channel from where the order arrived. Including VAT the week is 3,655,200, for comparison with a VAT-inclusive target.
The decision in the example. The sales meeting was discussing the dealer channel at 1,300,000; invoiced net was 1,020,000, 21.5% lower, and net orders received 1,105,000. The report now carries both lines, “invoiced net sales” and “dealer orders received”; dealer commission reads orders received, the management summary reads invoiced net sales.
How do I combine three sources into one table?
Every source row lands in the same columns under the same definition. For files with one schema in a folder, Microsoft documents combining files from a folder. Traps such as text amounts, lost leading zeros and renamed headers are on the automatically combining Excel files page; below are sales-report decisions.
Shared column layout. Combined data lives on a Rows sheet, in a table of the same name. Columns: A Source, B Document or order no, C Invoice date, D Export week (start date of the week the export covers), E Channel, F Customer code, G Sales rep, H Region, I Line type (Sale / Return), J Gross, K Discount, L Net (negative for returns), M VAT, N Shipping (incl. VAT), O In report (TRUE / FALSE), P Reason excluded, Q Source amount (the row’s amount exactly as exported). The preparer fills O and P using the mapping and duplicate rules below. Column Q keeps the file’s VAT-inclusive amount. Take VAT per line from the export: with mixed rates, dividing a VAT-inclusive total by one rate gives the wrong net. An order returned in the same week becomes two rows (Sale and Return), the return row with 0 in column Q.
Code matching. The shop knows customers by email or tax number, the ERP by customer code; a mapping sheet links the two. For individual buyers I suggest one “E-commerce retail” customer code. Rep and region always come from the ERP customer record, not the delivery address. An unmapped row still counts in net sales, with rep and region “Unassigned” and the count shown at the top. Each dealer’s discount rate, from the dealer record or contract, sits next to the dealer code; it turns portal list prices into net “dealer orders received”.
Duplicates, cancellations and order matching. The key is source plus document number, so loading an export twice adds nothing. Cross-channel duplicates need a field on the ERP invoice carrying the online order number; it caught the 6 orders in the example. Dealers need the same: the portal order number on the ERP invoice line. Without it, the 120 invoiced and 56 open split cannot be made and the dealer channel can only be reported by order date. Cancelled rows stay in the table, marked FALSE with a reason.
The calculation layer: formulas or a PivotTable?
SUMIFS covers channel, rep and week totals; a PivotTable is quicker for exploring and comparing periods. Both read Rows.
Formula layout. On the Report sheet, B1 holds the week start, B2 the week end, and channels are listed from A5 down. B5 net sales:
=SUMIFS(Rows!L:L,Rows!E:E,$A5,Rows!C:C,">="&$B$1,Rows!C:C,"<="&$B$2,Rows!O:O,TRUE)
For returns, add the pair Rows!I:I,"Return"; for reps use column G instead of E, for regions H. Syntax is from Microsoft’s SUMIFS and SUMIF pages. The separator depends on regional settings.
I have not run these formulas in Excel. Rebuilt in Python on the sample rows, including one dated outside the week, they returned the channel table’s net column, the reconciliation amounts and the order count; test them on a copy of your file.
PivotTable and period comparison. Add a Week column with the week’s start date, put it in the PivotTable’s columns and filter In report to TRUE; otherwise cancelled rows are counted and the PivotTable disagrees with the formula. Right-click a value, choose Show Values As > % Difference From, and Excel asks for a Base field (Week) and a Base item, the week to compare with (Microsoft). If last week was 2,900,000 under the same definition, this week is 146,000 or 5.0% higher. Writing net sales once as an explicit Data Model measure, with the formula, is on the Excel report building page.
When a customer changes sales rep. Decide in advance who keeps past sales. My suggestion: the rep assigned on the invoice date, so the customer record keeps the rep with a valid-from date. Overwrite it, and past weeks’ rep reports change unnoticed.
Which checks run before the report goes out?
The report waits until every source total matches and every excluded row has a reason. Four checks:
- Source total ↔ report total. Type in each source’s on-screen total, calculate what reached
Rowsthat week, and put the difference in an “unexplained difference” column. In a one-week file=SUMIF(Rows!A:A,"E-commerce",Rows!Q:Q)is enough; if the table grows week by week, add the export week:=SUMIFS(Rows!Q:Q,Rows!A:A,"E-commerce",Rows!D:D,$B$1). For the included part, addRows!O:O,TRUE. - Order count. Returns add a second row, so row counts will not match the export; count Sale rows only with COUNTIFS:
=COUNTIFS(Rows!A:A,"E-commerce",Rows!D:D,$B$1,Rows!I:I,"Sale"). The result must equal the export’s order count, which equals included plus excluded orders. - Export time. Each export’s time sits at the top. If an export was taken before the week closed, check orders that arrived later and were invoiced the same week.
- Unexplained difference. My starting suggestion: above one-thousandth of net sales, the report waits until the gap is found. In the example the threshold is 3,046.
The sample week’s reconciliation:
| Source | In export | In report | Excluded, with reason | Unexplained |
|---|---|---|---|---|
| ERP | 422 rows, 2,764,000 | 422 rows, 2,764,000 | 0 | 0 |
| E-commerce (incl. VAT) | 268 orders, 416,400 | 242 orders, 370,800 | 26 orders, 45,600: 20 cancelled 24,000, 6 duplicates 21,600 | 0 |
| Dealer portal | 176 orders, 1,300,000 | Not part of net sales | Orders received indicator | 120 matched to ERP invoices, 56 open |
The 370,800 of e-commerce in the report is 297,000 of sales excluding VAT, 59,400 product VAT and 14,400 shipping including VAT; the 12 same-week return rows (−15,000) leave 282,000 net, and the 18,000 invoiced from the ERP brings the channel to 300,000.
The example has one more gap: the shop’s dashboard lists 270 orders, the export 268. The export was taken on Friday at 17:00 and two orders (3,600 including VAT) came later, paid by bank transfer and invoiced the following week, so by invoice date they belong to next week. Had payment been confirmed on Friday evening, they would be missing from this report. Hence the note “e-commerce export Friday 17:00”.
Who should see the sales report, and where does file sharing stop working?
A rep should see only their own customers, a regional manager only their region. In Excel that separation stays at file level.
- One file shared with everyone. Anyone who can open the file sees every row. Microsoft says worksheet protection is not intended as a security feature (Microsoft).
- A separate file per rep. It restricts visibility but creates one copy per rep each week; a correction means rebuilding every copy, and a wrong attachment may be impossible to recall.
- Power BI. If your company has it, row-level security (RLS) sets up this restriction; according to Microsoft it applies only to users with the Viewer role in a workspace (Microsoft Learn). With Power BI in place, I would not recommend a separate application for this.
Where does the move from Excel to a web app start?
For one audience and hand-downloaded weekly exports, Excel is enough. Four questions:
- Should a sales rep or regional manager see only their own rows, with no Power BI in the company to enforce it?
- Are exports downloaded by hand every week? If the ERP or shop has a connection interface, data can be pulled on a schedule.
- Do corrections need approval? Reassigning a channel, linking a code, ruling on a duplicate. Show Changes displays who changed a cell, where and when, with the previous value, and you can view the past 365 days (Microsoft). The page does not mention an approval step.
- Must you show later which data a sent report used? When a figure feeds commission, someone will ask why it said 1,020,000 that week.
Two or more yes answers: a multi-user application makes sense. One: tighten Excel first with one definition, the Rows table, a reconciliation line and export times. None: I would not recommend an application.
It can be built to fit your needs, with scope set out in writing in the first step. For the sample company: queries returning only a rep’s own customers or a manager’s own region; scheduled pulls or uploads; an exception queue with an approval step separating whoever corrects from whoever approves; each sent week kept as a version; an audit trail. AI does not calculate figures; it can suggest matches for unmapped codes and draft a summary sentence, both approved by a person. Sending the model only rows the user can see, with codes instead of names, can be part of that scope. Scope questions settled in writing in the first step: how users sign in, how the mapping moves if the ERP changes, and which definition past weeks are read with.
On delivery: the VPS and server can be set up under your name; the data is yours, available as Excel or CSV at any time; in a small or mid-sized team there is no per-user licence, and the cost is the server plus maintenance; the source code sits in a repository you can access, with run instructions, a dependency list and known limits. The move itself is on the Excel to web app page.
Frequently Asked Questions
What do I do in Excel if a report that went out changes later?
Leave the sent week’s figure alone. A late return or a cancelled invoice enters the week of its own document date as a separate “prior week correction” line. Keep the sent file as a dated, read-only copy; it answers “why did it say that”.
Can this report show profit?
No. Profit needs cost of goods sold and channel costs from a defined source. A profit report can sit on top of this one, but it is a different report.
How do invoices in a foreign currency enter the report?
I suggest the home-currency amount on the invoice, taken from the ERP export if it carries it. A gap against the order-date rate goes on its own “exchange rate effect” line, never into net sales. If the export lacks the home-currency amount or the rate column, add it first.
Let us build your weekly report
Send last week’s exports and the report that went out, customer names masked, and we will work out the bridge between the two figures. Write via WhatsApp on +90 549 654 64 89 or through the contact page.
How do I work?
Work-hour packages
Tell me about your business and what you need on WhatsApp or by phone; we agree on a work block of somewhere between 5 and 40 hours and I start doing what is needed. What you get is not a calendar window — it is net working hours spent directly on your business. I can use 40 hours working three days straight, or deliberately spread it out and finish it over a year — whatever the work calls for. I do not spend my time estimating how long something will take, I spend it doing the work; every hour I spend leaves a lasting result in your business. We keep going for as long as you find it useful.
Why not monthly?
Is 40 hours a week?
On a fixed monthly fee both sides are watching the wrong thing: you watch a fixed cost, the other side watches how many more contracts like this they can line up. Working by the hour puts us both in front of the same thing — the real value of the work that got done. I know not having an upfront answer to "how much will this cost in total?" is the natural cost of this model. But instead of paying a fixed fee for months to a setup that is not producing results, you only pay for the qualified time spent on your work — and you see exactly where that time went, start to finish. That is why my clients keep coming back.
