I'm generating a list based on using the UNIQUE function.

How can I get the output to be alphabetized automatically?


3 Answers 3


Use Sort and Unique together.


Here are the descriptions of the filter functions for Google spreadsheets.

  • As was already noted by clement_thirode, using A:A will return also blank cells. It's better to use a reference just for the required cells, but in some cases the formula by clemment_thirode could be better. Sep 8, 2015 at 18:05

I add a filter function to keep only cells with data.


Maybe it could help.


How about this for more readability.

=sort(unique(filter(A:A, not(isblank(A:A)))))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.