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

Excelで最大値を見つけて隣接するセルの値を返す方法は?

doc-get-最大関連値-1 1

次のスクリーンショットに示すようなデータの範囲がある場合、列Aで最大値を見つけ、列Bで隣接するセルの内容を取得する必要があります。Excelでは、いくつかの数式を使用してこの問題に対処できます。

最高値を見つけて、数式で隣接するセルの値を返します

最高値を見つけて選択し、Kutools forExcelで隣接するセルの値を返します


矢印青い右バブル 最高値を見つけて、数式で隣接するセルの値を返します

上記のデータを例にとると、対応するデータの最大値を取得するには、次の式を使用できます。

次の式を入力してください: = VLOOKUP(MAX($ A $ 2:$ A $ 11)、$ A $ 2:$ B $ 11、2、FALSE) 必要な空白のセルに入れて、を押します 入力します 正しい結果を返すためのキー。スクリーンショットを参照してください。

doc-get-最大関連値-2 2

注意:

1.上記の式では、 A2:A11 最大値を知りたいデータ範囲であり、 A2:B11 使用したデータ範囲、数値を示します 2 一致した値が返される列番号です。

2.列Aに複数の最大値がある場合、この式は最初の対応する値のみを取得します。

3.上記の値を使用すると、右の列からセルの値を返すことができます。左の列の値を返す必要がある場合は、次の数式を適用する必要があります。 =INDEX(A2:A11,MATCH(MAX(B2:B11),B2:B11,0))( A2:A11 相対値を取得するデータ範囲です。 B2:B11 は最大値を含むデータ範囲です)、を押します 入力します キー。 次の結果が得られます。

doc-get-最大関連値-3 3


矢印青い右バブル 最高値を見つけて選択し、Kutools forExcelで隣接するセルの値を返します

上記の数式は、最初の対応するデータを返すのに役立つだけです。重複する最大数がある場合は、役に立ちません。 Kutools for Excel's 最大値と最小値のセルを選択 ユーティリティは、すべての最大数を選択するのに役立つ場合があり、最大数に隣接する対応するデータを簡単に表示できます。

インストールした後 Kutools for Excel、次のようにしてください。

Kutools for Excel : 300以上の便利なExcelアドインがあり、30日以内に制限なしで無料で試すことができます. 

1。 検索する数値列を選択し、最大値を選択します。

2。 次に、をクリックします クツール > 選択 > 最大値と最小値のセルを選択、スクリーンショットを参照してください:

3。 の中に 最大値と最小値のセルを選択 ダイアログボックスで、 最大値 へ行きます セクションを選択し、 セル 内のオプション ベース(Base) セクションを選択し、 すべてのセル or 最初のセルのみ 最大値を選択したい場合は、 OK、列Aの最大数が選択されているので、それらに隣接する対応するデータを取得できます。スクリーンショットを参照してください。

doc-get-最大関連値-5 5 2 doc-get-最大関連値-6 6

クリックしてKutoolsfor Excelと無料トライアルを今すぐダウンロードしてください!


関連記事:

行の最大値を見つけてExcelで列ヘッダーを返す方法は?

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

🤖 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 (13)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Using the formula avoce with "name" includes, I am trying to show the highest rated players for Male and Female.

Z = Player Names (text format)
AB = Players gender (text format)
T = Player Ratings (number format)
AE1 = Male (text format)
AF1 = Female (text format)

=INDEX($Z$2:$Z$220, MATCH(MAXIFS($T$2:$T$220, $AB$2:$AB$220, AE1, $AB$2:$AB$220, AE1), $T$2:$T$220, 0))

Above returns correct data of highest rated male player

=INDEX($Z$2:$Z$220, MATCH(MAXIFS($T$2:$T$220, $AB$2:$AB$220, AF1, $AB$2:$AB$220, AF1), $T$2:$T$220, 0))

Above returns incorrect data of highest rated female player. In fact, it returns a male players data. Can more than one index/match on a sheet cause issues? I've searched and edited the sheet more than I care. Any ideas?
This comment was minimized by the moderator on the site
How do I automate selecting a Row based on the largest number in a specific column based on another columns data of same date.I.E.   I have a Column A having an entire month of days.   Each specific day has up to 24 rows.   I have another column that represents a high water mark for every hr - 24 hrs in a day 28-31 days in a month.   I need an automated way to strip the highest high water mark of every single day within the month.     
This comment was minimized by the moderator on the site
This is brilliant and so easy to understand, thank you!

This comment was minimized by the moderator on the site
thank you very much, you saved me
This comment was minimized by the moderator on the site
Muchas gracias era justo lo que buscaba
This comment was minimized by the moderator on the site
I GET #NA what am I doing wrong? Thanks
This comment was minimized by the moderator on the site
Thank you very much for sharing, I was having real trouble with this function. Of course in hindsight, it's as clear as glass!

Thanks Again & Best Regards,

Jon
This comment was minimized by the moderator on the site
Hello,

I need your help. For this table:

A B C
2002 1 4 7
2003 2 5 8
2004 3 6 9


I want that excel returns the year with the highest value for each column. For example, for column A, I want a formula that returns "2004". Can you, please, help me?


Thanks!
This comment was minimized by the moderator on the site
any way we can find the minimum of the cells selected and return the value in the cell adjacent. kutools only allow for data range selection.
This comment was minimized by the moderator on the site
Hi, Viet,

As you said, the Kutools only can select the max or min values in selection.
To find the minimum value and return the data in adjacent cell, you just need to apply the following formula:
=INDEX(A2:A11,MATCH(MIN(B2:B11),B2:B11,0)).
Please try it, Thank you!
This comment was minimized by the moderator on the site
Like the 2 above me already asked, how can we get multiple values if there are multiple max ones? For example, you have 2 items in a list of 100 items that are both 92% and the rest is below that, how does one get both items with that percentage instead of just one?
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