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 6, module 2: Formulas FILTRE, UNIQUE, TRIER and LET written by Copilot for lists that update themselves Every Monday, Sandrine copies out the list of invoices to chase. One formula is enough. Copy-paste or formula: the list that keeps itself up to date. [Diagram: The Monday list, by hand or by formula] Copy-paste every week A FILTRE formula written once The formula doesn't spare you checking: it spares you redoing. The request to Copilot names the table, the condition, the sort and the empty case. Request: In A2, list the rows of the Relances table whose Balance due is greater than zero, from the oldest due date to the most recent. If nothing is due, show "Nothing to chase". Response: =LET(due;Relances[Reste dû]>0;TRIERPAR(FILTRE(Relances;due;"Rien à relancer");FILTRE(Relances[Échéance];due;0);1)): 10 rows, from F26-0942 to F26-1054. One formula, several cells: the result spills. [Diagram: From the source to the list that keeps itself up to date] 1. The Relances table 2. FILTRE 3. TRIERPAR 4. The To chase list A single formula in A2: each step reads from the inside out, and the result spills into the neighbouring cells. C-120 pays F26-1010: the row disappears by itself. Paid goes to 1,296.00 The list goes from 10 to 9 rows The total goes from 7,194.20 to 5,898.20 #PROPAGATION!: something is blocking the result's space. A note typed under the list A formula placed in a table Clear the space, the list comes back Sandrine's Monday: enter, let it recalculate, check, call. [Diagram: Sandrine's Monday morning] 8:30 am: Payments entered 8:32 am: The list updates 8:35 am: Control recalculation 9 am: Calls 11:30 am: Follow-up Head of sales administration and accounting at the distributor in Mérignac, 18 employees. In the exercise, you build the To reschedule list for a company in Bègles. Your turn: The To reschedule list for a maintenance company in Bègles The written course, the corrected exercise and the quiz are below the video.
Lesson 6 of 14 · module 2, formulas
FILTER, UNIQUE, SORT and LET written by Copilot for lists that update themselves
A FILTER, SORT or UNIQUE formula written once replaces Monday’s copy and paste: its result spills into the neighbouring cells and follows every entry in the table. Copilot writes it with structured references, LET makes it readable, and you test it on the edge case where the list becomes empty.
29 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 sorted FILTER list that updates itself, placed outside the source table
Getting lists without duplicates with UNIQUE and SORT, and reusing them with the # operator
Making a formula readable with LET and testing it on the case where nothing matches the filter
What’s covered
One formula, several cells: spilling
FILTER and SORTBY: the list of invoices to chase
UNIQUE and SORT: lists without duplicates
LET: naming calculations so you can read the formula back
Checking a list that changes
3 worked examples, followed from start to finish
Exercise with answers · The À replanifier list of a maintenance company in Bègles
3 practice exercises, from guided to demanding cases
The quiz
Key points
A FILTER, SORT or UNIQUE formula goes in a single cell, outside any table, and its result spills into the neighbouring cells.
The address followed by # (A2#) refers to the whole spilled list: formulas that depend on it follow its size.
The request to Copilot names the table, the condition, the sort order and what is displayed when the list is empty.
LET names a calculation so you write it once and read the formula back as a business rule.
The list total is compared with the source table total, and the empty case is tested on a copy before any use.
Every Monday at 8.30am, Sandrine, who runs sales administration and accounts at a Mérignac distributor of supplies for cafés, hotels and restaurants (18 employees), filters the Reminders table on Balance due, copies the rows and pastes them into a sheet she prints out for her calls. Twenty minutes, and the list is already wrong by Tuesday if a customer pays. The FILTER, SORT, UNIQUE and LET functions do this job once and for all: the list recalculates with every entry. Copilot writes them very well; your part is to tell it exactly what to list, then test the formula where it breaks. Interface labels (mode names, pane menus) may vary with your version of Excel and your plan: look for the locations described.
One formula, several cells: spilling
A formula such as FILTER returns a set of values. You type it in a single cell, the top-left one, and Excel places the results in the neighbouring cells: Microsoft calls this a dynamic array formula and says the result spills. The spill range is outlined in blue when you click inside it; only the first cell contains the formula, and the others show it greyed out in the formula bar. To reuse the whole result, whatever its size, type the address of the first cell followed by #: A2# refers to the whole list, whether it has 10 rows today or 14 tomorrow. Microsoft’s page lists FILTER for Excel for Microsoft 365, Excel 2021 and Excel 2024: a colleague still on an older version will not be able to recalculate these formulas.
The Monday list, by hand or by formula
Copying and pasting every week
Filter on Balance due, copy, paste into another sheet
An invoice paid yesterday stays on the list until the following Monday
A missed row goes unnoticed
Twenty minutes to redo every week
A FILTER formula written once
The list recalculates every time you enter data in the table
A paid invoice disappears, a new invoice appears
The list total is compared with SUM(Relances[Reste dû])
A one-minute check on Monday morning
The formula doesn’t spare you the checking: it spares you the redoing.
FILTER and SORTBY: the list of invoices to chase
The Relances table holds 14 invoices at 16 November 2026, the reference date in K1. Four are paid in full. The expected list therefore has 10 rows, with a total balance due of €7,194.20 incl. VAT, ordered from the oldest due date to the most recent. The request below follows the four parts set out in the lesson “Opening Copilot in Excel on Windows, Mac and the web, and talking to it in French”: the result, the data, the rules, the explanation. It is entered in Edit mode, since Copilot has to write to the workbook.
Reminders sorted by days overdue
On the To chase sheet, in A2, write a single formula that shows every row of the Reminders table where Balance due is greater than zero, from the oldest due date to the most recent.
Data: the Reminders table, from the Customer column to the Last reminder column; the reference date is in K1 on the Reminders sheet.
Rules: structured references, no fixed ranges; do not change the Reminders table; if no invoice is due, the formula shows “Nothing to chase” instead of an error.
Explain the formula argument by argument, state the assumptions you made and what the formula shows on the day every invoice is paid.
Roughly what you should get
A formula in A2, often first =SORT(FILTER(Reminders,Reminders[Outstanding]>0,"Nothing to chase"),4,1), with an explanation: FILTER keeps the rows that are due, SORT orders them by the fourth column (Due date) in ascending order. If Copilot claims the empty case is covered, test it: SORT finds no fourth column in the single text “Nothing to chase” and returns an error. Then ask for the version below.
The last sentence of the request forces Copilot to think about the empty case. Without it, Copilot almost always returns the first formula: correct today, and wrong on the day everything is paid.
The formula to paste into A2 of the À relancer sheetText
=LET(due;Relances[Reste dû]>0;TRIERPAR(FILTRE(Relances;due;"Rien à relancer");FILTRE(Relances[Échéance];due;0);1))
LET names the condition Reste dû > 0 “due” so it is written only once. The first FILTER keeps the outstanding rows; the second keeps their due dates; SORTBY orders the former by the latter, in ascending order (1). When nothing is owed, both FILTERs return a single value and the cell displays “Rien à relancer”.
The expected result at 16 November 2026 (10 rows, check: €7,194.20 incl. VAT)
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-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
—
C-101
F26-1041
01/10/2026
31/10/2026
345,60
0,00
345,60
—
C-112
F26-1043
05/10/2026
04/11/2026
489,60
0,00
489,60
—
C-115
F26-1045
07/10/2026
06/11/2026
316,80
0,00
316,80
—
C-120
F26-1046
08/10/2026
07/11/2026
734,40
0,00
734,40
—
C-130
F26-1051
15/10/2026
14/11/2026
1 046,40
0,00
1 046,40
—
C-123
F26-1054
20/10/2026
19/11/2026
351,00
0,00
351,00
—
Placing the list on its own sheet and checking it
To the right of the sheet tabs, click the + button (new sheet), then double-click the new tab and name it “To chase”.
In A1, type =Reminders[#Headers] and press Enter: the table’s eight headers appear and spill to the right.
Open Copilot with its icon at the bottom right of Excel, check that Edit mode is selected next to the input field, paste the request and send it.
When Copilot has finished, click A2 and read the formula in the formula bar, argument by argument. Then click A5: the formula appears there in grey, which shows that A5 is part of the spill range.
If the date columns show numbers such as 46276, select columns C, D and H, then Home, Number group, Short Date format.
In J1, type =SUM(INDEX(A2#,0,7)), then in J2, =SUM(Reminders[Balance due]). Both cells should show 7,194.20.
From the source to a list that keeps itself up to date
1The Relances table
14 invoices, one row per invoice, Balance due calculated.
2FILTRE
Keeps only the rows where Reste dû is greater than zero.
3TRIERPAR
Sort these rows from the oldest due date to the most recent.
4The À relancer list
10 rows today, 9 as soon as a payment is entered.
A single formula in A2: each step reads from the inside out, and the result spills into the neighbouring cells.
UNIQUE and SORT: lists without duplicates
UNIQUE returns each value once; SORT puts them in order. =SORT(UNIQUE(Sales[Client])) shows the seven client codes for October, from C-101 to C-130, without duplicates, and extends by itself the day an eighth client orders. This list becomes the axis of a small summary table: in B2, =SUMIFS(Sales[Amount excl. VAT],Sales[Client],A2#) returns each client’s amount in one go (C-130: €1,687.00 excl. VAT; C-101: €582.00 excl. VAT) and spills over as many rows as the A2# list. Immediate check: =ROWS(A2#) should show 7, and =SUM(B2#) 8,071.00, the total of the Sales table.
The references to order, for Karim
On a new sheet named To order, in A2, write a formula that lists the Ref and Description of every row in the Stock table where Stock is below Min threshold.
Data: Stock table, columns Ref, Description, Stock and Min threshold.
Rules: structured references; if no item is below the threshold, show “Nothing to order”; in C2, a second formula that gives the shortfall (Min threshold minus Stock) for the same rows, in the same order.
Explain both formulas and say how many rows you expect.
Roughly what you should get
In A2: =FILTER(Stock[[Ref]:[Description]],Stock[Stock]<Stock[Min threshold],"Nothing to order"). In C2: =FILTER(Stock[Min threshold]-Stock[Stock],Stock[Stock]<Stock[Min threshold],""). Six rows expected: VA-022 (short by 30), LI-011 (20), HY-002 (3), HY-015 (15), EM-006 (100), PM-009 (2).
Using the same condition in both formulas guarantees the same order. Count the six references below the threshold in the Stock table yourself before accepting the answer.
LET: naming calculations so you can read the formula back
LET gives a name to an intermediate calculation, then uses it as many times as needed. The Tranche de retard column, written with IFS in the lesson “Getting Copilot to write a formula, from SUMIFS to XLOOKUP”, calculates $K$1-[@Échéance] four times. Its LET version calculates it once, calls it “retard”, and reads like a business rule. The result is identical row by row: F26-0942, 66 days overdue, falls into “Plus de 60 j”; F26-1054, due on 19 November 2026, stays “Non échue”.
The formula to paste into the Tranche column of the Relances table (LET version)Text
=LET(retard;$K$1-[@Échéance];SI([@[Reste dû]]=0;"Soldée";SI(retard<=0;"Non échue";SI(retard<=30;"1 à 30 j";SI(retard<=60;"31 à 60 j";"Plus de 60 j")))))
This formula returns a single value per row, so it belongs in a table column, unlike FILTER. Checks: Over 60 days 864.00; 31 to 60 days 1,750.40; 1 to 30 days 4,228.80; Not yet due 351.00; four invoices paid in full.
Checking a list that changes
A dynamic formula is checked once when you write it, using the five checks from lesson 4, then at a glance each time you use it. The two most useful here: the control recalculation (the list total equals the source table total, since settled invoices count as zero) and the edge case (on a copy of the file, set every Outstanding amount to zero and see what the list shows). Our view: a list that goes to the phone or to the accountant without this empty-case test has not been checked.
Sandrine’s Monday morning
8 h 30Payments entered
The week’s bank transfers go into the Réglé column.
8 h 32The list updates itself
F26-1010, paid by C-120, drops off the To chase sheet.
8 h 35Check calculation
Total of the list compared with SUM(Reminders[Outstanding]).
9 hCalls
Starting with F26-0942, 66 days overdue.
11 h 30Follow-up
Last reminder updated for each customer reached.
Head of sales administration and accounts at the distributor in Mérignac, 18 employees.
Mistakes to avoid
Pasting the FILTER formula into a new column of the source table, “so everything is in one place”.
Spilled array formulas aren’t supported in Excel tables: the cell shows #SPILL! and nothing is displayed.
Put the list on a separate sheet (À relancer, À commander) or to the right of the table, with an empty column between the two, and say so in your request to Copilot.
Totalling the list with a fixed range, =SUM(G2:G11), noted on the day the formula was written.
The list has 10 rows today and 12 next month: the total ignores the new rows, or adds up empty cells when the list gets shorter, with no warning at all.
Use the spill operator: =SUM(INDEX(A2#,0,7)), and compare it each week with SUM(Reminders[Balance due]).
Accepting a formula that works today without testing the day nothing matches the filter.
Without a third argument, FILTER returns #CALC! when the list is empty; with SORT by column number, the fallback text causes an error. The sheet breaks on the best day of the year: the day everything is paid.
Ask Copilot what the formula shows if nothing matches, then check it on a copy by clearing the condition. Keep the LET version with SORTBY for a sorted list.
Let Copilot wrap the list in an IFERROR that displays “Rien à relancer” for any error.
An error in the source table (an #N/A in Outstanding after a broken XLOOKUP) makes the list show “Nothing to chase” while invoices are waiting: the error is hidden instead of being fixed.
Keep the fallback text for the empty case, using FILTER’s third argument, and let other errors show: they point to data that needs fixing.
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 maintenance contracts due for renewal at a fire safety company
Nadia is a sales assistant at a 45-employee company in Mérignac that inspects fire extinguishers and smoke extraction systems. Her Contrats table has 312 rows (Client, Site, Fin de contrat, Montant annuel HT, Commercial). Every month she filters by hand the contracts expiring within 60 days to alert the sales reps, and regularly misses some.
Renewal tracking before and after
Before
Manual filter on 312 rows
List copied into an email
Contracts missed when the filter is set wrongly
After
A date in B1, a formula in A2
Summary by sales rep in G2
Row count checked with COUNTIFS
Request 1
On the To renew sheet, in A2, write a formula that lists the rows of the Contracts table where Contract end falls between the date in B1 (excluded) and B1 + 60 days (included), sorted by Contract end in ascending order.
Data: Contracts table, columns Customer, Site, Contract end, Annual amount excl. VAT, Sales rep; reference date in B1 on the To renew sheet.
Rules: structured references; if no contract qualifies, show “No renewals”; do not use TODAY().
Explain the formula and say what it shows if B1 is empty.
Model answer
=LET(end,Contracts[Contract end],keep,(end>$B$1)*(end<=$B$1+60),SORTBY(FILTER(Contracts,keep,"No renewals"),FILTER(end,keep,0),1))
LET names the date column “end” and the double condition “keep”: the multiplication (*) acts as AND, so a row is kept only if both conditions are TRUE. SORTBY orders the kept contracts by end date. If B1 is empty, Excel reads it as 0 (00/01/1900): the formula keeps no rows and displays “No renewals”. Assumption: the Contract end column contains real dates.
Nadia notices that the answer handles B1 being empty: it’s a trap, as the list shows “Aucun renouvellement” when the date is missing. She adds data validation to B1 so that it only accepts a date.
Request 2
In G2, add the list of sales reps in the A2# list, without duplicates and in alphabetical order; in H2, the number of contracts each has to renew; in I2, their total annual amount excl. VAT. Explain how you build on A2#.
Model answer
G2: =SORT(UNIQUE(INDEX(A2#,0,5)))
H2: =COUNTIFS(INDEX(A2#,0,5),G2#)
I2: =SUMIFS(INDEX(A2#,0,4),INDEX(A2#,0,5),G2#)
INDEX(A2#,0,5) takes the whole fifth column of the list (Sales rep), INDEX(A2#,0,4) the fourth (Annual amount excl. VAT). All three formulas follow the size of the A2# list.
Nadia checks that SUM(H2#) equals ROWS(A2#): every contract on the list is assigned to a sales rep. The summary goes out to the sales reps on the first Monday of the month.
What was checked before sending
Control recalculation: COUNTIFS on the Contrats table with both date limits gives the same number of rows as ROWS(A2#).
Edge case: a contract ending exactly on B1 + 60 days is in the list; a contract ending on B1 is not.
Business reading: Nadia recognises the three largest amounts on the list, and they match real customers in the portfolio.
Order of magnitude: half an hour of filtering and copying each month replaced by a one-minute check, and no more contracts passing their end date without a reminder.
Example 2
Trainees without a certificate at a training provider
Romain is a training coordinator at an 8-person logistics training provider in Talence. His Inscriptions table (Session, Stagiaire en code, Fin de session, Présence en %, Attestation envoyée) has 140 rows for the autumn. Before each month-end close, the funding body requires every completed session to have its certificates sent.
Romain’s month-end close
1Closing date in B1
Entered on the last day of the month.
2FILTER list
Completed sessions, certificate not sent.
3Sessions without duplicates
UNIQUE on the first column.
4Sending certificates
Then “Oui” entered: the row leaves the list.
Request 1
In A2 on the Close sheet, list the rows of the Enrolments table where Session end is on or before the date in B1 and the Certificate sent column is “No”, sorted by Session.
Data: Enrolments table; columns Session, Trainee, Session end, Attendance %, Certificate sent.
Rules: structured references; empty case: “Everything sent”.
Explain the formula.
Model answer
=LET(keep,(Enrolments[Session end]<=$B$1)*(Enrolments[Certificate sent]="No"),SORTBY(FILTER(Enrolments,keep,"Everything sent"),FILTER(Enrolments[Session],keep,0),1))
Multiplying the two conditions keeps the rows where both are true. SORTBY orders these rows by session name.
Romain tests it: 9 rows. He counts 11 by hand. Two rows have “non” in lower case with a trailing space: the comparison with “Non” ignores case, but not the space.
Request 2
Two rows contain “No” followed by a space in Certificate sent. Change the formula to ignore leading and trailing spaces, without touching the table. Then, in G2, give the list of affected sessions without duplicates.
Model answer
A2: =LET(keep,(Enrolments[Session end]<=$B$1)*(TRIM(Enrolments[Certificate sent])="No"),SORTBY(FILTER(Enrolments,keep,"Everything sent"),FILTER(Enrolments[Session],keep,0),1))
G2: =UNIQUE(INDEX(A2#,0,1))
TRIM removes extra spaces from each value before the comparison; Excel’s text comparison is not case-sensitive.
11 rows, 4 sessions. Romain also corrects the two cells at source and adds a Yes / No drop-down list to the column.
What was checked before sending
Manual count on one session: the 11 rows in the list match the 11 trainees without a certificate.
Edge case: a session ending exactly on the date in B1 does appear in the list.
Business reading: no certificate is due to a trainee with 0% attendance; Romain checks these rows with the funding body before sending.
Order of magnitude: an hour of cross-checking per close cut to ten minutes, and two forgotten certificates caught in the very first month.
Example 3
A coffee roaster’s order book
Léa runs the administration of a 12-employee coffee roaster in Bruges, Gironde, which supplies cafés, restaurants and delicatessens. Her Commandes table (N°, Client, Produit, Kilos, Date de livraison prévue, Livrée) gets around thirty rows a week. Every morning, the roaster wants the list of products to roast for outstanding deliveries, and the total kilos per product.
The coffee roaster’s sheet
1Orders entered
One row per order, Delivered set to “No”.
2Products without duplicates
SORT, UNIQUE, FILTER in A2.
3Kilos and earliest date
SUMIFS and MINIFS on A2#.
4Delivery made
“Yes” entered: the product is dropped if it has no more orders.
Request 1
In A2 on the Roasting sheet, list, without duplicates and in alphabetical order, the products from orders in the Orders table where Delivered is “No”. In B2, give the total kilos of those undelivered orders for each one. Structured references; empty case: “Nothing to roast”. Explain both formulas.
Model answer
A2: =SORT(UNIQUE(FILTER(Orders[Product],Orders[Delivered]="No","Nothing to roast")))
B2: =SUMIFS(Orders[Kilos],Orders[Product],A2#,Orders[Delivered],"No")
FILTER keeps the products from undelivered orders, UNIQUE removes duplicates and SORT puts them in order. SUMIFS adds up the kilos for each product in A2#, counting only undelivered orders.
Here SORT applies to a single column, so the empty case does return “Nothing to roast” without an error. Léa still checks by setting every order to “Yes” on a copy.
Request 2
Add a formula in C2 that shows, for each product in A2#, the earliest planned delivery date among undelivered orders, and format it as a short date.
Model answer
C2: =MINIFS(Orders[Planned delivery date],Orders[Product],A2#,Orders[Delivered],"No")
MINIFS returns the earliest date that meets both conditions, for each product in the list. Column C formatted as Short Date.
The roaster now sorts the day by date: the Ethiopian mocha due for delivery tomorrow comes before the house blend scheduled for Thursday.
What was checked before sending
Control recalculation: SUM(B2#) equals SUMIFS(Commandes[Kilos],Commandes[Livrée],"Non").
Edge case: an order entered as “no” in lower case is counted (the comparison ignores case); a blank Delivered cell is not, so Léa adds a drop-down list.
Business reading: the day’s total, 46 kilos, is consistent with the roaster’s capacity, as the roaster confirms.
Order of magnitude: a quarter of an hour of calculation every morning replaced by a sheet opened at 7am, and no more products forgotten on the delivery round.
The À replanifier list of a maintenance company in Bègles
Julie is a scheduling assistant at a 35-employee heating, air-conditioning and refrigeration maintenance company in Bègles. Every Friday, she copies out by hand the jobs that are not completed and adds up each technician’s hours. With Copilot, build three self-updating formulas on a Summary W46 sheet from the week 46 Schedule table (copied out in full in the level 3 practice of the lesson “Conditional formatting, sorting and filters to highlight what matters”): the list of jobs whose status is not “Completed”, sorted by date; the list of technicians without duplicates, in alphabetical order; and their planned and actual hours. Check each result.
Write the four-part request for the À replanifier list, including the case where everything is complete.
Have Copilot write the list of technicians and the two hours columns that build on it using the # operator.
Check the totals with a control calculation and count the rows by hand.
Test an edge case on a copy: change the status of Sofia’s 13/11 entry to “Done” and watch the list.
Read the result with a business eye: does any row on the list call for a correction to the schedule rather than a rescheduling?
See the answers
The request for the À replanifier list
On the Summary W46 sheet, in A2, write a formula that lists the rows of the Schedule table where Status is not “Completed”, sorted by Date in ascending order.
Data: Schedule table, columns Date to Status.
Rules: structured references; if every job is completed, show “All completed” with no error; do not change the Schedule table.
Explain the formula and say how many rows you expect.
Roughly what you should get
=LET(remaining,Schedule[Status]<>"Completed",SORTBY(FILTER(Schedule,remaining,"Everything completed"),FILTER(Schedule[Date],remaining,0),1)). Two rows expected: Marc, 9 November 2026, Villenave veterinary clinic, In progress; Sofia, 13 November 2026, Talence property manager, Postponed.
The formulas to paste into F2, G2 and H2 of the Synthèse S46 sheetText
F2 spills over four rows: Inès, Marc, Sofia, Yanis. G2 and H2 spill over the same number of rows, in the same order, because they refer to F2#.
The expected result and its checks
Technician
Planned hours
Actual hours
Inès
9
11,5
Marc
19
20
Sofia
6
2,5
Yanis
18
19,5
Inspection
=SUM(G2#): 52
=SUM(H2#): 53.5
The edge case: with Sofia’s status changed to “Terminé” on the copy, the list shows only Marc’s row; change Marc’s too, and the cell displays “Tout est terminé”. The business reading: Marc’s “En cours” row dated 09/11 relates to an installation completed the next day (the 10/11 row, “Terminé”). It isn’t a job to reschedule but a status to update. The formula was right; it was the data that needed correcting, and only someone who knew the job could see that.
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
Product families sold in October, without duplicates
Using the extract from the Sales table below (the Mérignac distributor’s 20 invoices for October 2026, three columns), get Copilot to write, in A2 of a Families sheet, the list of families without duplicates in alphabetical order, then in B2 the amount excl. VAT for each. Work out the number of rows and the total before sending the request.
The request names the Ventes table and the Famille and Montant HT columns
The list contains 5 product families, from Emballages to Vaisselle
B2 refers to A2#, not a fixed range
The total of B2# is €8,071.00 excl. VAT
See the answers
The request
In A2 on the Categories sheet, write a formula that lists the values in the Category column of the Sales table, without duplicates and in alphabetical order. In B2, write a formula that gives the total Amount excl. VAT for each category in A2#. Structured references. Explain both formulas and give the expected number of rows.
Roughly what you should get
A2: =SORT(UNIQUE(Sales[Category])). B2: =SUMIFS(Sales[Amount excl. VAT],Sales[Category],A2#). Five rows: Hygiene, Linen, Packaging, Small equipment, Tableware.
The expected result
Family
Amount excl. VAT
Packaging
714,00
Hygiene
1 992,50
Linen
2 273,50
Small equipment
913,00
Tableware
2 178,00
Total =SUM(B2#)
8 071,00
Level 2 · independent20 min
Karim’s reorder list, with the shortfall quantity
Karim, the buyer at the Mérignac distributor, places his orders on Thursdays. Write the prompt for Copilot that creates, on a To order sheet, the list of items below the minimum threshold (Ref, Description) and, next to it, the quantity needed to get back to the threshold, then the purchase value excl. VAT of that shortfall. Predict the result, then test an edge case on a copy.
The list contains six product references: VA-022, LI-011, HY-002, HY-015, EM-006, PM-009
The shortfall and value columns use exactly the same condition as the list
The total value of the shortfall is €150.60 excl. VAT
The empty case displays text, not an error
The edge case tested is described (for example, HY-015 changed to 40)
See the answers
The request
On the To order sheet:
in A2, a formula that lists the Ref and Description of rows in the Stock table where Stock is below Min threshold, or “Nothing to order” if there are none;
in C2, the shortfall (Min threshold minus Stock) for the same rows;
in D2, the purchase value excl. VAT of that shortfall (shortfall multiplied by Supplier's price excl. VAT).
Structured references, same condition in all three formulas. Explain each formula and give the expected total of D2#.
Roughly what you should get
A2: =FILTER(Stock[[Ref]:[Description]],Stock[Stock]<Stock[Min threshold],"Nothing to order")
C2: =FILTER(Stock[Min threshold]-Stock[Stock],Stock[Stock]<Stock[Min threshold],"")
D2: =FILTER((Stock[Min threshold]-Stock[Stock])*Stock[Supplier''s price excl. VAT],Stock[Stock]<Stock[Min threshold],"")
In a structured reference, an apostrophe in a column name is doubled: Supplier''s price excl. VAT. Excel does this for you if you click the column while typing the formula.
The expected result
Réf
Description
Shortfall
Value excl. VAT
VA-022
Wine glass 19 cl
30
28,50
LI-011
White cotton towel
20
22,00
HY-002
Floor detergent 5 L
3
12,60
HY-015
Nitrile gloves, box of 100
15
46,50
EM-006
Paper cup 25 cl
100
5,00
PM-009
Gastronorm container GN 1/1
2
36,00
Total =SUM(D2#)
150,60
The edge case: on a copy, HY-015 goes up to 40 boxes; the list drops to five rows and the total to €104.10 excl. VAT. A business point: getting back to the threshold isn’t always enough, because stock keeps falling during the supplier’s lead time. The lesson “Conditional formatting, sorting and filtering to bring out what matters” calculates weeks of cover that take this lead time into account.
Level 3 · demanding case35 min
The balance due per customer, sorted and kept up to date automatically
Mathieu, who runs the distributor in Mérignac, wants a summary by customer every Monday: the customers who still owe money, from the largest balance due to the smallest, with their oldest due date and the corresponding delay at 16 November 2026 (date in K1 of the Relances sheet). Get Copilot to write the formulas on a Par client sheet, check them, then test two edge cases: a customer who pays everything off, and a new invoice added to the table.
The list contains seven customers, from C-120 (2,894.40) to C-115 (316.80)
The total of balances due is 7,194.20, matching SUM(Relances[Reste dû])
The oldest due date only takes unpaid invoices into account
The delay is calculated with $K$1 on the Relances sheet, never with TODAY()
Both edge cases are tested on a copy and their effect is described
A one-sentence business reading accompanies the summary
See the answers
The request
On the By customer sheet:
in A2, the list of customers in the Reminders table with at least one invoice whose Balance due is greater than zero, without duplicates, sorted by total balance due in descending order;
in B2, the total balance due for each customer in A2#;
in C2, the oldest due date among their unpaid invoices;
in D2, how many days overdue that due date is relative to the date in K1 on the Reminders sheet.
Structured references, no TODAY(). Explain each formula and give the expected total of B2#.
First edge case, on a copy: C-115 pays F26-1045; C-115 drops off the list and the total falls to 6,877.40. Second case: an invoice F26-1061 from C-101, €400.00, due on 30 November 2026, added at the bottom of the table; the table expands, C-101 rises to 745.60 and moves ahead of C-123. C-123’s negative delay (-3) signals an invoice not yet due: C-123 shouldn’t be chased. Business reading for Mathieu: C-120, a campsite in Lacanau, accounts for 40% of the balance due and has the oldest invoice; it’s the first call of the week.
The summary sentence, in Chat mode
Using columns A to D of the By customer sheet, write three sentences for the managing director: the total balance due, the customer to call first and why, and the customers not to chase this week. Do no new calculations: use the values displayed.
Roughly what you should get
The total balance due is €7,194.20 incl. VAT across seven customers. C-120 should be called first: €2,894.40 owed, including one invoice 66 days overdue. C-123 doesn’t need chasing: its only outstanding invoice falls due on 19 November 2026.
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.