## Unique distinct records sorted by frequency

*Article last updated on August 15, 2017*

How can you use large with multiple criteria?? Example looking for top 5 of a list based on name, state and city..

**Answer:**

**Array formula in cell E3:**

**Formula in cell H3:**

**How to create an array formula**

- Select cell E3
- Paste array formula
- Press and hold Ctrl + Shift
- Press Enter

**How to copy array formula**

- Select cell E3
- Copy cell (not formula)
- Select cell range F3:G3
- Paste
- Select cell range E3:G3
- Copy cells (not formulas)
- Select cell range E4:G9
- Paste

**Explaining array formula in cell E3**

See post: Create a unique distinct list and sort by occurrances from large to small

**Download example *.xlsx file**

5 easy ways to VLOOKUP and return multiple values

This post explains how to lookup a value and return multiple values. No array formula required.

Lookup and return multiple values concatenated into one cell

This article demonstrates how to find a value in a column and concatenate corresponding values on the same row. The […]

Question: How do I create a chart that dynamically adds the values, as i type them on the worksheet? Answer: […]

### 3 Responses to “Unique distinct records sorted by frequency”

### Leave a Reply

### How to comment

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

<code>Insert your formula here.</code>

**Convert less than and larger than signs**

Use html character entities instead of less than and larger than signs.

< becomes < and > becomes >

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

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

Put your VBA code here.

[/vb]

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

Upload picture to postimage.org or imgur

Use the img tag, like this: <img src="Insert pic link here">

**Contact Oscar**

You can contact me through this contact form

Thi site helped me crate a list of unique users from a data extract however I want to go one more step and next o the unique user add in the location they are at. Location is column A, user is column B and unique user is in column I, in column J I just want to have their location - can you direct or guide me to the tip to clip? Thank you!!

William J. Ryan,

Formula in J2:

Great formula! However, my list contains blank values. How do I account for this? With the above formula, the last value is repeated.