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

Excelで数値をスキップせずに重複をランク付けする方法は?

一般に、重複するリストをランク付けする場合、以下のスクリーンショット1に示すように一部の番号がスキップされますが、場合によっては、スクリーンショット2に示すように番号をスキップせずに、一意の番号でランク付けしたり、同じ番号で重複してランク付けしたりすることもあります。 Excelでこのタスクを解決するためのコツはありますか?

スキップなしでドキュメントランクが重複1 スキップなしでドキュメントランクが重複2


番号をスキップせずに重複をランク付けする


矢印青い右バブル 番号をスキップせずに重複をランク付けする

すべてのデータを一意の番号でランク付けする場合は、データC2の横にある空白のセルを選択し、次の数式を入力します =RANK(A2,$A$2:$A$14,1)+COUNTIF($A$2:A2,A2)-1、および自動入力ハンドルを下にドラッグして、この数式をセルに適用します。 スクリーンショットを参照してください:
スキップなしでドキュメントランクが重複5

同じ番号の重複をランク付けする場合は、この式を適用できます =SUM(IF(A2>$A$2:$A$14,1/COUNTIF($A$2:$A$14,$A$2:$A$14)))+1 データの次のセルで、を押します Shift + Ctrl + Enter キーを合わせて、自動入力ハンドルを下にドラッグします。 スクリーンショットを参照してください:
スキップなしでドキュメントランクが重複4

ヒント。重複または一意の値をすばやく選択して強調表示する場合は、Kutools forExcelを使用してみてください。 重複セルと一意セルを選択します 次のスクリーンショットに示すユーティリティ。 30日で無制限にフル機能、 今すぐダウンロードして無料トライアルをお試しください。

docハイライトの列間での重複6

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

🤖 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 (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
This is showing the rank in ascending order. Can I get it to show in descending order?
This comment was minimized by the moderator on the site
This formula will allow ties and not skip in ranks when scoring see cell F35 for the example
https://docs.google.com/spreadsheets/d/1Y1AHRn-bRnVex-tFwbPV9bN4t46usrFAvRPsUPUn6i4/edit?usp=sharing


=SUMPRODUCT((DD34<$F34:$DT34)/COUNTIF($F34:$DT34,$F34:$DT34))+1
This comment was minimized by the moderator on the site
=RANK(A2,$A$2:$A$14,1)+COUNTIF($A2:A$3,A2)-1 This formula has a problem:

If the 3 first records are the same number the formula will generate a duplicate ranking for the Record #1 and Record #3 .

Example: 10 , 10, 10, 21, 4, 9 the ranking generated will be 3, 2, 3, 1, 6, 5 Ranking # is generated twice
This comment was minimized by the moderator on the site
Dear Miguel, thanks for your pointing out mistake, I have updated the tutorial, you can try this formula =RANK(A2,$A$2:$A$14,1)+COUNTIF($A$2:A2,A2)-1
This comment was minimized by the moderator on the site
It's a very nice example, but you inverted the ranking in the end... in the original rank (19) was the highest value and had a rank of 1. In your pair of formulas it made (10), which is actually the lowest number in the set rank 1.

How do you adjust the formula so (19) stays with a rank of 1?
This comment was minimized by the moderator on the site
Hello, Joe Dirt, I do not get your problem clearly, could you give me more details?
This comment was minimized by the moderator on the site
Thank You.
This comment was minimized by the moderator on the site
The formula works if have to rank up to 100. From 100 skips to 102.
This comment was minimized by the moderator on the site
Thank you for the formula. How do you keep it staying at zero when you don't type anything yet.
This comment was minimized by the moderator on the site
Do you mean keep blank cells display zero in general or when you count numbers?
This comment was minimized by the moderator on the site
Thank you very much for sharing how to rank using consecutive numbers! It was just what I was looking for. Very counter-intuitive for sure, and I've written a few formulas that make your head hurt. This one made MY head hurt! :)
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations