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. Date functions

NETWORKDAYS practice: working days to resolve 150 support tickets

  • Intermediário
  • ~7 min
  • Date functions

Enunciado em inglês

The support team's SLA is measured in working days, not calendar days. The Tickets sheet lists 150 tickets closed in 2026 with the date each was opened and resolved; 18 arrived on a weekend and 6 were closed the same day. The Holidays sheet holds the 12 company holidays of 2026, and 28 tickets were open across at least one of them. Count the working days from the opened date to the resolved date (both days included) in F2:F151, excluding weekends and the holidays.

O que você precisa fazer

  1. 1Click F2 on the Tickets sheet and type =NETWORKDAYS(D2,E2, — then switch to the Holidays sheet and select A2:A13. Press F4 (Windows) or ⌘T (Mac) so it reads Holidays!$A$2:$A$13, close the bracket and press Enter.
  2. 2F2 shows 3 for TCK-24001 (opened 2026-01-05, resolved 2026-01-07): 3 calendar day(s), of which only 3 are working days.
  3. 3Fill F2 down to F151 (double-click the fill handle, or select F2:F151 and press Ctrl+D / ⌘D). Because the holiday range is locked with $, every row still reads the same list.
  4. 4Spot-check: a ticket opened and resolved on the same weekday shows 1 (both ends count), one opened on a Saturday and resolved on the Sunday shows 0.

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 verificadoIn F2, use NETWORKDAYS to count the working days from the opened date (D2) to the resolved date (E2), both included, skipping weekends and the holidays listed in Holidays!A2:A13; then fill down to F151.

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 162 linhas em 2 planilhas, 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

  • F2=NETWORKDAYS(D2,E2,Holidays!$A$2:$A$13)

NETWORKDAYS(start, end, holidays) counts the days from the start date to the end date that are not Saturdays, Sundays or dates in the holidays list — both the start and the end day are included, so a ticket opened and closed on the same Tuesday counts as 1. The holidays argument is optional, but leaving it out silently over-counts every ticket that was open across a holiday; the list on its own sheet is what keeps the number honest. Locking that range as Holidays!$A$2:$A$13 lets the same formula fill down 150 rows.

Pitfall 1: forgetting the third argument — 122 rows still come out right, which is why the mistake survives review; the grader catches it because 28 rows differ. Pitfall 2: "inclusive" counting — NETWORKDAYS gives 1 for same-day resolution and 5 for Monday to Friday; if the SLA counts elapsed working days instead, subtract 1 (and guard same-day tickets with MAX(0,…)). Pitfall 3: a start date after the end date returns a negative count rather than an error; a text date in the holiday list is ignored silently, so keep that column as real dates. NETWORKDAYS.INTL(start,end,weekend,holidays) handles other weekends: 7 for Friday–Saturday, "0000011" as a 7-character string for a custom pattern; the plain function always assumes Saturday and Sunday. WORKDAY is the inverse: WORKDAY(D2,5,holidays) returns the due date five working days after the opening date — the usual way to compute an SLA deadline. Whole-column references (Holidays!A:A) work and survive additions to the list, but a named range (Formulas → Define Name → Holidays2026) reads better and is less error-prone than a hard-coded $A$2:$A$13.

Outras formas que funcionam

  • =NETWORKDAYS.INTL(D2,E2,1,Holidays!$A$2:$A$13) — same result; 1 = Saturday/Sunday weekend
  • =NETWORKDAYS(D2,E2,Holidays!A:A) — whole-column holiday reference, grows with the list
  • =NETWORKDAYS(D2,E2,Holidays!$A$2:$A$13)-1 — elapsed working days, if your SLA excludes the opening day

Erros comuns

Omitting the holidays: =NETWORKDAYS(D2,E2) matches the answer for 122 tickets and is one or two days too high for the 28 tickets that were open across a company holiday.

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 16 de novembro de 2026. Autor: GridBelt team.

Nestes programas

  • Excel test in 7 days, Plano do nível 3Dia 3
  • Excel for Data AnalystsDia 7
  • Excel for Administrative AssistantsDia 9

Exercícios relacionados

  • Days to deadline and tenure in years (TODAY, DATEDIF)Iniciante, ~6 min
  • Invoice due dates with EOMONTH and EDATEIntermediário, ~6 min
  • Turn text dates into real dates and group by monthAvançado, ~12 min

Referência da função

Documentação oficial

Próximo exercício

Turn text dates into real dates and group by month