Return a distinct list in alphabetical order

deacon10

Board Regular
Joined
Aug 9, 2010
Messages
59
Office Version
  1. 365
Good morning all,

I am hoping someone can help with a tricky formula that I am massively struggling with?

I am trying to return a list of distinct values in ColumnA where they are found in ColumnT. Also the distinct list in columnA needs to be in alphabetical order.
There is about 30000 rows of 153 distinct values in column T and more can be added at anytime.

The formula below is in column A and looks like it is giving me a distinct list. Unfortunately it does not do it in alphabetical order.
=IFERROR(INDEX(Sheet2!$T$2:$T$30000, MATCH(0, COUNTIF($J$1:J1, Sheet2!$T$2:$T$30000), 0)), "")

The data looks something like this...
Sheet1Sheet2
A (row 1)T (row 1)
Formula?test
Formula?report
Formula?test
Formula?report
Formula?test
Formula?delete
Formula?delete

Is this possible?

Any help massively appreciated
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
How about
Excel Formula:
=SORT(UNIQUE(FILTER(Sheet2!$T$2:$T$30000,Sheet2!$T$2:$T$30000<>"")))
you need to clear col A before putting this formula in.
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top