How to create an array of uniquely ranked duplicate values in excel
Filed in Excel on Apr.23, 2009. Email This article to a Friend
Question: How do I rank duplicate values uniquely also I need them in an array?
Answer:
Array formula in D2:
=COUNTIF(List, "<"&A2)+SUM(IF(A2=$A$2:A2, 1, 0)) + Ctrl + Shift + Enter copied down as far as needed.
Download excel example file.
unique-rank.xls
(Excel 97-2003 Workbook *.xls)
Functions in this article:
IF(logical_test;[value_if:true];[value_if_false])
Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE
SUM(number1,[number2],)
Adds all the numbers in a range of cells
COUNTIF(range,criteria)
Counts the number of cells within a range that meet the given condition
Related blog posts
- How to rank text uniquely in excel
- How to rank uniquely with criteria in excel
- Min and max unique and duplicate values using array formula in excel
- Filter duplicate rows and sort by date using array formula in excel
- Extract duplicate text values from a range containing both numerical and text values in excel








Leave a Reply