Aller au contenu
GridBelt
  • Test Excel
  • Exercices
  • Programmes
  • Tarifs
Se connecter
Commencer le test gratuit
  • Test Excel
  • Exercices
  • Programmes
  • Tarifs
Se connecterCréer un compte
Commencer le test gratuit
GridBelt

Entraînez-vous sur Excel dans votre navigateur.

Test Excel

  • Niveau 1 : Débutant
  • Niveau 2 : Intermédiaire
  • Niveau 3 : Expert
  • Test Excel en 7 jours
  • Classement
  • Test Excel en entretien d’embauche
  • Évaluation Excel d’Indeed

Exercices

  • Tous les exercices
  • Programmes
  • Pour débutants

Guides

  • Formules Excel
  • Raccourcis Excel

Entreprise

  • À propos
  • Tarifs
  • Comment nous corrigeons

© GridBelt. Tous droits réservés.

  • Politique de confidentialité
  • Conditions d’utilisation
  • Politique de remboursement

Excel est une marque commerciale de Microsoft Corporation. Indeed, TestGorilla, SHL et les autres marques sont la propriété de leurs détenteurs respectifs. GridBelt est un site d’entraînement indépendant ; il n’est affilié ni à Microsoft, ni à TestGorilla, ni à SHL, ni à Indeed, et n’est ni cautionné ni sponsorisé par ces sociétés.

  1. Exercices
  2. /
  3. Absolute references

Mixed reference practice: build a quantity × discount price grid with one formula

  • Débutant
  • ~7 min
  • Absolute references

Énoncé en anglais

A distributor sells a monitor arm at a list price of $249 (cell B1) and quotes volume discounts from 0% to 40%. Sales wants a ready-reckoner: order totals for 10 quantities (column A) across 8 discount levels (row 3). Write one formula in B4 that works in all 80 cells of the grid when filled right and down — this is what mixed references ($A4 and B$3) are for.

Ce que vous devez faire

  1. 1Click B4 and build the formula from three parts: the list price (B1), the quantity on the same row (A4) and the discount at the top of the same column (B3).
  2. 2Lock each part for copying: B1 fully ($B$1), the quantity by column only ($A4) and the discount by row only (B$3). F4 / ⌘T cycles through the four $ variants of a reference.
  3. 3Press Enter, then fill B4 right to I4 with the fill handle, then select B4:I13 and press Ctrl+D / ⌘D to fill the row down to row 13.
  4. 4Spot-check: I13 must read =$B$1*$A13*(1-I$3). Then change B1 and watch all 80 totals move.

Cellules de réponse

Correction

Saisissez votre formule dans la grille, appuyez sur Enter, puis cliquez sur Vérifier. Nous corrigeons la valeur de chaque cellule de réponse et la formule qui la produit.

Tâches

  1. Non vérifiéFill B4:I13 with order totals (list price in B1 × quantity in column A × (1 − discount in row 3)) using one formula with mixed references that you copy across the whole grid.

Ordinateur recommandé pour les tâches dans la feuille de calcul. La feuille défile à l’intérieur de ce cadre.

StartInsertFormulasDataView
A1fxPréparation de votre classeur…
A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1

Saisissez votre formule dans la feuille, puis vérifiez.

À 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.

Dans ces programmes

  • Excel for Data AnalystsJour 1
  • Excel for Sales and MarketingJour 1
  • Excel for Accounting and BookkeepingJour 1

Exercices associés

  • Apply one tax rate to every line ($ reference)Débutant, ~5 min
  • Row totals with the fill handleDébutant, ~4 min
  • Share of total per region, formatted as %Débutant, ~5 min
  • Total revenue with SUMDébutant, ~3 min

Référence de la fonction

Documentation officielle

Exercice suivant

Share of total per region, formatted as %