How to use the RANK and SUMPRODUCT functions in Excel with COUNTIF
By specifying similar ranks for many of the same items, the RANK.EQ function ignores numbers in the overall series. To avoid this omission, use the SUMPRODUCT function with the COUNTIF function. This combination sorts duplicates without skipping numbers.
Using the RANK function in combination with the COUNTIF . function
The RANK.EQ function can be used in conjunction with the COUNTIF function to stop skipping numbers, but it will also ignore rank duplication. Although no number is repeated twice, two students with the same number (%) may be ranked differently.
To better understand this, see how RANK.EQ works in conjunction with COUNTIF. The formula has the following form:
=RANK.EQ(B2,$B$2:$B$11.0)+COUNTIF($B$2:B2,B2)-1
Implementing this formula solves the problem of ignoring numbers.
There is no overlap in the ranks above. But, James Walker and Gillian Tillman, two people in the same rank, are now ranked in different positions.
Thus, using RANK.EQ with COUNTIF solved half of the problem, but did not produce the desired results.
Using the SUMPRODUCT function with the COUNTIF . function
To rank the students in the list by assigning the same ranks to equivalent percentages without omitting any numbers, you can use the SUMPRODUCT function with COUNTIF.
Take a look at the formula below:
The formula seems complicated, but it's the best way to rank items correctly. This way you can achieve the desired result with rank overlap and no numbers being ignored.
While giving results to your students, you can directly use the SUMPRODUCT formula as a substitute for the RANK function. To calculate non-duplicate ratings, you can use the RANK.EQ function alone or with the COUNTIF function.
Change the order of the final result
On the Data tab, click the Sort and Filter group and choose ascending order to sort the ranking.
Compare the results in three rows side by side to better understand how each method of ranking items works.
Hope you are succesful.
You should read it
- COUNTIF function - Function that counts the number of cells in a data table that meet certain conditions in Excel
- Excel counting functions: Count and Countif
- How to compare data on 2 Excel columns
- The use of the RANK function in excel
- RANK function - Rank function in Excel - Usage and examples
- How to rank on Excel with RANK function
- RANK.AVG function - The function returns the rank of a number in a list of numbers in Excel
- How to use the RANK function in Excel
May be interested
- How to fix the SUM function doesn't add up in Excelin the process of summing with sum in excel, you will encounter some errors such as not jumping the number, not adding the sum. so how to handle this problem?
- How to use the RANK function in Excelthe rank function in excel is a function used by many people in data processing. for accountants, the rank function is very popular.
- Complete financial functions in Excel you should knowfv, date, time, hour, workday, ... functions are the basic financial functions with the same way of getting color codes in excel. show you how to use these financial functions. click view now!
- PERCENTRANK function - The function returns the rank of the value in Excelin sorting and statistical data, you often have to rank the objects according to a certain criteria. the following article details how to use the percentrank function to find the rank of the value.
- How to compare data on 2 Excel columnsusers can compare data on 2 excel columns with the countif function.
- 6 useful functions in Google Sheets you may not know yetin this article, i will show you 6 useful functions for the google sheets spreadsheet that you should know such as vlookup, countif, sumif, join, index, ... in addition, you can refer to the functions. and other tips follow the link in the post.
- MS Excel - Lesson 5: Excel formulas and functionsthe formula in excel is a program that performs calculations on data tables. these formulas perform very precise operations such as adding, multiplying, or comparing values in worksheets.
- 8 little-known Excel functions that can save you a lot of workeven seasoned excel users often find themselves stuck performing tasks manually that could be automated with a few clever functions.
- Summary of information functions in Excelto facilitate the selection of functions to suit the requirements when you need to process information in excel spreadsheets. the following article summarizes the functions along with the functions of each function group in the excel spreadsheet.
- COUNTIF function - Function that counts the number of cells in a data table that meet certain conditions in Excelcountif function: the function performs counting the number of cells in the data table that meet certain conditions. syntax: countif (range, criteria)