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 4, module 2: Formulas Getting Copilot to write a formula, from SOMME.SI.ENS to RECHERCHEX Sandrine's aged balance: fourteen invoices, a Bracket column to have written. A formula is requested, inserted, checked, corrected. [Diagram: Request, insert, check, correct] 1. Request 2. Insert 3. Check 4. Correct The cycle starts again as long as a check fails. It rarely takes more than three rounds. The request, in four parts, in Edit mode. Request: Add a Bracket column to the Relances table: Paid, Not due, 1 to 30 d, 31 to 60 d, Over 60 d, based on K1 minus Due date. Structured references. Response: A Bracket column with =SI.CONDITIONS([@[Reste dû]]=0;"Soldée";$K$1-[@Échéance]<=0;"Non échue";…;VRAI;"Plus de 60 j"), and the list of what changed in the workbook. The formula tests five cases, in an order that matters. [Diagram: What the Bracket column tests, in order] 1. Balance due = 0? 2. Days overdue ≤ 0? 3. Days overdue ≤ 30? 4. Days overdue ≤ 60? 5. Otherwise SI.CONDITIONS returns the value of the first condition that is true: the order of the tests is part of the rule. F26-0942, redone by hand. Due date: 11/09/2026 Reference date: 16/11/2026 19 + 31 + 16 = 66 days: Over 60 d Before passing it on, five checks. [Diagram: The five checks] 1. The range: are all rows read, with no forgotten filter or fixed range? 2. The formula: does each argument, read one by one, match your request? 3. The control recalculation: do three rows redone by hand, or a total compared with a SUM, come out right? 4. Edge cases: do empty, zero, text, duplicate, out-of-period dates give the right result? 5. The business reading: is the figure plausible to someone who knows the business? Yes to all: The result can go out, with its formula visible and the reference date. The control recalculation: the brackets add up to the total balance due. 864.00 + 1,750.40 + 4,228.80 + 351.00 = €7,194.20, the table's balance due In the exercise, you prepare the aged balance for the accountant.
Your turn: The aged balance for the accountant The written course, the corrected exercise and the quiz are below the video.
Lesson 4 of 14 · module 2, formulas
Getting Copilot to write a formula, from SOMME.SI.ENS to RECHERCHEX
Ask Copilot for a formula rather than a figure: SOMME.SI.ENS and NB.SI.ENS to add up and count by condition, RECHERCHEX to fetch information from another table, SI.CONDITIONS to classify. Insist on structured references and the reference date in K1, then put the formula through the five checks before you use it.
28 min of reading
1 min 51 of video
6 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
Get Copilot to write a SOMME.SI.ENS, NB.SI.ENS, RECHERCHEX or SI.CONDITIONS formula using structured references
Build the Retard en jours and Tranche columns of an aged debtor report with it
Apply the five checks to a formula before passing on its result
What’s covered
A formula rather than a figure
SOMME.SI.ENS and NB.SI.ENS: adding up and counting with conditions
RECHERCHEX: fetching information from another table
Sandrine’s aged balance
The five checks
3 worked examples, followed from start to finish
Exercise with answers · The aged balance for the chartered accountant
3 practice exercises, from guided to demanding cases
The quiz
Key points
Ask for a formula rather than a figure: it recalculates, can be read and can be checked.
Insist on French function names, semicolons and structured references such as Ventes[Montant HT].
SOMME.SI.ENS starts with the column to add up; RECHERCHEX takes a fourth argument for missing codes.
The reference date goes in K1, as an absolute reference, never AUJOURDHUI() in a dated report.
Five checks before anything is sent: the range, the formula, the control recalculation, the edge cases, the business sense check.
Every Monday, Sandrine prepares the aged debtor report for the Mérignac distributor: which invoices are overdue, by how many days, for how much. Until now, she sorted the file and counted. With Copilot, the temptation is to ask “how much is more than 60 days overdue?” and copy the figure. This lesson shows why it is better to ask for a formula, how to get it written, and how to check it before it goes to the accountant.
A formula rather than a figure
A figure given in the pane is frozen: it will be wrong next Monday, and nothing shows how it was obtained. A formula recalculates, can be read and can be checked. Copilot can generate formulas and apply them in the workbook. In Edit mode, it writes them itself; in Conversation mode, it gives them to you to paste. Insist on two things. French function names and the semicolon. And structured references: Ventes[Montant HT] refers to the whole table column, new rows included, and [@Échéance] to the cell in the same row. A fixed range such as J2:J21 misses row 22 the day it arrives.
Ask, insert, check, correct
1Ask
In four parts: the column, the data, the rules, the explanation.
2Insert
In Edit mode, or by pasting the formula given in Chat.
3Check
The five checks, including three rows recalculated by hand.
4Correct
The missing rule added to the prompt, and the formula rewritten.
The cycle starts again as long as a check fails. It rarely takes more than three rounds.
SOMME.SI.ENS and NB.SI.ENS: adding up and counting with conditions
SOMME.SI.ENS (SUMIFS) adds up a column for the rows that meet every condition: SOMME.SI.ENS(somme_plage; plage_critères1; critères1; [plage_critères2; critères2]…), up to 127 pairs. The column to add up comes first, the reverse of the old SOMME.SI. NB.SI.ENS (COUNTIFS) counts rows: NB.SI.ENS(plage_critères1; critères1; …). All ranges in the same formula must have the same number of rows, which columns from the same table guarantee. Here they work on the Ventes table from the lesson “Open Copilot in Excel on Windows, Mac and the web, and talk to it in French”, copied below.
The “Ventes” table for October 2026, Mérignac (amounts excl. VAT in euros)
Expected results: 1,758.00 and 4. Check by hand: F26-1041 (288.00), F26-1048 (585.00), F26-1057 (360.00) and F26-1059 (525.00).
RECHERCHEX: fetching information from another table
The “Clients” table, Mérignac
Code
Customer type
Town
C-101
Brasserie
Bordeaux
C-108
Hotel
Arcachon
C-112
Restaurant
Libourne
C-115
Caterer
Mérignac
C-120
Campsite
Lacanau
C-123
Staff canteen
Pessac
C-130
Hotel
Bordeaux
RECHERCHEX (XLOOKUP) looks up a value in one column and returns what is on the same row of another column, to the left or the right: RECHERCHEX(valeur_cherchée; tableau_recherche; tableau_renvoyé; [si_non_trouvé]; [mode_correspondance]; [mode_recherche]). Exact match is the default setting. Without the fourth argument, a missing code returns #N/A; with it, the text of your choice. RECHERCHEX does not exist in Excel 2016 or 2019: a colleague still on those versions will see an error. In the Relances table, the formula below adds each client’s city.
The formula to paste into a new Ville column in the Relances tableText
Expected results: Lacanau for C-120, Bordeaux for C-101 and C-130, Arcachon for C-108. A code missing from the Clients table, C-126 for example, displays “Code inconnu” instead of a wrong city or #N/A.
Sandrine’s aged balance
The “Relances” table at 16 November 2026, Mérignac (reference date 16/11/2026 in K1; payment due at 30 days; “(vide)” marks an empty cell)
Client
Invoice
Invoice date
Due date
Amount incl. VAT
Paid
Balance due
Last reminder
C-120
F26-0942
12/08/2026
11/09/2026
864,00
0,00
864,00
25/09/2026
C-101
F26-0987
03/09/2026
03/10/2026
1 152,00
1 152,00
0,00
(vide)
C-108
F26-0995
08/09/2026
08/10/2026
2 016,00
1 000,00
1 016,00
15/10/2026
C-112
F26-1003
15/09/2026
15/10/2026
734,40
0,00
734,40
20/10/2026
C-120
F26-1010
22/09/2026
22/10/2026
1 296,00
0,00
1 296,00
(vide)
C-101
F26-1041
01/10/2026
31/10/2026
345,60
0,00
345,60
(vide)
C-108
F26-1042
02/10/2026
01/11/2026
552,00
552,00
0,00
(vide)
C-112
F26-1043
05/10/2026
04/11/2026
489,60
0,00
489,60
(vide)
C-115
F26-1045
07/10/2026
06/11/2026
316,80
0,00
316,80
(vide)
C-120
F26-1046
08/10/2026
07/11/2026
734,40
0,00
734,40
(vide)
C-123
F26-1048
12/10/2026
11/11/2026
702,00
702,00
0,00
(vide)
C-115
F26-1050
14/10/2026
13/11/2026
345,00
345,00
0,00
(vide)
C-130
F26-1051
15/10/2026
14/11/2026
1 046,40
0,00
1 046,40
(vide)
C-123
F26-1054
20/10/2026
19/11/2026
351,00
0,00
351,00
(vide)
The Retard en jours column
Add a Retard en jours column to the Relances table.
Data: Relances table, Échéance column; reference date in K1 (16/11/2026).
Rules: delay = K1 minus Échéance; a negative result means the invoice is not yet due, keep it; Number format with no decimals; formula as a structured reference, with $K$1 as an absolute reference; do not use AUJOURDHUI().
Explanation: give the formula, explain each argument, and state the delay for F26-0942 and F26-1054.
Roughly what you should get
A Days overdue column with =$K$1-[@Échéance], in Number format. F26-0942: 66 days. F26-1054: −3 days, as the 19/11/2026 due date has not been reached. Then the list of what changed: one column, one format.
If the column shows dates such as 06/03/1900, the format has stayed as Date: switch it to Number.
The Tranche column
Add a Tranche column to the Relances table.
Data: Relances table, Reste dû and Échéance columns; reference date in K1.
Rules: “Soldée” if Reste dû is 0; otherwise, with delay = K1 minus Échéance: “Non échue” if the delay is 0 or less, “1 à 30 j” up to 30, “31 à 60 j” up to 60, “Plus de 60 j” beyond that; a single SI.CONDITIONS formula, with structured references, French function names and semicolons.
Explanation: explain each test in order and give the number of invoices per band.
Roughly what you should get
A Band column with the formula below, and the count: Paid 4, Not yet due 1, 1 to 30 days 6, 31 to 60 days 2, Over 60 days 1, i.e. 14 invoices.
The formula to paste into the Tranche columnText
=SI.CONDITIONS([@[Reste dû]]=0;"Soldée";$K$1-[@Échéance]<=0;"Non échue";$K$1-[@Échéance]<=30;"1 à 30 j";$K$1-[@Échéance]<=60;"31 à 60 j";VRAI;"Plus de 60 j")
Expected results: F26-0942 Plus de 60 j (66 days); F26-0995 and F26-1003 31 à 60 j (39 and 32 days); F26-1054 Non échue (−3 days); F26-0987, F26-1042, F26-1048 and F26-1050 Soldée. The final VRAI catches all remaining cases.What the Tranche column tests, in order
1Reste dû = 0?
Yes: “Soldée”.
2Retard ≤ 0?
Yes: “Non échue”.
3Retard ≤ 30?
Yes: “1 à 30 j”.
4Overdue ≤ 60?
Yes: “31 à 60 j”.
5Otherwise
“Plus de 60 j”.
SI.CONDITIONS returns the value of the first true condition: the order of the tests is part of the rule.
The five checks
The five checks
1The range: are all rows read, with no forgotten filter or fixed range?
No Remove the filter, insist on the table column, redo the calculation.
2The formula: read argument by argument, does each one match your prompt?
No Have Copilot explain the suspect argument, then rewrite the formula.
3The control recalculation: do three rows recalculated by hand, or a total compared with a SOMME, come out right?
No Find the discrepancy row by row before going any further.
4The edge cases: do blanks, zeros, text, duplicates and out-of-period dates give the right result?
No Add the missing rule to the request and have it rewritten.
5The business sense check: is the figure plausible to someone who knows the business?
No Go back to the source: export, period, unit, tax.
Yes to allThe result can go out, with its formula visible and the reference date.
A result sent to a client or the accountant without these five checks is a mistake, not a time saving.
The five checks applied to the Tranche column
Verification
What Sandrine does
Result
1. The range
She removes any filter and checks that the formula points to table columns, with no fixed range
14 rows, structured references
2. The formula
She reads the five tests in order and checks that $K$1 is absolute
Matches the request
3. The control recalculation
She redoes F26-0942 by hand, then adds up the amount outstanding by band
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 false insurance overspend, caught by the business sense check
Thomas is a management controller at a 35-employee heating, air-conditioning and refrigeration maintenance company in Bègles. For the budget review at 31/10/2026, he wants to spot the cost lines that exceed their ten-month pro rata by more than 10%. He starts from the Budget table, with ten cost lines.
From the Alerte column to Thomas's note
1Four columns
Prorata, Écart, Écart %, Alerte.
2Check calculation
Subcontracting: +31.5%.
3Business sense check
Insurance paid in January.
4Corrected formula
“Payé d'avance” tested first.
Request 1
Add four columns to the Budget table: Prorata, Écart, Écart % and Alerte.
Data: Budget annuel and Réalisé au 31/10/2026 columns.
Rules: Prorata = Budget annuel × 10 / 12; Écart = Réalisé minus Prorata; Écart % = Écart / Prorata, percentage format with one decimal place; Alerte with SI.CONDITIONS: “Dépassement” above +10%, “Sous-consommé” below −30%, “Conforme” otherwise; structured references.
Explanation: give the four formulas and the list of items in Dépassement.
Model answer
Formulas:
Prorata: =[@[Budget annuel]]*10/12
Écart: =[@[Réalisé au 31/10/2026]]-[@Prorata]
Écart %: =[@Écart]/[@Prorata]
Alerte: =SI.CONDITIONS([@[Écart %]]>0,1;"Dépassement";[@[Écart %]]<-0,3;"Sous-consommé";VRAI;"Conforme")
Dépassement (overspend): Sous-traitance (+31.5%), Assurances (payées en janvier) (+20.0%), Informatique et logiciels (+15.5%).
Sous-consommé (underspend): Formation (−65.6%), Communication (−44.0%).
Thomas redoes Subcontracting by hand: 120,000 × 10 / 12 = 100,000, and 131,500 − 100,000 = 31,500, i.e. +31.5%. The formula is correct. But he knows the Insurance line: it is paid in one go, in January.
Request 2
The “Assurances (payées en janvier)” line is paid in one go in January: its ten-month prorata makes no sense. Change the Alerte column to display “Payé d'avance” for this line when actual spend equals the annual budget, and explain the new formula.
Model answer
New formula: =SI.CONDITIONS([@[Réalisé au 31/10/2026]]=[@[Budget annuel]];"Payé d'avance";[@[Écart %]]>0,1;"Dépassement";[@[Écart %]]<-0,3;"Sous-consommé";VRAI;"Conforme")
The first test picks out a fully spent line; it comes before the overspend test, since SI.CONDITIONS stops at the first true condition. Only Assurances is affected: 31,000 spent against 31,000 budgeted.
Thomas checks that no other line has actual spend equal to its budget: that is the case, Insurance is the only one. He keeps the formula and flags the case in his note.
What was checked before sending
The control recalculation: Sous-traitance recalculated by hand, +31,500 and +31.5%.
The business sense check: the Assurances overspend recognised as a timing effect.
The edge cases: the new test affects no other line.
Rough scale: a quarter of an hour for the four columns instead of an hour, and a false alert avoided in front of the committee.
Example 2
Online shop prices checked with RECHERCHEX
Élodie runs the online shop of a delicatessen in Libourne with 9 employees. On the November export, already cleaned (11 orders, amounts incl. VAT as numbers, separate Code column), she wants to check that no order was invoiced at a price other than the catalogue price. She types a small Produits table: RIL-250 at €7.90, CON-180 at €5.80, FOI-130 at €24.90, CAN-400 at €9.50 incl. VAT.
Checking prices: manual check or formula
Checking by hand
Every row checked against the catalogue
Half an hour a month
A possible misreading
RECHERCHEX and the Écart column
The catalogue price on each row
The non-zero variances listed
Three rows redone by hand
Request 1
Add two columns to the Commandes table: Prix catalogue and Écart.
Data: Commandes table, columns Code, Qté and Montant; Produits table, columns Code and Prix TTC.
Rules: Prix catalogue with RECHERCHEX and “Code inconnu” if the code is missing; Écart = Montant minus Qté × Prix catalogue, rounded to the cent; structured references.
Explanation: give both formulas and the list of orders whose variance is not zero.
Model answer
Catalogue price: =RECHERCHEX([@Code];Produits[Code];Produits[Prix TTC];"Code inconnu")
Écart: =ARRONDI([@Montant]-[@Qté]*[@[Prix catalogue]];2)
No order has a variance: all 11 amounts match the catalogue price. No unknown codes.
Give the total incl. VAT per product, with one SOMME.SI.ENS formula per product, and check that the sum of the four gives back the total of the Montant column.
Model answer
FOI-130: €149.40; CAN-400: €57.00; RIL-250: €55.30; CON-180: €23.20. Sum: €284.90, equal to the total of the Montant column.
Model formula: =SOMME.SI.ENS(Commandes[Montant];Commandes[Code];"FOI-130")
The total of €284.90 incl. VAT is the one Élodie had obtained after cleaning: the two approaches match.
What was checked before sending
The control recalculation: three orders recalculated by hand.
The edge cases: “Code inconnu” planned for a product missing from the catalogue.
The total by product cross-checked against the column total, €284.90 incl. VAT.
Rough scale: ten minutes to check every order for the month, instead of half an hour ticking off line by line.
Example 3
The weight of hotels, and the range that stopped too early
Mathieu runs the Mérignac supplier of equipment for cafés, hotels and restaurants, with 18 employees. He wants to know how much hotels weigh in October’s sales. An old dashboard shows €1,752.00 excl. VAT.
Mathieu’s Monday committee
8 h 30Question
How much do the hotels account for?
8 h 35Two figures
1,752.00 against 3,043.00.
8 h 40Fixed range found
Three invoices missed.
8 h 45Corrected dashboard
Structured references.
Request 1
What amount excl. VAT and what share of October 2026 sales do hotels account for?
Data: Ventes table, Type de client and Montant HT columns.
Rules: amounts excl. VAT; share rounded to one decimal place.
Explanation: give the formulas, the number of invoices involved and the list of clients.
Model answer
€3,043.00 excl. VAT, or 37.7% of October's €8,071.00 excl. VAT. Six invoices, two clients: C-108 in Arcachon (1,356.00) and C-130 in Bordeaux (1,687.00).
Formulas: =SOMME.SI.ENS(Ventes[Montant HT];Ventes[Type de client];"Hôtel"); =NB.SI.ENS(Ventes[Type de client];"Hôtel"); share: hotel amount divided by SOMME(Ventes[Montant HT]).
The gap with the old dashboard is €1,291.00: far too large for rounding.
Request 2
The old dashboard uses =SOMME.SI.ENS(J2:J15;D2:D15;"Hôtel"). Explain why it gives 1,752.00 and which invoices it leaves out.
Model answer
The formula stops at row 15, whereas the table runs to row 21. It misses three hotel invoices: F26-1055 (290.00), F26-1056 (476.00) and F26-1059 (525.00), totalling 1,291.00. 1,752.00 + 1,291.00 = 3,043.00.
Mathieu replaces the old formula in the dashboard with the structured-reference version.
What was checked before sending
The range: the old formula covered 14 rows out of 20.
The control recalculation: 1,752.00 + 1,291.00 = 3,043.00.
The business sense check: two hotel clients, including the month’s largest client, C-130.
Rough scale: an indicator that had been wrong for several weeks, fixed in ten minutes.
For the November statement, the chartered accountant asks Sandrine for the balance due at 16 November 2026 by age band (amount and number of invoices) and the balance due by city. The Relances table already has its Retard en jours and Tranche columns. Using the lesson’s Relances and Clients tables, write the prompts to Copilot, give the expected formulas for the Synthèse sheet and their results, then write out the five checks carried out before sending.
Prepare the Synthèse sheet: the bands in A2:A6, then the Montant and Nombre columns.
Write the prompt that gets Copilot to write the SOMME.SI.ENS and NB.SI.ENS formulas.
Add the Ville column to the Relances table with RECHERCHEX, then the amount outstanding by town.
Work out the expected results from the table.
Write down the five checks, one line each.
See the answers
The expected summary at 16 November 2026
Slice
Balance due
Invoices
Plus de 60 j
864,00
1
31 à 60 j
1 750,40
2
1 à 30 j
4 228,80
6
Non échue
351,00
1
Paid
0,00
4
Total
7 194,20
14
The formulas to paste into B2 and C2 of the Synthèse sheet, then copy down to row 6Text
A2 to A6 hold the five bands, written exactly as in the Tranche column. One extra space in “1 à 30 j” and the row shows 0.
The balance due by city, after the Ville column (RECHERCHEX)
Town
Clients
Balance due
Lacanau
C-120
2 894,40
Bordeaux
C-101, C-130
1 392,00
Libourne
C-112
1 224,00
Arcachon
C-108
1 016,00
Pessac
C-123
351,00
Mérignac
C-115
316,80
Total
7 194,20
The summary prompt, in Edit mode
Create a Synthèse sheet with the amount outstanding by band and by town.
Data: Relances table, Tranche, Reste dû and Client columns; Clients table, Code and Ville columns; reference date in K1 of the Relances sheet.
Rules: first add a Ville column to the Relances table with RECHERCHEX and “Code inconnu” if the code is missing; in Synthèse, one row per band (Plus de 60 j, 31 à 60 j, 1 à 30 j, Non échue, Soldée) with the amount and the number of invoices, then one row per town; SOMME.SI.ENS and NB.SI.ENS formulas with structured references; totals at the bottom.
Explanation: list the formulas and what you changed.
Roughly what you should get
A Summary sheet with two small tables whose totals are 7,194.20 and 14, a Town column in Relances, and the list of changes.
The five checks before sending. 1. The range: 14 invoices, no filter. 2. The formula: SOMME.SI.ENS adds up Reste dû, not Montant TTC. 3. The control recalculation: both totals give back the sum of the Reste dû column, 7,194.20. 4. The edge cases: no “Code inconnu” town, settled invoices at 0.00. 5. The business sense check: Lacanau comes first, and the campsite C-120 has three unpaid invoices. The summary goes out with the reference date written in the title: “Reste dû au 16/11/2026”.
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
Two formulas on the Ventes table
Write two four-part prompts on the table below: the amount excl. VAT sold by Paul in Linge, then the number of invoices addressed to hotels. Give the expected formula and result for each.
What amount excl. VAT did Paul sell in Linge in October 2026?
Data: Ventes table, Commercial, Famille and Montant HT columns.
Rules: amounts excl. VAT; one row equals one invoice.
Explanation: give the formula with French function names and semicolons, explain each argument and list the invoices included.
Roughly what you should get
€1,401.50 excl. VAT, three invoices: F26-1042, F26-1050 and F26-1060, using the SOMME.SI.ENS formula given above.
Level 2 · independent20 min
The city for each invoice, and the missing client
Have Copilot add a Ville column and a Type de client column to the Relances table, taken from the Clients table, then the balance due by city. Next, add a test row for a client C-126, who is not in the Clients table, and state what the two new columns should display. Write the prompt and give the formulas and results.
Both RECHERCHEX formulas have a fourth argument for missing codes
The balance due by city is calculated with SOMME.SI.ENS on the new column
Bordeaux adds C-101 and C-130: 1,392.00
The C-126 row displays “Code inconnu”, not a city or #N/A
The test row is deleted before anything is sent
See the answers
The formulas for the Ville and Type de client columnsText
Ville : =RECHERCHEX([@Client];Clients[Code];Clients[Ville];"Code inconnu")
Type de client : =RECHERCHEX([@Client];Clients[Code];Clients[Type de client];"Code inconnu")
Reste dû de Bordeaux : =SOMME.SI.ENS(Relances[Reste dû];Relances[Ville];"Bordeaux")
Results by city: Lacanau 2,894.40; Bordeaux 1,392.00; Libourne 1,224.00; Arcachon 1,016.00; Pessac 351.00; Mérignac 316.80; total 7,194.20.
The prompt, in Edit mode
Add two columns to the Relances table, Ville and Type de client, taken from the Clients table.
Data: Relances[Client]; Clients table, columns Code, Type de client and Ville.
Rules: RECHERCHEX with exact match; “Code inconnu” if the code is missing; structured references; do not change any other column.
Explanation: give the formulas, then the amount outstanding by town with SOMME.SI.ENS, and check that the sum of the towns equals the Reste dû total.
Roughly what you should get
Two columns added, six towns with their amount outstanding, and a control sum equal to 7,194.20.
The C-126 test row displays “Code inconnu” in both columns: that is the expected signal. Without the fourth argument, it would display #N/A, and a SOMME.SI.ENS on the Ville column would skip the row without warning. Delete the test row, or add the client to the Clients table, before sending anything.
Level 3 · demanding case30 min
Hour variances over a week of maintenance
The operations manager in Bègles wants a column that flags jobs needing an explanation. On the Planning table below, have Copilot add an Écart column (actual hours minus planned hours) and a Contrôle column: “Reporté” for a postponed job, “À expliquer” for a variance of one hour or more, “Conforme” otherwise. Give the formulas and the expected count, then write out the five checks, one line each.
À expliquer: Inès in Bègles on 09/11 (+1), Marc in Villenave on 10/11 (+1), Inès in Cenon on 12/11 (+1.5), Yanis in Gradignan on 13/11 (+1). Reporté: Sofia in Talence on 13/11. The other 9: Conforme.
The prompt, in Edit mode
Add two columns to the Planning table, Écart and Contrôle.
Data: Heures prévues, Heures réalisées and Statut columns.
Rules: Écart = Heures réalisées minus Heures prévues; Contrôle with SI.CONDITIONS: “Reporté” if Statut is Reporté, tested first; “À expliquer” if the variance is 1 or more; “Conforme” otherwise; structured references.
Explanation: give the formulas, the number of rows for each Contrôle value, and the sum of the Écart column.
Roughly what you should get
Two columns, the count of 4 À expliquer, 1 Reporté, 9 Conforme, and a sum of variances of +1.5.
The five checks. 1. The range: 14 rows, no filter. 2. The formula: the Reporté test comes first, otherwise Sofia's −4 variance would be classed Conforme. 3. The control recalculation: sum of variances +1.5, equal to 53.5 − 52. 4. The edge cases: three variances are exactly 1 and are correctly “À expliquer”; Marc on 09/11, En cours at 7 for 7, stays Conforme. 5. The business sense check: the vet clinic installation took an hour longer on the second day, to check with Marc.
The course terms defined simply, in alphabetical order, from Copilot’s modes to structured references, with a work example and the lesson that covers it.
Every prompt for Copilot in the course, including answers, practical examples and practice exercises, arranged 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 tables reproduced in full, to redo in your own Excel; all the answers, formulas included, are grouped at the end.
The course’s practical examples, job by job: the situation, the prompt as it was written, the typical response and what was checked before sending the result.
All the lessons in a single PDF: objectives, written lesson with its diagrams, tables, formulas and prompts, common mistakes, exercise and key points to remember. 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.