Sobre este exercício
Um conjunto de dados de 100 linhas em uma planilha, uma célula 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
- D2
=B2&" "&C2
Joining text is called concatenation: the & operator (or the CONCAT function) returns the pieces written one after another, so =B2&" "&C2 yields the first name, then a space, then the last name. The space has to be a text literal in quotation marks — without it the names run together as one word. Because B2 and C2 are relative references, filling the formula down shifts them to B3/C3, B4/C4 and so on, producing all 100 full names from one formula.
Pitfall 1: =B2&C2 looks almost right and gives "GabrielFlores" — a missing separator is the most common concatenation error, and it is invisible until someone reads the badge. Pitfall 2: concatenating a number or a date converts it to plain text and drops its formatting (a start date becomes 46205); wrap such values in TEXT(F2,"yyyy-mm-dd") first. Pitfall 3: stray spaces in the source ("Olivia " with a trailing blank) survive concatenation and produce double spaces — clean the inputs with TRIM when the export is dirty. CONCAT (Excel 2019 and 365) replaces CONCATENATE and additionally accepts ranges (=CONCAT(B2:C2) joins both cells with no separator); CONCATENATE still works everywhere for compatibility. TEXTJOIN(" ",TRUE,B2:C2) is the range-friendly form with a delimiter and skips empty cells — useful when a middle-name column is often blank. For "Last, First" sorting lists, swap the order: =C2&", "&B2.
Outras formas que funcionam
- =CONCAT(B2," ",C2) — the function form (Excel 2019 and 365)
- =CONCATENATE(B2," ",C2) — legacy function, works in every version
- =TEXTJOIN(" ",TRUE,B2:C2) — delimiter once, skips blanks (Excel 2019 and 365)
Erros comuns
Leaving out the space: =B2&C2 returns "GabrielFlores". The separator must be its own text piece, " ", between the two references.
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.