Informazioni sull’esercizio
Un set di dati di 100 righe su un foglio, una cella di risposta, circa 4 minuti. Correzione nel tuo browser: il valore e la formula che lo produce, con indicazioni su cosa sistemare.
Come risolverlo
- 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.
Altri metodi validi
- =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)
Errori comuni
Leaving out the space: =B2&C2 returns "GabrielFlores". The separator must be its own text piece, " ", between the two references.
Come valutiamo
È accettata qualsiasi formula che produce il risultato giusto, a meno che l’attività non indichi una funzione: in quel caso un’altra funzione vale metà dei punti. Confrontiamo i valori con una piccola tolleranza e ignoriamo maiuscole, minuscole e spazi nel testo. Un numero corretto digitato a mano invece di una formula vale metà dei punti. Le attività su più celle valgono il punteggio pieno con il 100% delle celle giuste, metà dei punti dal 50%. Dove serve, cambiamo anche una cella di input su una copia del tuo foglio e controlliamo che la formula si aggiorni.
Risposte calcolate con le regole di Excel 365 e verificate nel nostro correttore in data 16 novembre 2026. Autore: GridBelt team.