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

 別のグーグルシートから一致する値をvlookupする方法は?

著者:シャオヤン 最終更新日:2017年09月27日

次のXNUMXつのGoogleシートファイルがあるとすると、あるファイルの一致する値を別のファイルからvlookupする必要がありますが、それを完了するための適切な解決策はありますか?

数式を使用して別のGoogleシートからのVlookupマッチング値


数式を使用して別のGoogleシートからのVlookupマッチング値

次の式は、XNUMXつのキー列に基づいて一致する値を抽出するのに役立ちます。次のようにしてください。

1。 次の式を入力します。 =IFERROR(vlookup(A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280","my data!A2:B12"),2,false),) 一致する値をvlookupする空白のセルに入れます。

Note:上記の式では:

  • A2 一致する値をvlookupするセルです。
  • https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280 vlookupするファイルアドレスです。
  • 私のデータ!A2:B12:検索するシート名とセル範囲です。
  • 2:一致した値が返される列番号を示します。

2。 次に、 入力します 最初の結果を取得するためのキー。スクリーンショットを参照してください。

3。 次に、数式セルを選択し、必要に応じて一致する値を抽出するセルまで塗りつぶしハンドルをドラッグします。スクリーンショットを参照してください。

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

🤖 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 (19)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Importrange is working but there is an error "Did not find value " " in vlookup evaluation. I done everything but this error is being persist.
This comment was minimized by the moderator on the site
Hi,

As I look at the above examples in vlookup of two google sheets, I haven't seen the same as what I want my google sheet to be happen.

I have a "Form Responses", the most important for this sheet is the Mem_ID, Month and Amount.

In my other sheet "Sinking Fund 2023", in Members Contribution, I am creating the formula under "Jan1st, Jan2nd, etc." and to be looked up from Form Responses.

If MemID_2022-0001 has a response for Jan1st, the amount should be added in Jan1st column and if it is Jan2nd this should be automatic added in Sinking Fund 2023 google sheet.

Any one knows how to do the formula. This also needs the importrange function since we are using 2 google sheets.

Below are the links of my google sheet.

Deposit and Payments
https://docs.google.com/spreadsheets/d/124atlHALikF_sUt7JhV7WvpZwH7MokTDgdWckip_vPE/edit#gid=1642645643

Sinking Fund 2023
https://docs.google.com/spreadsheets/d/1L6XoVKF6VlwV6Ia7cDj4Ta5cz3nXDuhjoSi0Nwjhy5E/edit#gid=1548046258

Thanks in advance
This comment was minimized by the moderator on the site
Hello everyone,
Can anyone help me how pull date from another sheets using sheet name in cell reference ?

I have day wise data, sheet name are saved as dates from 1st - 31st Ex.01-05-2021

30 days sheets were there so if i want to lookup a value from any sheet am ending formula changing dates! to get values from sheets according to dates


Will that possible? can anyone help me please how to use sheet name in cell reference apply VLOOKUP IMPORTRANGE formula for another sheet


Thanks in advance
This comment was minimized by the moderator on the site
Hi, I tried using the formulae, but my values are returned blank. I do have access to the files as I created two mock sheets to test my formulae.
This comment was minimized by the moderator on the site
Hi, I fill in the same formulae, but my value is returned Blank?
This comment was minimized by the moderator on the site
Esto es lo que necesito, pero entre tabs de un mismo documento.
This comment was minimized by the moderator on the site
Thanks for this! However, this is only working on about half of my items. I have copied the text exactly as it appears and made sure the format type is the same as well. About half of my data is being found, while the other half is empty (due to the iferror formula). has anyone else found this or have a solution?
This comment was minimized by the moderator on the site
You'll need to protect the range from changing on drag on the importrange.

=IFERROR(vlookup(A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280","my data!$A$2:$B$12"),2,false),)

without that, as you drag down the formula it will automaticallyl adjust the range. The second-row cell will be A3:B13 next A4:B14 removing possible matching values from your range. You don't really need the $ in front of the column but I leave it in to freeze the exact column in case I move it around.
This comment was minimized by the moderator on the site
Update for this answer, in my case the syntax should use semicolon instead of comma for working
This comment was minimized by the moderator on the site
Can someone help please. I am getting #N/A as a result. I have even tried to put in the importrange formula in a blank cell but still no luck. I have also tried using the LINK SHARE url instead of the actual URL.


Thanks
This comment was minimized by the moderator on the site
Not working please help.
getting blank cell as result.
This comment was minimized by the moderator on the site
Have you granted access for "importrange" part? If not, you need to put formula "=importrange("link, range") in a blank cell first. Then you will have a pop-up window asking you to grant the access. Now, the full formula should work.
I had exactly the same problem before and found this solution on another website. Hope it works. Good luck.
This comment was minimized by the moderator on the site
Worked now, thanks
This comment was minimized by the moderator on the site
After putting above formula i am getting value as blank and later "You don't have permissions to access that sheet".
- how do i resolve this?
This comment was minimized by the moderator on the site
Thank you for the fix!
This comment was minimized by the moderator on the site
Had the same problem and this solution worked for me too - super, thanks!!
This comment was minimized by the moderator on the site
Thank you so much. It worked for me too!
This comment was minimized by the moderator on the site
Wow, very nice of you to share the solution here... Thanx a lot
This comment was minimized by the moderator on the site
This fixed it for me. Thank you so much! I was tinkering for hours.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations