## How to create an array of uniquely ranked duplicate values in excel

*Article updated on July 30, 2017*

**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

### One Response to “How to create an array of uniquely ranked duplicate values in excel”

### Leave a Reply

**How to add a formula to your comment:**

<code>your formula</code>

Remember to convert less than and larger than signs to html character entities before you post your comment.

**How to add VBA code to your comment:**

[vb 1="vbnet" language=","]

VBA code

[/vb]

**How to add a picture to your comment:**

Upload picture to postimage.org

Add picture link to comment.

**Contact Oscar**

You can contact me through this webpage

[…] = window.adsbygoogle || []).push({}); Zie How to create an array of uniquely ranked duplicate values in excel | Get Digital Help - Microsoft E… Antwoord met […]