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

Excelで部分的な文字列の一致を検索する方法は?

たとえば、さまざまなデータがあり、列Eは学生の名前リスト、列FとGは学生のクラスと成績、列Hは学生のスコアのランキングであり、これで次のようになります。 「Jacky」の部分文字列である「Jack」という名前。以下のスクリーンショットに示すように、部分文字列の一致をすばやく検索して「Jacky」のランキングを返すにはどうすればよいですか。
ドキュメントルックアップ部分文字列1

ExcelでのVLOOKUP部分文字列一致


矢印青い右バブル ExcelでのVLOOKUP部分文字列一致

ここに、Excelで部分的な文字列の一致を検索するのに役立つ数式がいくつかあります。

1.空白のセルを選択して、検索する部分的な文字列を入力します。 スクリーンショットを参照してください:
ドキュメントルックアップ部分文字列2

2.ルックアップ値を配置する別のセルを選択し、この数式を入力します = VLOOKUP($ K $ 1& "*"、$ E $ 1:$ H $ 14,4、FALSE)、 押す 入力します 価値を得るための鍵。 スクリーンショットを参照してください:
ドキュメントルックアップ部分文字列3

ヒント:

1.数式で、K1は部分文字列を含むセル、E1:H14はデータ範囲、4は範囲のForth列のルックアップ値を示します。 必要に応じて変更できます。

2.指定された名前と部分的に一致する名前を見つけたい場合は、この式を使用することもできます。 =INDEX($E$2:$E$14,MATCH($K$1&"*",E2:E14,0))。 (E2:E14は検索する列リスト、k1は指定された名前であり、必要に応じて変更できます。)
ドキュメントルックアップ部分文字列4


複数のシートまたはワークブックで値を検索する

通常、ExcelのLOOKUP関数は、アクティブなシートまたはアクティブなブックの値のルックアップのみをサポートします。場合によっては、複数のシートをルックアップしたい場合があります。 ザ・ 複数のシートにまたがるルックアップ エクセル用のKutoolsのあなたが好むでしょう。  クリックすると、30 日間の全機能を無料で試用できます。
ドキュメント変換日
 
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 (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have a scenario to match two column values.

col1 col2
abc-1 abc
def xyz
xyz-1 def
tnt-1 mno
mno-1 tnt

so i would like match the column values partially(eliminate '-1' and match the remaining part).

please advise.

Cheers,
PY
This comment was minimized by the moderator on the site
Re Shakira and Alice's question above - a simple workaround is just to use TRUNC of LEFT formula to truncate the first list. You could shorten it to 8 characters to limit the first list to LOGITECH or even less to cover shorter company names too...
This comment was minimized by the moderator on the site
Would be very helpful if there was a answer to Shakira's question. I have the same issue
This comment was minimized by the moderator on the site
Hi all,
Could you reply to Shakiras comments please. I have the same issue here and I cannot seem to find a feasible solution unless I create a real complex formula which involves creating unnecessary columns.
Thank you!
This comment was minimized by the moderator on the site
Hello.

I was wondering if there's a way to perform the VLOOKUP in the other way around, given that the lookup value may contain more characters than the return value. For example, in your example above, say you have Jacky as the lookup value and Jack in the list, and you want to return all similar names to Jacky. I have a list in which this case is present many times. My lookup value in the first list is a company called logitech europe s.a. and the name on the second list is simply logitech.

Thanks in advance!
This comment was minimized by the moderator on the site
I can't thank you enough, the =INDEX($E$2:$E$14,MATCH($K$1&"*",E2:E14,0)) is a real lifesaver
This comment was minimized by the moderator on the site
I wish you would show us where to find it in Kutools. Great tool when you can find what you need
This comment was minimized by the moderator on the site
Hi, KHill, so far, there is no a featrue in Kutools for Excel can lookup partial match, but soon, we will release some new features about vlook in new version of Kutools, you can try them then.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations