ChatGPT at work, from the basics to independence
Your progress
0 lesson completed out of 54

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.

Your progress is saved in this browser. Log in to your client area to pick it up on your other devices.

Video transcript

Lesson 45, module 11: Automating what keeps coming back ChatGPT and Excel: getting it to write formulas, pivot tables and simple macros You know what the column should calculate. Who writes the formula? A price to look up in the price list A total per sales rep and per month A clean-up that comes round every Monday ChatGPT writes the formula if you describe the table to it. [Diagram: What ChatGPT needs to know about the table] Your Excel The table The columns Three sample rows The expected result Every missing layer, ChatGPT guesses: often in English, with commas. A precise request gives a formula in French, with its semicolons. Request: Excel Microsoft 365 in French. Ventes table: A Date, B Commercial, D Montant HT. Write the formula for the pre-tax total of [sales rep] in October 2026, then explain each argument. Answer: =SOMME.SI.ENS(Ventes[Montant HT];Ventes[Commercial];H2;Ventes[Date];">="&DATE(2026;10;1);Ventes[Date];"<"&DATE(2026;11;1)), then one line of explanation per criterion. Test a formula on three rows whose result you already know. [Diagram: From question to tested formula] 1. Describe 2. Ask 3. Paste into one cell 4. Test three cases 5. Copy down If a test fails, paste the faulty row back into the conversation with the expected result. RECHERCHEX (XLOOKUP) if your Excel has it, otherwise INDEX and EQUIV (MATCH). Microsoft 365 and recent versions: RECHERCHEX Older versions: INDEX and EQUIV #NOM?: the function doesn't exist in your version A macro can't be undone. Test it on a copy of the file. [Diagram: The risk, from formula to macro] Green: Formula Orange: Pivot table Red: Macro The more the tool acts on the data itself, the more testing on a copy becomes compulsory. The pivot table: ChatGPT tells you where to drag each field. Rows, Columns, Values, Filters Dates grouped by month Refresh after each addition In the exercise, you build the tools for Yann's delivery tracking. A tested delay formula A pivot table by carrier A macro run on a copy Your turn: Delivery tracking for a logistics hub The written course, the worked exercise and the quiz are below the video.

Lesson 45 of 54 · module 11, automating what comes back

ChatGPT and Excel: getting formulas, pivot tables and simple macros written

ChatGPT writes the Excel formula you cannot build yourself: RECHERCHEX, SOMME.SI.ENS, NB.SI.ENS, calculating a delay. Tell it your Excel version, the table and its columns, then test the formula on three rows whose result you already know. It also guides you through a pivot table and writes a simple macro, to be tested on a copy of the file.

  • 37 min of reading
  • 1 min 49 of video
  • 7 diagrams
  • 7 demandes to copy
  • 3 exemples pratiques
  • 4 exercices answerss
  • 5 questions
  • 2 ressources

By the end of this lesson, you will know how to

  • Describe a table to ChatGPT to get a French-language formula that works in your version of Excel
  • Test a formula on three cases with a known result and have it explained before copying it down
  • Install and run a simple VBA macro on a copy of the file, with a check before and after

What’s covered

  1. Describe the table before asking
  2. Recurring formulas
  3. Test before copying down
  4. The pivot table
  5. Simple macros, on a copy
  6. 3 worked examples, followed from start to finish
  7. Exercise with answers · Delivery tracking at a logistics hub
  8. 3 practice exercises, from guided to demanding cases
  9. The quiz

Key points

  • Describe the table before asking: Excel version, language, table name, columns, three rows with no personal data.
  • A formula is pasted into one cell and tested on three cases with a known result before it is copied down.
  • RECHERCHEX when every computer supports it, otherwise INDEX and EQUIV inside a SIERREUR.
  • A pivot table is built on a named table and refreshed before every reading.
  • A macro cannot be undone: copy the file, explain it line by line, note the total before and after.