À propos de cet exercice
Un jeu de données de 12 lignes sur une feuille, une cellule de réponse, environ 7 minutes. Corrigé dans votre navigateur : la valeur et la formule qui la produit, avec des indications sur la correction à apporter.
Comment le résoudre
- B4
=$B$1*$A4*(1-B$3)
A mixed reference locks one half of the address. $A4 keeps the column fixed at A while the row number follows the copy, so every cell reads the quantity of its own row; B$3 keeps the row fixed at 3 while the column letter follows the copy, so every cell reads the discount above it. $B$1 is fully locked because the list price is the same for all 80 cells. One formula therefore produces the whole grid, and changing a quantity, a discount or the list price updates exactly the cells that depend on it.
Pitfall 1: the most frequent error is locking the wrong half — A$4 and $B3 produce a grid whose first row and first column look right and everything else is wrong, which is hard to spot without the robustness check. Pitfall 2: with relative references only (=B1*A4*(1-B3)) the formula works in B4 and breaks everywhere else; with everything absolute it repeats one number 80 times. Shortcut: select the whole grid first, type the formula for the top-left cell and press Ctrl+Enter (⌘+Return) (in Excel; in this practice grid Ctrl/⌘+Enter runs Check) — it fills the selection and keeps relative/mixed parts consistent. Alternatives: in Excel 365 a single array formula =$B$1*A4:A13*(1-B3:I3) in B4 spills all 80 values (two-dimensional broadcasting); =$B$1*$A4-$B$1*$A4*B$3 is algebraically the same as the (1-discount) form but recomputes the gross twice. Modeling note: price grids like this are the standard "two-way data table" pattern; the same reference discipline drives loan tables (rate × term) and sensitivity analyses.
Autres méthodes valables
- =$A4*$B$1*(1-B$3) — same formula, factors reordered
- =$B$1*A4:A13*(1-B3:I3) in B4 — Excel 365 only; one spilling array formula for the whole grid
- =ROUND($B$1*$A4*(1-B$3),2) — rounded to cents; accepted within the grader's half-cent tolerance
Erreurs fréquentes
Writing =$B$1*A4*(1-B3) (quantity and discount left relative) and filling across: in C4 the quantity reference slides to B4 — the cell you just filled — so the row turns into a chain of ever-growing numbers.
Comment nous corrigeons
Toute formule qui produit le bon résultat est acceptée, sauf si la tâche nomme une fonction : une autre fonction rapporte alors la moitié des points. Nous comparons les valeurs avec une petite tolérance et ignorons la casse et les espaces dans le texte. Un nombre correct saisi à la main au lieu d’une formule rapporte la moitié des points. Les tâches sur plusieurs cellules rapportent tous les points avec 100 % de cellules justes, la moitié à partir de 50 %. Lorsque c’est pertinent, nous modifions aussi une cellule d’entrée sur une copie de votre feuille et vérifions que votre formule suit.
Réponses calculées selon les règles d’Excel 365 et vérifiées dans notre correcteur le 15 novembre 2026. Auteur : GridBelt team.