Salt la conținutul principal

Cum să vlookup pentru a returna mai multe coloane din tabelul Excel?

În foaia de lucru Excel, puteți aplica funcția Vlookup pentru a returna valoarea potrivită dintr-o coloană. Dar, uneori, poate fi necesar să extrageți valori potrivite din mai multe coloane, după cum se arată în următoarea captură de ecran. Cum ați putea obține valorile corespunzătoare în același timp din mai multe coloane utilizând funcția Vlookup?

doc vlookup mai multe coloane 1

Vlookup pentru a returna valorile potrivite din mai multe coloane cu formula matrice


Vlookup pentru a returna valorile potrivite din mai multe coloane cu formula matrice

Aici, voi introduce funcția Vlookup pentru a returna valorile potrivite din mai multe coloane, vă rugăm să faceți acest lucru:

1. Selectați celulele în care doriți să puneți valorile potrivite din mai multe coloane, consultați captura de ecran:

doc vlookup mai multe coloane 2

2. Apoi introduceți această formulă: =VLOOKUP(G2,A1:E13,{2,4,5},FALSE) în bara de formule, apoi apăsați Ctrl + Shift + Enter cheile împreună, iar valorile potrivite formează mai multe coloane au fost extrase simultan, vezi captura de ecran:

doc vlookup mai multe coloane 3

notițe: În formula de mai sus, G2 este criteriul pe care doriți să returnați valori, A1: E13 este gama de tabele din care doriți să căutați, numărul 2, 4, 5 sunt numerele de coloane din care doriți să returnați valori.

Cele mai bune instrumente de productivitate de birou

🤖 Kutools AI Aide: Revoluționați analiza datelor pe baza: Execuție inteligentă   |  Generați codul  |  Creați formule personalizate  |  Analizați datele și generați diagrame  |  Invocați funcțiile Kutools...
Caracteristici populare: Găsiți, evidențiați sau identificați duplicatele   |  Ștergeți rândurile goale   |  Combinați coloane sau celule fără a pierde date   |   Rundă fără Formula ...
Super căutare: VLookup cu mai multe criterii    VLookup cu valori multiple  |   VLookup pe mai multe foi   |   Căutare fuzzy ....
Listă derulantă avansată: Creați rapid o listă derulantă   |  Listă drop-down dependentă   |  Listă derulantă cu selectare multiplă ....
Manager de coloane: Adăugați un număr specific de coloane  |  Mutați coloanele  |  Comutați starea vizibilității coloanelor ascunse  |  Comparați intervale și coloane ...
Caracteristici prezentate: Focus pe grilă   |  Vedere de proiectare   |   Big Formula Bar    Manager registru de lucru și foi   |  Biblioteca de resurse (Text automat)   |  Data Picker   |  Combinați foi de lucru   |  Criptare/Decriptare celule    Trimiteți e-mailuri după listă   |  Super Filtru   |   Filtru special (filtrează bold/italic/barat...) ...
Top 15 seturi de instrumente12 Text Instrumente (Adăuga text, Eliminați caractere,...)   |   50+ Diagramă Tipuri de (Gantt Chart,...)   |   40+ Practic Formule (Calculați vârsta pe baza zilei de naștere,...)   |   19 inserare Instrumente (Introduceți codul QR, Inserați imaginea din cale,...)   |   12 Convertire Instrumente (Numere la cuvinte, conversie valutara,...)   |   7 Merge & Split Instrumente (Rânduri combinate avansate, Celule divizate,...)   |   ... și altele

Îmbunătățiți-vă abilitățile Excel cu Kutools pentru Excel și experimentați eficiența ca niciodată. Kutools pentru Excel oferă peste 300 de funcții avansate pentru a crește productivitatea și a economisi timp.  Faceți clic aici pentru a obține funcția de care aveți cea mai mare nevoie...

Descriere


Fila Office aduce interfața cu file în Office și vă face munca mult mai ușoară

  • Activați editarea și citirea cu file în Word, Excel, PowerPoint, Publisher, Access, Visio și Project.
  • Deschideți și creați mai multe documente în filele noi ale aceleiași ferestre, mai degrabă decât în ​​ferestrele noi.
  • Vă crește productivitatea cu 50% și reduce sute de clicuri de mouse pentru dvs. în fiecare zi!
Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how can i search for multiple lookup value?for eg: these two arrays shows diff freq coumn,gain,veritcal BW,tolerance etc.I want to get an average values gain and 3db BW..how can i enter the formula
y1    1800    7.5dBi +/- 2.9    22.1° +/- 6.8        7.5
y1    1900    7.6dBi +/- 3.0    18.9° +/- 3.6        7.6
y1    2100    6.7dBi +/- 2.6    17.7° +/- 3.6        6.7
y1    AWS    7.2dBi +/- 2.8    20.4° +/- 9.4        7.2
y1    2300    8.3dBi +/- 3.6    15.8° +/- 1.6        8.3
y1    2600    7.9dBi +/- 2.4    17.1° +/- 1.7        7.9
y2    1800    6.9dBi +/- 1.4    27.1° +/- 10.8        6.9
y2    1900    6.9dBi +/- 1.5    23.0° +/- 12.5        6.9
y2    2100    7.6dBi +/- 2.3    21.7° +/- 19.6        7.6
y2    AWS    8.0dBi +/- 2.5    23.3° +/- 13.8        8
y2    2300    7.7dBi +/- 1.6    15.9° +/- 5.9        7.7
y2    2600    6.5dBi +/- 2.3    14.5° +/- 3.9        6.5
This comment was minimized by the moderator on the site
I have many rows with same value but need to get multiple value after look up, I need to get two different EO ref , how can U##TRX EO
HXPRE-MQ1371 AB0024822
HXPRE-MQ1371 AB0024822
This comment was minimized by the moderator on the site
Thank you!! The { } of the columns is what I was missing. Appreciate this page!
This comment was minimized by the moderator on the site
Thanks! Super helpful, when other online options weren't
This comment was minimized by the moderator on the site
What if you need to have multiple rows as well? Ex. find all the FF-1006-18 rows while still only bringing back column B, D, and E.
This comment was minimized by the moderator on the site
Hello, Shelly,
Maybe there is not a direct formula for helping you, but, you can apply the below array fromula to get all matching values from the entire row, and then delete or hide the unwanted column as you need.
=INDEX($A$2:$E$10, SMALL(IF($G$2=$A$2:$A$10, ROW($A$2:$A$10)-MIN(ROW($A$2:$A$10))+1, ""), ROW(B1)),COLUMN(B1))
Then press Ctrl + Shift + Enter keys to get the first cell and then drag the fill handle to right and then drga down to get all corresponding values.

Please try, hope it can help you!
This comment was minimized by the moderator on the site
Thanks! This was really Helpful!
This comment was minimized by the moderator on the site
This method does not work. Even if it did, it is not the proper method.
Example of correct method is:
VLOOKUP($A2:$A1093, '[Workbook1.xlsx]Sheet2'!$A$2:$D$111,COLUMN(G2),FALSE)

Make sure you add $ before the column letter of your lookup reference to make sure it remains static, once done, using the filler button on the selected target cell, drag right to the corresponding number of columns.
This comment was minimized by the moderator on the site
This comment is exactly what I needed
This comment was minimized by the moderator on the site
How can I do this using 2 different spread sheets?
This comment was minimized by the moderator on the site
Hello, Lana,
The above formula in this article also can help you to get the results in another worksheet, you just need to change the cell reference as follows:
=VLOOKUP(A1,Sheet1!A1:E13,{2,4,5},FALSE)
Please remember to press Ctrl + Shift + Enter keys together to get the correct results.
This comment was minimized by the moderator on the site
NOT GETTING MULTIPLE COLUMN I'M GETTING ONLY ONE COLUMN VALUE
This comment was minimized by the moderator on the site
Hi, HARI,
To apply this formula, first, you should select the multiple cells where you want to output the results, and then copy the formula into the formula bar, then press Ctrl + Shift + Enter keys together to get the results.
Please try, hope it can help you!
This comment was minimized by the moderator on the site
This is great. How do I carry this formula down if I have 10,000 rows? I've tried a few ways but of course it's changing the formula on me.
This comment was minimized by the moderator on the site
Hi, Scully,
To apply this formula to multiple rows, you just need to change the relative cell reference to absolute reference, as this: =VLOOKUP(A1,Sheet1!$A$1:$E$13,{2,4,5},FALSE).
Please try this, hope it can help you!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations