Pular para o conteúdo
GridBelt
  • Teste de Excel
  • Prática
  • Programas
  • Preços
Entrar
Começar o teste gratuito
  • Teste de Excel
  • Prática
  • Programas
  • Preços
EntrarCriar conta
Começar o teste gratuito
GridBelt

Pratique Excel no seu navegador.

Teste de Excel

  • Nível 1: Iniciante
  • Nível 2: Intermediário
  • Nível 3: Avançado
  • Teste de Excel em 7 dias
  • Ranking
  • Teste de Excel para entrevista
  • Avaliação de Excel da Indeed

Prática

  • Todos os exercícios
  • Programas
  • Para iniciantes

Guias

  • Fórmulas do Excel
  • Atalhos do Excel

Empresa

  • Sobre nós
  • Preços
  • Como corrigimos

© GridBelt. Todos os direitos reservados.

  • Política de Privacidade
  • Termos de Uso
  • Política de Reembolso

Excel é uma marca comercial da Microsoft Corporation. Indeed, TestGorilla, SHL e outras marcas pertencem aos seus respectivos proprietários. O GridBelt é um site de prática independente e não tem afiliação com Microsoft, TestGorilla, SHL ou Indeed, nem é endossado ou patrocinado por eles.

  1. Prática
  2. /
  3. Absolute references

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

  • Iniciante
  • ~7 min
  • Absolute references

Enunciado em inglês

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.

O que você precisa fazer

  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.

Células de resposta

Correção

Digite sua fórmula na grade, pressione Enter e depois clique em Verificar. Avaliamos o valor de cada célula de resposta e a fórmula por trás dele.

Tarefas

  1. Não verificadoFill 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.

Recomendamos um computador para as tarefas de planilha. A planilha rola dentro desta caixa.

StartInsertFormulasDataView
A1fxPreparando sua pasta de trabalho…
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

Digite sua fórmula na planilha e depois verifique.

Sobre este exercício

Um conjunto de dados de 12 linhas em uma planilha, uma célula de resposta, cerca de 7 minutos. Corrigido no seu navegador: o valor e a fórmula por trás dele, com feedback que mostra o que corrigir.

Como resolver

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

Outras formas que funcionam

  • =$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

Erros comuns

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.

Como corrigimos

Qualquer fórmula que produza o resultado certo é aceita, a menos que a tarefa cite uma função: nesse caso, outra função vale metade da pontuação. Comparamos os valores com uma pequena tolerância e ignoramos maiúsculas e espaços no texto. Um número certo digitado à mão em vez de uma fórmula vale metade da pontuação. Tarefas com várias células valem a pontuação integral com 100% das células certas e metade a partir de 50%. Quando faz diferença, também mudamos uma célula de entrada em uma cópia da sua planilha e verificamos se sua fórmula acompanha.

Respostas calculadas com as regras do Excel 365 e verificadas no nosso corretor em 15 de novembro de 2026. Autor: GridBelt team.

Nestes programas

  • Excel for Data AnalystsDia 1
  • Excel for Sales and MarketingDia 1
  • Excel for Accounting and BookkeepingDia 1

Exercícios relacionados

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

Referência da função

Documentação oficial

Próximo exercício

Share of total per region, formatted as %