A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.
Lesson 8, module 3: Working on your documents and data Analysing an Excel or CSV export without writing a formula Your sales export has 2,400 rows. Who bought less than last year?
Claude doesn't do sums in its head: it runs code. Turn on code execution Ask to see the calculation XLSX files need it to open Five steps, and the first calculates nothing. [Diagram: Analysing an export in five steps] 1. Attach the export 2. Have it described 3. Clean 4. Calculate 5. Check The first step, having the file described, prevents half of all calculation errors. First, have the file described. Request: Before any calculation, describe the file: columns, number of rows, empty cells, duplicates, date formats and amount formats, rows that aren't sales. Answer: Nine columns, 2,412 rows including a "Total" row at the end, 14 empty amounts, 3 exact duplicates, dates in day/month/year format. It asks what to do with credit notes. A raw export always hides a trap. [Diagram: A raw export, a ready export] Raw, straight out of the software Ready, after two minutes Claude can clean data, but it needs to know what you consider an error. The control total must match exactly. Same number of rows as the software Same gross total Otherwise, find the gap before drawing conclusions Private customers' names have no place in the export. [Diagram: The data traffic lights, for an export] Green: Any plan Amber: Team, Enterprise, or a paid individual account Red: Team or Enterprise, with a charter The riskiest column is often one the analysis doesn't need: delete it before sending. In the exercise, you look for a Mérignac merchant's declining customers.
Your turn: Find a building merchant's declining customers The written lesson, the worked exercise and the quiz are below the video.
Lesson 8 of 50 · module 3, working on your documents and data
Analyse an Excel or CSV export without writing a formula
Claude analyses an export from your software by running code: it counts, adds up, groups and draws charts without doing sums in its head. But it still has to read the file correctly. Have it describe the file before any calculation, give it your cleaning rules, insist on a control total and compare it with your software's figure.
25 min of reading
1 min 55 of video
7 diagrams
3 demandes to copy
3 exemples pratiques
4 exercices answerss
5 questions
1 ressource
By the end of this lesson, you will know how to
Turn on code execution and prepare an export before attaching it
Write an analysis brief that has the file described, cleaned, then calculated
Check a result with a control total and three rows redone by hand
What’s covered
Claude calculates by running code
Prepare the export in two minutes
Ask for a description before asking for calculations
Ask the real question
Check before you conclude
3 worked examples, followed from start to finish
Exercise with answers · Finding customers in decline at a building materials merchant
3 practice exercises, from guided to demanding cases
The quiz
Key points
Claude calculates by running code: turn it on, and ask for the code run at the end of the answer.
Have the file described before any calculation: columns, blanks, duplicates, total rows, raw sum.
Give your cleaning rules in writing; otherwise Claude chooses them for you.
A control total matching the software’s, and three rows redone by hand, before a single figure goes out.
Remove the columns about people before sending: a code is enough for the calculation.
A sales export, an anonymised payroll extract, a job log: SMEs are swamped with files they never analyse, because they lack the time to write the formulas or the pivot table. Claude does this work in a few minutes, on one condition that beginners overlook: treat it like a very fast intern who is seeing your software for the first time. It must understand the file first, and only then calculate.
Claude calculates by running code
When you attach a CSV or an Excel workbook, Claude writes and runs a small program in an isolated environment, then gives you the result: totals, averages, groupings, charts as images. It isn’t mental arithmetic. The feature is called code execution and file creation. It is available on all plans and switched on by default on individual plans and on Team, but an owner may have turned it off. Without it, an XLSX file is rejected on upload.
Check that code execution is switched on
Click your initials at the bottom left, then Settings.
Open the Capabilities section.
Check that the code execution and file creation toggle is switched on. In the new settings layout, it is called “Create and edit files”.
On Team or Enterprise, if the toggle is missing, ask the owner to switch it on in the organisation settings, under capabilities.
The wording may vary slightly depending on the version. Two practical limits: Anthropic’s help pages state 30 MB per file for files processed by code execution, and this work uses more of your usage limit than a simple conversation. So filter a multi-year export before sending it: the relevant period and columns, nothing more.
Analyse an export in five steps
1Attach the export
CSV or XLSX, code execution turned on, unnecessary columns removed.
2Ask for a description
Columns, rows, blanks, duplicates, formats: before any calculation.
3Clean up
Total rows, duplicates, credit notes: rules written by you.
4Calculate
Through code execution, with a control total.
5Check
The total against the software, three rows by hand.
The first step, having the file described, prevents half of all calculation errors.
Prepare the export in two minutes
Export only the relevant period (the quarter, the year) and the columns the question needs.
Replace or delete columns containing people’s names, addresses and e-mail addresses: a customer code is enough for the calculation.
Note the total your software shows for the same period: this will be your control total.
Note your software’s quirks: semicolon separator, decimal comma, credit notes as negatives, total row at the bottom.
Data traffic lights, for an export
Any plan
Aggregated figures with no names
Public data (published prices, statistics)
Team, Enterprise, or a configured individual account
Your sales by customer code
Your margins and purchase prices
An internal budget
Team or Enterprise, with a usage policy
Names, addresses and e-mail addresses of private individuals
Salaries or absences per employee
Performance review scores
The riskiest column is often the one the analysis doesn’t need: delete it before sending.
Ask for a description before asking for calculations
Describing the file, always first
<documents>
“ventes-T3-2026.csv”, export from the sales management software.
</documents>
<contexte>
Building materials merchant with 18 employees in Mérignac. The export contains the invoice and credit note lines for the third quarter. Amounts are in euros excl. VAT, with a decimal comma. The software shows a total of €[total affiché] excl. VAT for the period.
</contexte>
<exemples>none</exemples>
<mission>
Do not calculate anything yet. Describe the file: list of columns with their type, number of rows, empty cells per column, exact duplicates, date and amount formats, and any row that does not look like an invoice or a credit note.
</mission>
<rendu>
A table of the columns, then a list of anomalies with the row number. Finish with the raw sum of the amount column and the number of rows, so I can compare them with my software. Then ask me the questions needed to clean the file.
</rendu>
Roughly what you should get
A table of eight to ten columns (date, document number, customer code, product family, amount excl. VAT…), then numbered anomalies: a “Total” row at the end, a few empty amounts, two or three duplicates, negative credit notes. The raw sum and the number of rows. And two or three questions: “Should credit notes be deducted?”, “What should be done with empty amounts?”
If the raw sum differs from the total in your software, don’t move on to the calculation: get the difference explained first.A raw export, a ready export
Raw, straight out of the software
A “Total” row at the bottom, counted twice
Dates as 03/10/2026 and as 2026-10-04
Amounts such as “1 250,00” read as text
Names and e-mail addresses of private customers
Ready, after two minutes
The total row deleted or flagged
A date-reading rule given in the request
The decimal separator stated: the comma
A customer code instead of the name
Claude can clean data, but it needs to know what you count as an error.
Ask the real question
Questions that come up in SMEs
Your question
What Claude calculates
The check to do
Who are my top twenty customers?
Revenue by customer code, sorted, with each customer’s share
The shares add up to 100%, the total matches the software
Who is buying less than last year?
The change between two periods, customer by customer, in euros and as a percentage
Three customers checked by hand in the software
Which products have stopped selling?
Product references with no sales since a given date, with stock if you attach it
One item opened in the stock software
Are my payment times getting longer?
The average time between invoice and payment, by month
Two invoices recalculated by hand
Where is the budget going?
The variance between budget and actual, line by line
The total of the variances equals the overall variance
The analysis, once the file is understood
<mission>
Using the file described above, with these cleaning rules: remove the “Total” row, remove exact duplicates, keep credit notes as negatives, set aside rows with no amount and list them separately.
Calculate the quarter's revenue excl. VAT by customer code and compare it with the same quarter last year (attached file “ventes-T3-2025.csv”).
</mission>
<rendu>
1. The control total: number of rows kept and total revenue, for each year.
2. A table of customers whose revenue is down by more than 30% and more than €2,000 excl. VAT: customer code, Q3 2025, Q3 2026, difference in euros, difference as a percentage, sorted by difference in euros.
3. A bar chart of the fifteen biggest falls.
4. The code run, at the end, so I can read it through.
No comment on causes: I have not given you the information to judge them.
</rendu>
Roughly what you should get
Two control totals (one per year), a table of about twenty declining customers, a chart as an image and the code run at the end of the answer. No assumptions about causes.
Check before you conclude
The check loop for a calculation
1Control total
Claude gives the number of rows and the raw sum.
2Compare
With the total shown by your software.
3Explain the gap
Duplicate, total row, credit note, empty cell.
4Correct the rule
One more cleaning instruction, then recalculation.
Until the control total matches, no figure leaves the conversation.
The check comes down to three steps. First, the control total: the same number of rows and the same sum as your software, or a gap explained row by row. Then three rows of the result, picked at random, recalculated by hand in the software. Finally, the common-sense question: a customer whose purchases have dropped by 95% may be a customer whose code has changed. No program does this third step for you.
For a tracking table to share with your team, Claude Sheets, in beta on paid plans, builds a spreadsheet in Claude with formulas visible in the cells, imports a CSV or an Excel workbook and exports to .xlsx or CSV. For a workbook that already lives in Excel, the Claude for Excel add-in is better suited: the lessons “Claude Sheets and Claude Data for tracking tables and dashboards” and “Claude in Excel, Word, PowerPoint, Outlook and Google Docs” cover this.
Mistakes to avoid
Asking it to “analyse this file” and getting comments on trends without knowing what was calculated.
Without a specific question, Claude picks the calculations and cleaning rules itself, and comments on causes it knows nothing about.
A question that can be calculated (“revenue by customer, difference from last year”), a control total and the code run at the end.
Taking the first figure as correct without comparing it with the software.
A total row, a duplicate or misread credit notes skew everything, and the result looks as clean as a correct one.
Note the software’s total before sending, give it in the context and require Claude to match it or explain the gap.
Sending the full export, with customers’ names, phone numbers and e-mail addresses.
These columns help no calculation and put the file on red: personal data in an external tool.
Delete the columns with people’s details before sending, and work by customer code.
Sending five years of history for a question about the last quarter.
The file quickly exceeds the 30 MB handled by code execution, and the work uses up a large part of the usage limit.
Export only the period and the columns the question needs.
3 SME situations followed from start to finish: the prompts exactly as they were written, the model answer to aim for, and what was checked before sending.
Example 1
The utilisation rate of a rental fleet
Romain is a branch manager at a 35-employee construction equipment hire company at Bordeaux Lac. The director wants to know which machines are earning and which are sitting in the depot, to decide on purchases for 2027. The hire software exports a file of October’s contracts: 214 rows.
From the contracts file to the memo
1214 contrats
October export.
2Description
One overlap flagged.
3Rate per machine
Days rented out of 22.
4Two checks
MP-01 and PV-03 by hand.
5Six-line note
The decision stays with the director.
Request 1
<documents>
“contrats-octobre-2026.csv”, export from the hire software.
</documents>
<contexte>
Construction equipment hire company, Bordeaux Lac branch. October 2026 has 22 working days. A machine counts as “hired” on a working day if a contract covers it that day.
</contexte>
<exemples>none</exemples>
<mission>
First describe the file, then calculate for each machine (fleet number) the number of working days hired and the utilisation rate (days hired / 22).
</mission>
<rendu>
The number of contracts read and of distinct machines. A table sorted by rate, lowest first: fleet number, type, days hired, rate rounded to the nearest whole number. The code run, at the end. Flag any contracts that overlap on the same machine.
</rendu>
Model answer
214 contracts read, 12 distinct machines. Two contracts overlap on the N-12 aerial platform on 14 and 15 October: to be checked.
| Fleet no. | Type | Days hired | Rate |
| PV-03 | Plate compactor | 4 | 18% |
| N-12 | 12 m aerial platform | 6 | 27% |
| PV-01 | Plate compactor | 9 | 41% |
| PV-02 | Plate compactor | 11 | 50% |
| … | … | … | … |
| MP-02 | 2.5 t mini excavator | 18 | 82% |
| CT-01 | Telehandler | 19 | 86% |
| MP-01 | 2.5 t mini excavator | 20 | 91% |
[code run]
Romain opens the two contracts for the aerial work platform: one is a quote converted by mistake, so he corrects it in the software. The platform’s rate doesn’t change, as both contracts cover the same days.
Request 2
Write a six-line note for the director: what’s sitting idle, what’s at capacity, and the question to settle for 2027. No purchase recommendation: that’s his decision.
Model answer
Fleet utilisation in October 2026 (22 working days)
The two mini diggers and the telehandler are hired out more than 80% of the time: we turned down hires, and the counter recorded six.
The three plate compactors run at between 18 and 50%, the 12 m access platform at 27%.
One month does not make a trend: the September to November analysis can be done with the same file.
Decision needed: a third mini digger, funded by selling a plate compactor?
He replaces “six” with the exact figure from the counter logbook (eight refusals) and sends the note.
What was checked before sending
The calculations: two machines recalculated by hand from the software’s schedule (MP-01 and PV-03).
The facts and figures: 22 working days in October checked against the calendar, the number of refusals corrected from the logbook.
The sources: the flagged overlap opened in the software before drawing any conclusion from it.
Rough scale: half an hour instead of a day counting on the schedule.
Example 2
A clothing boutique’s sales
Hélène runs a women’s clothing boutique with 3 employees in Arcachon. She has to place her spring orders and wants to understand her September and October sales. Her till exports a file of 1,380 rows, with the names and e-mail addresses of customers enrolled in the loyalty programme.
Ordering by guesswork, ordering by the numbers
Before
Orders repeated from one season to the next
Discounts never measured
Sizes out of stock in November
After
The weight of dresses quantified: 37.5%
Discounts isolated by week
Sizes 38 and 40 stocked up
Request 1
<documents>
“ventes-sept-oct-2026.csv”, till export, name and e-mail columns removed.
</documents>
<contexte>
Women's clothing boutique, Arcachon. Amounts incl. VAT, discounts as negatives on a separate line. The till shows revenue of €18,230 incl. VAT for the period, after discounts.
</contexte>
<exemples>none</exemples>
<mission>
Describe the file, then calculate revenue by category, total discounts and their share, and the best-selling sizes in each category.
</mission>
<rendu>
The control total first. Then three short tables. The code at the end.
</rendu>
Model answer
Control total: 1,380 rows, €18,230 incl. VAT after discounts, equal to the till figure.
| Category | Revenue incl. VAT | Share |
| Dresses | €6,840 | 37.5% |
| Jumpers | €5,120 | 28.1% |
| Trousers | €3,960 | 21.7% |
| Accessories | €2,310 | 12.7% |
Discounts: €1,640 incl. VAT, or 9.0% of revenue.
| Category | Best-selling sizes |
| Dresses | 38, then 40 |
| Jumpers | M, then L |
| Trousers | 40, then 38 |
[code run]
Hélène finds €18,230 on the summary Z report. She is surprised by 9% in discounts: the “loyalty days” week in October accounts for most of it.
Request 2
Separate the discounts for the week of 12 to 18 October from the others, and give the revenue for that week.
Model answer
Discounts from 12 to 18 October: €1,120 incl. VAT. Discounts for the rest of the period: €520 incl. VAT. Revenue for the week of 12 to 18 October: €4,380 incl. VAT, after discounts.
[executed code]
1,120 + 520 = €1,640: the figures add up. She keeps the loyalty promotion and orders more dresses in sizes 38 and 40.
What was checked before sending
The calculations: the €18,230 total compared with the Z report, the sum of the discounts rebuilt (1,120 + 520).
The facts and figures: the loyalty days week checked in her diary.
The data: customers’ names and e-mail addresses deleted before sending, on her individual account.
Rough scale: twenty minutes instead of a Sunday afternoon on till receipts.
Example 3
A wine cooperative’s budget
Isabelle is a management controller at a 70-employee wine cooperative near Saint-Émilion. The board meeting at the end of November wants to understand why costs are over budget. She has a general ledger export for the first nine months and the approved budget in Excel.
Overruns, month by month
FebruaryEnergy
The line exceeds the monthly budget.
JunePackaging
Bottles and boxes above forecast.
August and SeptemberCare
Two wine press repairs.
End of NovemberBoard of directors
An eight-line note and the table.
Request 1
<documents>
“grand-livre-jan-sept-2026.xlsx” and “budget-2026.xlsx”.
</documents>
<contexte>
Wine cooperative with 70 employees. The budget is approved line by line, pro rata over nine months. The board wants the essentials: which lines are overrunning, by how much, and since when.
</contexte>
<exemples>none</exemples>
<mission>
Describe both files, then compare budget and actuals over nine months for the energy, packaging, transport and equipment maintenance lines.
</mission>
<rendu>
A table: line, budget, actual, variance in euros, variance as a percentage. A total row. Then the month in which each overrun begins. The code at the end.
</rendu>
Model answer
| Line | 9-month budget | 9-month actual | Variance | Variance % |
| Energy | €84,000 | €97,300 | +€13,300 | +15.8% |
| Packaging | €210,000 | €226,800 | +€16,800 | +8.0% |
| Transport | €58,000 | €54,100 | −€3,900 | −6.7% |
| Equipment maintenance | €41,000 | €49,200 | +€8,200 | +20.0% |
| Total | €393,000 | €427,400 | +€34,400 | +8.8% |
Start of overruns: energy from February; packaging in June; maintenance in August and September (two wine press invoices).
[code run]
Isabelle checks that the sum of the variances (13,300 + 16,800 − 3,900 + 8,200) does come to €34,400. She finds the two wine press invoices in the general ledger.
Request 2
Write the eight-line note for the board: the figures from the table, with no assumptions about causes other than the two wine press invoices, which I confirm.
Model answer
Costs to the end of September: €427,400 against a budget of €393,000, an overrun of €34,400 (+8.8%).
Three lines are over: energy (+€13,300, +15.8%, since February), packaging (+€16,800, +8.0%, since June) and equipment maintenance (+€8,200, +20.0%), owing to two wine press repairs in August and September.
Transport is €3,900 under budget.
The monthly breakdown is attached.
The director adds the causes of the rise in energy and packaging costs himself, as he knows them. The note goes to the board.
What was checked before sending
The calculations: the sum of the variances equals the total variance, two percentages redone on a calculator.
The sources: the two wine press invoices found in the general ledger.
Tone and audience: no invented causes, explanations left to the director.
Rough scale: an hour instead of a day of pivot tables.
Finding customers in decline at a building materials merchant
You are Julie, sales assistant at a building materials merchant with 18 employees in Mérignac. For Monday’s sales meeting, the manager wants the list of trade customers who bought significantly less in Q3 2026 than in Q3 2025, so the two sales reps can call them. You have two CSV exports from the management software (about 2,400 rows each), with the columns: date, document number, type (invoice or credit note), customer code, company name, contact name, contact phone, product family, amount excl. VAT. The software shows €1,184,300 excl. VAT for Q3 2025 and €1,097,650 excl. VAT for Q3 2026. Prepare the files and write the requests.
Decide which columns to remove before sending, and say why.
Write the request to describe both files.
Write the cleaning rules and the analysis request, with a drop threshold and output you can use in a meeting.
Plan your checks: total, recalculated rows, common sense.
Useful in meetings; a company is not a person, but a sole trader is: the code is enough for the calculation
Contact name and phone number
Remove
Personal data not needed for the analysis: red light on an individual account
The two requests
<documents>
“ventes-T3-2025.csv” and “ventes-T3-2026.csv”, exports from the management software, amounts excl. VAT with a decimal comma, semicolon separator.
</documents>
<contexte>
Building materials merchant, 18 employees, Mérignac. The manager wants the trade customers who have bought markedly less to be called on Monday. Totals shown by the software: €1,184,300 excl. VAT for Q3 2025, €1,097,650 excl. VAT for Q3 2026.
</contexte>
<exemples>none</exemples>
<mission>
Step 1, without calculating anything: describe both files (columns, rows, blanks, duplicates, rows that are neither invoices nor credit notes) and give the raw sum of each.
Step 2, once I have approved: remove total rows and exact duplicates, deduct credit notes, list rows with no amount separately. Calculate revenue by customer code for each quarter.
</mission>
<rendu>
The control totals for both years. Then a table of customers down by more than 25% and more than €3,000 excl. VAT: code, company name, Q3 2025, Q3 2026, difference in euros and as a percentage, product family with the biggest fall. Sorted by difference in euros. Then the code run. The job is done when the control totals match the software's or the difference is explained line by line.
</rendu>
Roughly what you should get
Step 1: two descriptions and two raw sums, with a question about credit notes. Step 2: two control totals matching the software’s, then a table of fifteen to twenty-five customers, the declining product family for each, and the code.
The control total: €1,184,300 and €1,097,650 matched, or the gap explained row by row.
Three customers from the table opened in the software, and their figure for the quarter compared.
Common sense: has a customer at −100% changed code or closed down? A sales rep knows before the meeting.
The double threshold (25% and €3,000) avoids two traps: a list of small customers at −80% who bought two pallets instead of ten, and large customers at −5% who nonetheless weigh more in euros. The sales reps get a list they can call in a morning.
Practise
Three more exercises, from the most guided to the most demanding. The material is provided in full: copy it into your tool, then check your work against the criteria before opening the answers.
Level 1 · guided10 min
Rewrite an analysis request that is too vague
The manager of a 7-employee garage in Mont-de-Marsan has attached the export of his repair orders and written the request below. Rewrite it as a task brief, in two steps (describe, then calculate), with a control total.
The material to work on
MANAGER'S REQUEST
Here are my repairs for the year, analyse them and tell me what's working.
HEADER OF THE ATTACHED EXPORT (ordres-reparation-2026.csv)
date;numero_or;immatriculation;nom_client;telephone;type_travaux;heures_mo;montant_pieces_ht;montant_mo_ht;total_ht
SOFTWARE INFORMATION
Workshop revenue from January to October 2026: €412,800 excl. VAT.
Check your work
The customer name and phone columns are removed before sending
The first step asks for a description of the file without calculating
The question is specific (for example: revenue and hours by type of work)
The control total of €412,800 is given in the context
The executed code is requested
See the answers
The mission brief
<documents>
“ordres-reparation-2026.csv”, customer name and phone number columns removed.
</documents>
<contexte>
Garage with 7 employees in Mont-de-Marsan. The export covers January to October 2026. The software shows €412,800 excl. VAT in workshop revenue. I want to know which types of work earn the most per labour hour, to direct the spring advertising.
</contexte>
<exemples>none</exemples>
<mission>
Step 1: describe the file without calculating anything (columns, rows, blanks, duplicates) and give the raw sum of total_ht.
Step 2, once I have approved: for each type of work, calculate the number of orders, revenue, labour hours and labour revenue per hour.
</mission>
<rendu>
A table sorted by revenue per hour, then the code run.
</rendu>
Roughly what you should get
A description, a raw sum to compare with the €412,800, then a table of about ten job types (oil change, brakes, timing belt, air conditioning…) sorted by hourly yield.
“What works” cannot be calculated. “Labour revenue per hour, by type of work” can be calculated, checked and used to make a decision.
Level 2 · independent20 min
Analyse sixteen rows and check the result yourself
A cleaning products distributor with 11 employees in Poitiers wants October revenue by product family and by customer. Write the brief, then work out the total and the figure for the first family yourself, with a spreadsheet or a calculator: these are your checks.
The material to work on
invoice;date;customer_code;family;amount_excl_vat
F2610-001;01/10/2026;C104 Private clinic;Floor cleaning;1 240,00
F2610-002;02/10/2026;C221 State secondary school;Washrooms;385,50
F2610-003;05/10/2026;C318 Hotel;Floor cleaning;612,00
F2610-004;06/10/2026;C104 Private clinic;Disinfection;2 105,00
F2610-005;08/10/2026;C407 Town hall;Washrooms;298,00
F2610-006;09/10/2026;C512 Restaurant;Kitchen;174,40
F2610-007;12/10/2026;C318 Hotel;Kitchen;233,00
F2610-008;13/10/2026;C221 State secondary school;Floor cleaning;890,00
F2610-009;15/10/2026;C104 Private clinic;Washrooms;640,00
F2610-010;16/10/2026;C407 Town hall;Floor cleaning;455,00
F2610-011;19/10/2026;C512 Restaurant;Disinfection;96,00
F2610-012;20/10/2026;C318 Hotel;Washrooms;318,60
F2610-013;22/10/2026;C104 Private clinic;Disinfection;1 480,00
F2610-014;26/10/2026;C221 State secondary school;Kitchen;512,00
F2610-015;28/10/2026;C407 Town hall;Disinfection;220,00
F2610-016;30/10/2026;C318 Hotel;Floor cleaning;407,50
Check your work
The request states the semicolon separator and the decimal comma
She asks for a control total before the tables
Your total by hand is €10,067.00 excl. VAT
You find disinfection at the top, at €3,901.00 excl. VAT
You notice that one customer accounts for more than half the month
See the answers
The mission brief
<documents>
<document nom="ventes-octobre-2026">[paste the sixteen rows]</document>
</documents>
<contexte>
Cleaning products distributor, 11 employees, Poitiers. Semicolon separator, decimal comma, space as thousands separator, amounts excl. VAT. The manager is preparing a monthly review.
</contexte>
<exemples>none</exemples>
<mission>
By running code, calculate October revenue excl. VAT by product family and by customer code, with the share of each.
</mission>
<rendu>
The control total (number of rows, total excl. VAT), then two tables sorted by amount. Flag any customer above 40% of the total. The code at the end.
</rendu>
Roughly what you should get
16 rows, €10,067.00 excl. VAT. Families: disinfection first, then floor cleaning, washrooms, kitchen. Customers: the clinic flagged as above 40%.
The results to match
Family
Revenue excl. VAT
Share
Disinfection
3 901,00 €
38,8 %
Floor cleaning
3 604,50 €
35,8 %
Washrooms
1 642,10 €
16,3 %
Kitchen
919,40 €
9,1 %
Total
10 067,00 €
100 %
On the customer side, the clinic (C104) accounts for €5,465.00 excl. VAT across four invoices, or 54.3% of the month. That is the most useful information in the table: dependence on one customer, which the manager needs to know about. Names have been replaced with codes and a description: the calculation does not need them.
Level 3 · demanding case30 min
Avoiding the traps in an export
An agricultural supplies merchant with 22 employees in Marmande exports its October sales. The export below contains five traps. Find them, write the cleaning rules, then the full brief. Work out the correct total by hand, and say what a naive sum of the whole column would give.
All five traps are found: date in a different format, duplicate, credit note, blank amount, total row
The cleaning rules are written down, the credit note is deducted, not deleted
The row with no amount is listed separately, not silently deleted
Your correct total is €6,885.50 excl. VAT and matches the software’s total row
The naive sum (€14,091.50) is explained
See the answers
The five traps
Line
Trap
Rule
2026-10-04
Date in year-month-day format among day/month/year dates
Read both formats; 4 October, not 10 April
FA-5503 duplicated
Exact duplicate
Remove exact duplicates and list them
AV-0088, −480.00
Credit note cancelling invoice FA-5502
Keep as negative
FA-5506 with no amount
Empty cell
Exclude from the calculation and list for checking
OCTOBER TOTAL
Software total row
Exclude from the calculation, use as a control total
The mission brief
<documents>
“ventes-octobre-2026.csv”, export from the management software.
</documents>
<contexte>
Agricultural supplies merchant, 22 employees, Marmande. Amounts excl. VAT, decimal comma, space as thousands separator. The last row is the software's total: €6,885.50 excl. VAT.
</contexte>
<exemples>none</exemples>
<mission>
Apply these rules: read dates in day/month/year and year-month-day format; remove exact duplicates; keep credit notes as negatives; set aside rows with no amount; exclude the total row. Then calculate October revenue excl. VAT by customer code.
</mission>
<rendu>
The list of rows set aside or removed, with the reason. The recalculated total, compared with the software's €6,885.50. A table by customer code. The code at the end. If the total does not match, explain the difference before any table.
</rendu>
Roughly what you should get
Three rows removed (the duplicate, the empty row, the total), a recalculated total of €6,885.50 excl. VAT matching the software’s, then a table of five customer codes.
The correct total: 1,250 + 480 + 320.50 − 480 + 2,900 + 615 + 1,040 + 760 = €6,885.50 excl. VAT. A naive sum of the whole column adds the duplicate (€320.50) and the total row (€6,885.50): €14,091.50, more than double. Without the total row, the sum would be €7,206: the €320.50 gap with the software points to the duplicate.
All the task briefs and copy-ready requests from the course, including answers, worked examples and practice exercises, sorted by module and lesson, with filters to find the right one.
For each lesson, the main exercise and the three graded practice exercises with their materials, to do on paper or alongside Claude; all the answers are grouped at the end.
The course’s practical examples, job by job: the situation, the requests as they were written, the standard replies obtained and what was checked before using them.
All the lessons in a single PDF: objectives, written course with its diagrams, tables and requests, common mistakes, exercise and key takeaways. The practice exercises and answers are in the workbook, the examples in the collection.
Your notes stay on this device; they are not sent anywhere.
A question for the tutor
A result that doesn’t match the model answer, a prompt that gets you nowhere, a case specific to your business: write to us with your prompt and the response you got. A Bonbay Académie trainer replies within 24 working hours, on your case.