メインコンテンツへスキップ

Excelで一致した値の行全体/行全体をvlookupして返す方法は?

通常、Vlookup関数を使用して、データの範囲から一致する値をvlookupして返すことができますが、次のスクリーンショットに示すように、特定の基準に基づいてデータの行全体を見つけて返すことを試みたことがあります。

Vlookupを実行し、数式を使用して一致した値の行データ全体/全体を返します

Vlookupを実行し、配列数式を使用して一致した値の行データ全体/全体を返します


Vlookupを実行し、数式を使用して一致した値の行データ全体/全体を返します

一致した値の行データ全体を取得するには、次の式を適用してください。

次の式を入力します。 = VLOOKUP($ F $ 2、$ A $ 1:$ D $ 12、COLUMN(A1)、FALSE) 結果を取得する空白のセル(たとえば、H1)に移動し、数式を右(H2からK2)にドラッグすると、必要な行データ全体が取得されます。 スクリーンショットを参照してください:

Note:上記の式では、 F2 は、に基づいて行全体を返すルックアップ値です。 A1:D12 使用するデータ範囲は、 A1 データ範囲内の最初の列番号を示します。


Vlookupを実行し、配列数式を使用して一致した値の行データ全体/全体を返します

上記の式を除いて、ここに別の配列式も役立ちます。

1。 行全体の結果を出力するセルを選択してから、次の配列数式を入力してください。 = VLOOKUP(F2、$ A $ 2:$ D $ 12、{1,2,3,4}、FALSE) 数式バーに、スクリーンショットを参照してください。

2。 そして、 Ctrl + Shift + Enter キーを一緒に使用すると、一致した値の行全体が取得されます。スクリーンショットを参照してください。

Note:上記の式では、 F2 は、に基づいて行全体を返すルックアップ値です。 A2:D12 使用するデータ範囲は、 1,2,3,4 対応する値を返す列番号です。


ExcelのVLOOKUP関数に興味がある場合は、 Kutools for Excel's スーパールックアップ いくつかの強力なVlookup式をサポートします。 のことができます 数式を覚えていなくても、Vlookup関数をすばやく実行できます。 クリックしてKutoolsfor Excelをダウンロードしてください!

Kutools for Excel:300以上の便利なExcelアドインがあり、30日以内に制限なしで無料で試すことができます。 今すぐダウンロードして無料トライアル!

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
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