Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to rank duplicate without skipping numbers in Excel?

In general, when we rank a list with duplicates, some numbers will be skipped as below screenshot 1 shown, but in some cases, we just want to rank with unique numbers or rank duplicate with same number without skipping the numbers as screenshot 2 shown. Do you have any tricks on solving this task in Excel?

doc rank duplicate without skip 1 doc rank duplicate without skip 2

 

Rank duplicate without skipping numbers


arrow blue right bubble Rank duplicate without skipping numbers


If you want to rank all data with unique numbers, select a blank cell next to the data, C2, type this formula =RANK(A2,$A$2:$A$14,1)+COUNTIF($A$2:A2,A2)-1, and drag auto fill handle down to apply this formula to the cells. See screenshot:
doc rank duplicate without skip 5

If you want to rank duplicates with same numbers, you can apply this formula =SUM(IF(A2>$A$2:$A$14,1/COUNTIF($A$2:$A$14,$A$2:$A$14)))+1 in the next cell of the data, press Shift + Ctrl + Enter keys together, and drag auto fill handle down. See screenshot:
doc rank duplicate without skip 4

Tip.If you want to quickly select and highlit the duplicates or unique values, please try to use the Kutools for Excel’s Select Duplicate & Unique Cells utility as shown in the following screenshot. It’s full function without limitation in 60 days, please download and have a free trial now.

doc highlight duplicate across columns 6

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Chris · 1 years ago
    Thank you for the formula. How do you keep it staying at zero when you don't type anything yet.
    • To post as a guest, your comment is unpublished.
      Sunny · 1 years ago
      Do you mean keep blank cells display zero in general or when you count numbers?
  • To post as a guest, your comment is unpublished.
    Bob · 1 years ago
    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! :)