Vai al contenuto
GridBelt
  • Test Excel
  • Esercizi
  • Programmi
  • Prezzi
Accedi
Inizia il test gratuito
  • Test Excel
  • Esercizi
  • Programmi
  • Prezzi
AccediCrea un account
Inizia il test gratuito
GridBelt

Esercitati con Excel nel tuo browser.

Test Excel

  • Livello 1: Principiante
  • Livello 2: Intermedio
  • Livello 3: Esperto
  • Test Excel in 7 giorni
  • Classifica
  • Test Excel per il colloquio
  • Valutazione Excel di Indeed

Esercizi

  • Tutti gli esercizi
  • Programmi
  • Per principianti

Guide

  • Formule Excel
  • Scorciatoie Excel

Azienda

  • Chi siamo
  • Prezzi
  • Come valutiamo

© GridBelt. Tutti i diritti riservati.

  • Informativa sulla privacy
  • Termini di utilizzo
  • Politica di rimborso

Excel è un marchio di Microsoft Corporation. Indeed, TestGorilla, SHL e gli altri marchi appartengono ai rispettivi proprietari. GridBelt è un sito di esercitazione indipendente e non è affiliato a Microsoft, TestGorilla, SHL o Indeed, né approvato o sponsorizzato da queste società.

  1. Esercizi
  2. /
  3. VLOOKUP

VLOOKUP from another sheet: add the customer tier to every order

  • Principiante
  • ~5 min
  • VLOOKUP

Testo dell’esercizio in inglese

The Orders sheet lists 80 orders from Q3 2026 with the customer name in column C. Loyalty tiers (Gold, Silver, Bronze) live on a separate Customers sheet: 30 accounts, one row each, with the tier in column D. Customer service wants the tier next to every order so they can prioritize Gold accounts — write one lookup on Orders that reaches into the Customers sheet, then fill it down.

Cosa devi fare

  1. 1On the Orders sheet, click E2 and type =VLOOKUP(C2, — the customer name is the value to find.
  2. 2Click the Customers tab, select A2:D31, and press F4 (Windows) or ⌘T (Mac): the formula bar now shows Customers!$A$2:$D$31.
  3. 3Type ,4,FALSE) and press Enter. Excel jumps back to Orders; the tier is the 4th column of the Customers table and FALSE means exact name match.
  4. 4Fill E2 down to E81. Then change a tier on the Customers sheet and watch the matching orders update.

Celle di risposta

Correzione

Scrivi la formula nella griglia, premi Enter, poi Verifica. Valutiamo il valore in ogni cella di risposta e la formula che lo produce.

Attività

  1. Non verificatoOn the Orders sheet, in E2, look up the tier of the customer in C2 from the Customers sheet (A2:D31, exact match) and fill the formula down to E81.

Consigliato il computer per le attività sul foglio di calcolo. Il foglio scorre all’interno di questo riquadro.

StartInsertFormulasDataView
A1fxPreparazione della cartella di lavoro…
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

Inserisci la formula nel foglio, poi verifica.

Informazioni sull’esercizio

Un set di dati di 110 righe su 2 fogli, una cella di risposta, circa 5 minuti. Correzione nel tuo browser: il valore e la formula che lo produce, con indicazioni su cosa sistemare.

Come risolverlo

  • Orders!E2=VLOOKUP(C2,Customers!$A$2:$D$31,4,FALSE)

A reference to another sheet is the sheet name, an exclamation mark and the range: Customers!$A$2:$D$31. VLOOKUP searches the first column of that table for the customer name in C2 and returns the 4th column of the same row, the tier. Nothing is copied: when a customer is upgraded on the Customers sheet, every one of their orders shows the new tier the moment you press Enter.

Pitfall 1: typing the sheet prefix by hand is where errors creep in — click the tab instead; names with spaces need single quotes ('Key accounts'!A2:D31) and Excel adds them for you. Pitfall 2: an exact match is only as good as the spelling. "Summit Foods " with a trailing space or "Summit foods" in a different case: VLOOKUP ignores case, but not spaces — wrap the lookup value in TRIM when exports are messy. Pitfall 3: the customer name is a weak key; two accounts with the same name return the first one found. Real systems look up a customer ID. Alternatives: =XLOOKUP(C2,Customers!$A$2:$A$31,Customers!$D$2:$D$31) (365) or =INDEX(Customers!$D$2:$D$31,MATCH(C2,Customers!$A$2:$A$31,0)); both keep working when a column is inserted into the Customers sheet, VLOOKUP's hard-coded 4 does not. Design note: a lookup column like this is the usual first step before a pivot or a COUNTIF by tier — the tier becomes an attribute of each order row.

Altri metodi validi

  • =XLOOKUP(C2,Customers!$A$2:$A$31,Customers!$D$2:$D$31) — Excel 365, no column counting
  • =INDEX(Customers!$D$2:$D$31,MATCH(C2,Customers!$A$2:$A$31,0)) — INDEX/MATCH, any Excel version
  • =VLOOKUP(C2,Customers!A:D,4,FALSE) — whole-column reference; fine here because the Customers sheet holds nothing else

Errori comuni

Typing =VLOOKUP(C2,$A$2:$D$31,4,FALSE) while still on the Orders sheet: without the Customers! prefix the formula searches the orders themselves and returns #N/A. The sheet prefix is what sends the lookup to the right table.

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.

In questi programmi

  • Excel test in 7 days, Piano di livello 2Giorno 2
  • Excel for Administrative AssistantsGiorno 6
  • Excel for Sales and MarketingGiorno 2

Esercizi correlati

  • Pull the unit price with VLOOKUP (exact match)Principiante, ~5 min
  • Show "Not found" instead of #N/AIntermedio, ~7 min
  • Shipping cost bands with approximate VLOOKUPIntermedio, ~7 min
  • Look left: employee ID by emailEsperto, ~6 min

Guida alla funzione

Documentazione ufficiale

Esercizio successivo

Shipping cost bands with approximate VLOOKUP