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

Excelでグループごとに値をランク付けする方法は?

この記事では、以下のスクリーンショットに示すように、Excelでのグループごとのランキング値について説明します。
グループ1によるドキュメントランク

グループごとのランク値


矢印青い右バブル グループごとのランク値

グループに基づいて値をすばやくランク付けする式があります。

データの横にある空白のセル(たとえばC2)を選択し、この数式を入力します。 =SUMPRODUCT(($A$2:$A$11=A2)*(B2<$B$2:$B$11))+1 次に、オートフィルハンドルを下にドラッグして、この数式を必要なセルに適用します。

式では、A2:A11はグループ値を含む範囲、A2はグループ値のリストの最初のセル、B2はランク付けが必要なリストの最初のセル、B2:B11は必要な値を含むリストです。ランク付けする。
グループ2によるドキュメントランク

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

🤖 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 (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How to get unique ranks for Ex: Group Record RankA 100 1
If the same record repeat again I want rank 2 instead of 1.
This comment was minimized by the moderator on the site
Hi Sunny, I will be so grateful for suggestions. I conducted a survey of stakeholders for our nonprofit. Our dataset of 53 responses now includes (1)type of stakeholder WHICH CAN INCLUDE MORE THAN ONE TYPE (ex: volunteer and donor); (2) rank order of top 3 skills (from a list) you feel are needed for your job; (3) rank order top 3 skills young people need today (from a list that is similar to but not exactly the same as the one used in the prior question). The format was to select from drop down list.Is it possible to analyze to see if Donors (for example) as a group prioritize similarly?
Thanks very much!
This comment was minimized by the moderator on the site
Thanks for this solution! Is there a alteration that would allow me to omit blanks from the ranking?
This comment was minimized by the moderator on the site
Hi, Nick, you can use the Filter feature in Excel to filter out blank cells firstly, and hide them or remove them, then use above formula to rank.
This comment was minimized by the moderator on the site
hi sunny, i have a complex query here but need to visualize it to better understanding. how can i contact u with visualization?v
This comment was minimized by the moderator on the site
How can I get it to rank in reverse order, from smallest to largest?
This comment was minimized by the moderator on the site
Hi, Brian Q, you can use this formula =SUMPRODUCT(($A$2:$A$11=A2)*(B2<$B$2:$B$11))+1 to ranke from smallest to largest
This comment was minimized by the moderator on the site
I'm sorry, but I don't see a difference between this formula and the one above.
This comment was minimized by the moderator on the site
B2> ; just reverse from less than to greater than.
This comment was minimized by the moderator on the site
This is EXCEL-lent (see what I did there?)! Now that you have the rankings by group, how do you find out % from #1 rank within the group? For example, Group A has record 100 as #1, and record 93 as #3 ranked. If I wanted to add another column to find out how far off in percentage record #3 (93) is from record #1 (100), what is the formula to achieve this? The result should be rank #1 is 0%, and rank #3 is 7% off ((100/93)-1) from rank #1
This comment was minimized by the moderator on the site
Devide the subject by the max of the group using a max if.

Like this:
=C2/MAXIFS(C:C,B:B,B2)
This comment was minimized by the moderator on the site
Sorry I have not found a formula or other solution can handle ur question.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations