Vai al contenuto principale

Come visualizzare e restituire l'intera / intera riga di un valore corrispondente in Excel?

Normalmente, puoi vlookup e restituire un valore corrispondente da un intervallo di dati utilizzando la funzione Vlookup, ma, hai mai provato a trovare e restituire l'intera riga di dati in base a criteri specifici come mostrato nella seguente schermata.

Vlookup e restituisce i dati dell'intera / intera riga di un valore corrispondente con la formula

Vlookup e restituisce i dati della riga intera / intera di un valore corrispondente con la formula di matrice


Vlookup e restituisce i dati dell'intera / intera riga di un valore corrispondente con la formula

Per ottenere i dati dell'intera riga di un valore corrispondente, applica la seguente formula:

Inserisci questa formula: = CERCA.VERT ($ F $ 2, $ A $ 1: $ D $ 12, COLONNA (A1), FALSO) in una cella vuota in cui desideri ottenere il risultato, ad esempio H1, quindi trascina la formula verso destra (da H2 a K2) e otterrai l'intera riga di dati che desideri. Vedi screenshot:

Note:: Nella formula sopra, F2 è il valore di ricerca su cui desideri restituire l'intera riga, A1: D12 è l'intervallo di dati che desideri utilizzare, A1 indica il numero della prima colonna all'interno dell'intervallo di dati.


Vlookup e restituisce i dati della riga intera / intera di un valore corrispondente con la formula di matrice

Ad eccezione della formula sopra, ecco un'altra formula di matrice che può aiutarti.

1. Seleziona le celle in cui desideri visualizzare l'intero risultato della riga, quindi inserisci questa formula di matrice: = CERCA.VERT (F2, $ A $ 2: $ D $ 12, {1,2,3,4}, FALSO) nella barra della formula, vedi screenshot:

2. E poi premere CTRL + MAIUSC + INVIO chiavi insieme, otterrai l'intera riga del valore corrispondente, vedi screenshot:

Note:: Nella formula sopra, F2 è il valore di ricerca su cui desideri restituire l'intera riga, A2: D12 è l'intervallo di dati che desideri utilizzare, 1,2,3,4 è il numero di colonna a cui si desidera restituire il valore corrispondente.


Se sei interessato alla funzione CERCA.VERT in Excel, Kutools for Excel's Super CERCA supporta alcune potenti formule Vlookup per te, puoi eseguire rapidamente la funzione Vlookup senza ricordare alcuna formula. Fai clic per scaricare Kutools per Excel!

Kutools for Excel: con più di 300 utili componenti aggiuntivi di Excel, liberi di provare senza limitazioni in 30 giorni. Scarica e prova gratuita ora!

I migliori strumenti per la produttività in ufficio

🤖 Assistente AI di Kutools: Rivoluziona l'analisi dei dati basandosi su: Esecuzione intelligente   |  Genera codice  |  Crea formule personalizzate  |  Analizzare i dati e generare grafici  |  Richiama le funzioni di Kutools...
Funzioni popolari: Trova, evidenzia o identifica i duplicati   |  Elimina righe vuote   |  Combina colonne o celle senza perdere dati   |   Round senza formula ...
Super ricerca: VLookup a criteri multipli    VLookup a valori multipli  |   VLookup su più fogli   |   Ricerca fuzzy ....
Elenco a discesa avanzato: Crea rapidamente un elenco a discesa   |  Elenco a discesa dipendente   |  Elenco a discesa a selezione multipla ....
Gestore di colonna: Aggiungi un numero specifico di colonne  |  Sposta colonne  |  Attiva/disattiva lo stato di visibilità delle colonne nascoste  |  Confronta intervalli e colonne ...
Funzionalità in primo piano: Messa a fuoco della griglia   |  Vista di progettazione   |   Grande barra delle formule    Gestore di cartelle di lavoro e fogli   |  Resource Library (Testo automatico)   |  Date picker   |  Combina fogli di lavoro   |  Crittografa/decrittografa le celle    Invia e-mail per elenco   |  Super filtro   |   Filtro speciale (filtro grassetto/corsivo/barrato...) ...
I 15 migliori set di strumenti12 Testo Strumenti (aggiungi testo, Rimuovi personaggi, ...)   |   50+ Grafico Tipi (Diagramma di Gantt, ...)   |   40+ Pratico Formule (Calcola l'età in base al compleanno, ...)   |   19 Inserimento Strumenti (Inserisci il codice QR, Inserisci immagine dal percorso, ...)   |   12 Conversione Strumenti (Numeri in parole, Conversione di valuta, ...)   |   7 Unisci e dividi Strumenti (Combina righe avanzate, Celle divise, ...)   |   ... e altro ancora

Potenzia le tue competenze di Excel con Kutools per Excel e sperimenta l'efficienza come mai prima d'ora. Kutools per Excel offre oltre 300 funzionalità avanzate per aumentare la produttività e risparmiare tempo.  Fai clic qui per ottenere la funzionalità di cui hai più bisogno...

Descrizione


Office Tab porta l'interfaccia a schede in Office e semplifica notevolmente il tuo lavoro

  • Abilita la modifica e la lettura a schede in Word, Excel, PowerPoint, Publisher, Access, Visio e Project.
  • Apri e crea più documenti in nuove schede della stessa finestra, piuttosto che in nuove finestre.
  • Aumenta la produttività del 50% e riduce ogni giorno centinaia di clic del mouse!
Comments (27)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Vlookup kullandığımda değeri değil n/a şeklinde döndürüyor. rakamın kendisi yazmasini nasıl yapa bilirim ya da neden n/a döndürüyor
This comment was minimized by the moderator on the site
Is it possible to use Index/match formula to do the same thing? And if so, how?
This comment was minimized by the moderator on the site
Hello, Lin,
To solve this task with Index/match formula, please apply the below formula:
=INDEX(B2:E6,MATCH(G2,A2:A6,0),0)

After inserting the formula, please press Ctrl + Shift + Enter keys together, and then drag the fill handle to right to fill the results, see screenshot:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-lookup-entire-row.png

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Excellent work.  I was wondering how to take this a step further and return rows that don't exactly match my criteria.  For example, I have:          a                    b                    c                    d1    2020-23          Jan                 17                  Complete2    2020-24          Jan                 17                  Complete3    2020-24a        Feb                 01                  
This comment was minimized by the moderator on the site
Is there a way to use the third column data to search in and still return the first two columns?
This comment was minimized by the moderator on the site
to get the 4 column to paste first copy the formula and select four cells and paste the formula you will get all 4
This comment was minimized by the moderator on the site
Also, I am unable to set up an account (tried twice and got an error twice) and cannot post a screenshot as a guest.
This comment was minimized by the moderator on the site
I've tried to replicate this table just as you had it but the formula does not work, what gives?
This comment was minimized by the moderator on the site
Hi,

I registered just to say thank you so much! After looking on the internet for hours this is exactly what I needed to see. Perfect explanation.

Thanks,

Jack
This comment was minimized by the moderator on the site
So I am needing some help with Vlookup. Have a table with the following headers (group assignmen, Name, home town, gender, and comments). I am trying to input a value of the group and have it list everyone that is in the group along with the respective data such as the name, home town, gender, and comments associated with row. I am able to produce the first row but I need all the "1", "2",......."15" from the list that is sorted by group assignment not just the fist one from the list. Any help would be much appreciated
This comment was minimized by the moderator on the site
Is there a way to do a vlookup to return entire rows for one lookup value. If there were 4 rows with products titled DDD-4, can you do a search that will display the 4 products and the details in column 1,2,3,4?
This comment was minimized by the moderator on the site
Hello, Claude,
Maybe the below array formula can help you:(Note: after pasting this formula, please press Ctrl + Shift + Enter keys together.)
=IFERROR(INDEX(A:A,SMALL(IF(ISNUMBER(SEARCH($E$2,$A$2:$A$12)),ROW($A$2:$A$12),""),ROW()-1)),"")
After pressing the Ctrl + Shift + Enter keys, then drag the fill handle right to the cells, and then drag the fill hanlde down the cells to get the results.
Please try, hopt it can help you, thank you!
This comment was minimized by the moderator on the site
Is there a way to do this but search across multiple sheets?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations