## Unique distinct records sorted by frequency

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

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 […]### 3 Responses to “Unique distinct records sorted by frequency”

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

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.