To rank data that is not tied in the Excel2013

Source: Internet
Author: User

When we are inconvenient or unable to sort the data, we need to rank the data (ranked), many people choose to use the Rank function, but the rank function has a specific: for the same data (duplicate data) ranking is ranked, and will occupy the empty position. For example, ranking 100, 100, and 99 results in 1, 1, 3, instead of 1, 2, 3, 1, 1, 2, respectively. Now, let's teach you how to solve this problem.

Case demonstration

① start Excel2013, small series of the first slightly produced a table, see some side-by-side data, in the F2 cell input formula: =rank (E2, $E $: $E $) +countif ($E $1:e2,e2)-1

② carriage return, get the result 6, we verify that, see 5 is not ranked in the column data 6th place.

After the ③ is verified, the mouse moves to the lower-right corner of the cell, appears with the + number, and double-click the fill handle to finish sorting the remaining data.

④ sorting completed, we can not trust their own eyesight verification, 2 tied 9 is not all ranked 2nd, one 2nd another 3rd, according to the data in order.

Formula description

Rank (to what rank, where): Rank cell values in a contiguous set of cells.

COUNTIF (where to count, what counts): calculates the specified number of items within a specified range.

Meaning of the formula: E2 rank + number of E2 above current row-1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.