How to calculate Rank in excel-Excel में Rank की गणना

Calculating Rank in Excel (Handling Duplicate Values Correctly)

In Excel, the RANK function helps determine the position of a number in a list. However, when duplicate values exist, they receive the same rank, and the next rank is skipped. To handle this and assign unique ranks (if needed), we use additional formulas.


1. Basic RANK Calculation

Use the RANK.EQ function to assign ranks to numbers.

Example Dataset

NameScoreRank
A90?
B85?
C90?
D80?
E70?

Formula to Calculate Rank:

=RANK.EQ(B2, $B$2:$B$6, 0)

👉 This ranks B2 among the values in B2:B6 (descending order).

Result (Without Handling Duplicates)

NameScoreRank
A901
B853
C901
D804
E705

Here, A and C have the same rank (1), but the next rank (2) is skipped.


2. Assigning Unique Ranks (Handling Ties)

To assign unique ranks even for duplicates, use:

=RANK.EQ(B2, $B$2:$B$6, 0) + COUNTIF($B$2:B2, B2)-1

👉 This adjusts duplicate values by adding a count.

Updated Result (With Unique Ranks)

NameScoreRank
A901
C902
B853
D804
E705

Now, even if values are the same, ranks are unique.


Conclusion

  • Use RANK.EQ for standard ranking.
  • Use RANK.EQ with COUNTIF to handle duplicate ranks properly.

Excel में Rank की गणना (डुप्लिकेट मानों को सही ढंग से संभालना)

Excel में RANK फ़ंक्शन का उपयोग किसी संख्या की सूची में उसकी स्थिति निर्धारित करने के लिए किया जाता है। लेकिन जब समान मान (Duplicate Values) होते हैं, तो उन्हें समान रैंक मिलती है और अगली रैंक छोड़ दी जाती है। अगर हमें इसे सही तरीके से संभालना है, तो कुछ अतिरिक्त फ़ॉर्मूला उपयोग करने होंगे।


1. सामान्य RANK गणना

RANK.EQ फ़ंक्शन का उपयोग करके रैंक दी जा सकती है।

उदाहरण डेटा सेट:

नामअंकरैंक
A90?
B85?
C90?
D80?
E70?

रैंक निकालने का फॉर्मूला:

=RANK.EQ(B2, $B$2:$B$6, 0)

👉 यह B2 सेल को B2:B6 की पूरी सूची में रैंक देगा (Descending Order में)।

आउटपुट (बिना डुप्लिकेट हैंडल किए हुए)

नामअंकरैंक
A901
B853
C901
D804
E705

यहां A और C को एक ही रैंक (1) मिली है, लेकिन रैंक 2 को छोड़ दिया गया है।


2. डुप्लिकेट मानों को संभालकर Unique Rank देना

अगर आप समान अंकों वाले डेटा को अलग-अलग रैंक देना चाहते हैं, तो यह फ़ॉर्मूला उपयोग करें:

=RANK.EQ(B2, $B$2:$B$6, 0) + COUNTIF($B$2:B2, B2)-1

👉 यह डुप्लिकेट मानों को सही ढंग से गिनकर उन्हें अलग-अलग रैंक प्रदान करेगा।

अपडेटेड आउटपुट (डुप्लिकेट को संभालने के बाद)

नामअंकरैंक
A901
C902
B853
D804
E705

अब समान अंकों (90) वाले A और C को अलग-अलग रैंक (1 और 2) दी गई है।


निष्कर्ष

सामान्य रैंक निकालने के लिएRANK.EQ का उपयोग करें।
डुप्लिकेट अंकों को अलग-अलग रैंक देने के लिएRANK.EQ के साथ COUNTIF का उपयोग करें।

Excel में रैंकिंग से संबंधित कोई और सवाल हो तो बताइए! 😊🚀

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *