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. Merge and wrap

Number formats practice: currency and dates on a transaction export

  • Iniciante
  • ~4 min
  • Merge and wrap

Enunciado em inglês

An accounting system exported 100 transactions, but the file lost its formatting: the Date column shows serial numbers such as 46024 instead of dates, and amounts such as 1007.54 have no currency sign or thousands separator. The values are correct — only their display is wrong. Format B2:B101 as dates (yyyy-mm-dd) and E2:E101 as currency with two decimals so the statement can be reviewed.

O que você precisa fazer

  1. 1Select B2:B101 (click B2, then Ctrl+Shift+↓ / ⌘+Shift+↓).
  2. 2Open Format Cells (Ctrl+1 on Windows, ⌘1 on Mac), pick Date, and choose the yyyy-mm-dd pattern (under Custom if your locale does not list it). The serial numbers turn into 2026 dates.
  3. 3Select E2:E101 and apply Currency with 2 decimal places and the $ symbol — Format Cells → Currency, or Ctrl+Shift+$ (Windows) or Control+Shift+$ (Mac).
  4. 4Check: B2 now reads 2026-01-02 and the amounts show a $ sign, thousands separators and exactly two decimals.

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 verificadoFormat the Date column B2:B101 as dates using the yyyy-mm-dd pattern.
  2. Não verificadoFormat the Amount column E2:E101 as currency with two decimals and a thousands separator ($#,##0.00).

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 100 linhas em uma planilha, 2 células de resposta, cerca de 4 minutos. Corrigido no seu navegador: o valor e a fórmula por trás dele, com feedback que mostra o que corrigir.

Como resolver

    Excel stores every date as a plain number — the count of days since 30 December 1899 — so 46024 and 2026-01-02 are the same value shown two ways. A number format only changes the display: applying a date format makes the serial readable, and the currency format adds the $ sign, the thousands separator and a fixed two decimals without rounding the stored amount. Because nothing was retyped, every total or lookup built on these cells keeps working.

    Pitfall 1: typing the dates in by hand or pasting them as text would turn them into strings — SUM, sorting and date arithmetic break; formats preserve the numeric values. Pitfall 2: Currency versus Accounting — Accounting aligns the $ signs on the left and shows zeros as dashes; both are "currency" to a reader, but a test that asks for the Currency format means the $ next to the number. Pitfall 3: a format with 2 decimals does not round the value; =E2*1 still carries 1234.567. Use ROUND when cents must be exact in totals. Regional settings: m/d/yyyy in the US is d/m/yyyy in the UK and most of Europe; yyyy-mm-dd (ISO 8601) is unambiguous and sorts correctly as text, which is why data teams prefer it. Shortcuts: Ctrl+Shift+# applies the default date format, Ctrl+Shift+$ the currency format, Ctrl+Shift+! the thousands format; Format Painter copies a format from one range to another.

    Outras formas que funcionam

    • Home → Number group → drop-down → Short Date / Currency — the one-click presets (then adjust decimals with the Increase/Decrease Decimal buttons)
    • Ctrl+Shift+# for dates and Ctrl+Shift+$ for currency (Windows and Mac) — keyboard-only
    • Format Cells → Custom with codes like dd-mmm-yyyy or $#,##0.00;[Red]-$#,##0.00 — when the preset is not exactly what the report needs

    Erros comuns

    Retyping the serial numbers as text dates ("2026-03-14"). Text dates look right but will not sort chronologically, cannot be subtracted and are ignored by date functions. Change the format instead.

    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 test in 7 days, Plano do nível 1Dia 5
    • Excel test in 7 days, Plano do nível 3Dia 2
    • Excel for Data AnalystsDia 1

    Exercícios relacionados

    • Merge and center the title; wrap header textIniciante, ~4 min
    • Share of total per region, formatted as %Iniciante, ~5 min
    • Year-over-year % changeIniciante, ~4 min
    • Freeze the header row of a long exportIniciante, ~3 min

    Referência da função

    Documentação oficial

    Próximo exercício

    Sort by Region, then Sales descending