Skip i'r prif gynnwys

Sut i wylio a dychwelyd rhes gyfan / gyfan o werth cyfatebol yn Excel?

Fel rheol, gallwch wylio a dychwelyd gwerth paru o ystod o ddata trwy ddefnyddio'r swyddogaeth Vlookup, ond, a ydych erioed wedi ceisio dod o hyd i'r rhes gyfan o ddata a'i dychwelyd yn seiliedig ar feini prawf penodol fel y dangosir y llun a ddangosir.

Vlookup a dychwelyd data rhes gyfan / cyfan o werth cyfatebol â fformiwla

Vlookup a dychwelyd data rhes gyfan / cyfan o werth wedi'i gydweddu â fformiwla arae


Vlookup a dychwelyd data rhes gyfan / cyfan o werth cyfatebol â fformiwla

I gael y data rhes gyfan o werth cyfatebol, defnyddiwch y fformiwla ganlynol:

Rhowch y fformiwla hon: = VLOOKUP ($ F $ 2, $ A $ 1: $ D $ 12, COLUMN (A1), ANWIR) i mewn i gell wag lle rydych chi am gael y canlyniad, er enghraifft, H1, ac yna llusgwch y fformiwla i'r dde (o H2 i K2), a byddwch chi'n cael y data rhes gyfan rydych chi ei eisiau. Gweler y screenshot:

Nodyn: Yn y fformiwla uchod, F2 yw'r gwerth edrych rydych chi am ddychwelyd y rhes gyfan yn seiliedig ar, A1: D12 yw'r ystod ddata rydych chi am ei defnyddio, A1 yn nodi'r rhif colofn cyntaf o fewn eich ystod ddata.


Vlookup a dychwelyd data rhes gyfan / cyfan o werth wedi'i gydweddu â fformiwla arae

Ac eithrio'r fformiwla uchod, dyma fformiwla arae arall a all hefyd eich helpu chi.

1. Dewiswch y celloedd lle rydych chi am allbwn canlyniad y rhes gyfan, yna nodwch y fformiwla arae hon: = VLOOKUP (F2, $ A $ 2: $ D $ 12, {1,2,3,4}, ANWIR) i mewn i'r bar fformiwla, gweler y screenshot:

2. Ac yna pwyswch Ctrl + Shift + Enter allweddi gyda'i gilydd, fe gewch y rhes gyfan o'r gwerth cyfatebol, gweler y screenshot:

Nodyn: Yn y fformiwla uchod, F2 yw'r gwerth edrych rydych chi am ddychwelyd y rhes gyfan yn seiliedig ar, A2: D12 yw'r ystod ddata rydych chi am ei defnyddio, 1,2,3,4 yw'r rhif colofn rydych chi am ddychwelyd ei werth cyfatebol.


Os oes gennych ddiddordeb mewn swyddogaeth VLOOKUP yn Excel, Kutools ar gyfer Excel's LOOKUP Super yn cefnogi rhai fformiwlâu Vlookup pwerus i chi, gallwch gwnewch y swyddogaeth Vlookup yn gyflym heb gofio unrhyw fformiwlâu. Cliciwch i lawrlwytho Kutools ar gyfer Excel!

Kutools ar gyfer Excel: gyda mwy na 300 o ychwanegiadau Excel defnyddiol, am ddim i geisio heb unrhyw gyfyngiad mewn 30 diwrnod. Dadlwythwch a threial am ddim Nawr!

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
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