How to automatically create a unique distinct list and remove blanks
Question: How do I create a unique distinct list from a list containing several blanks?
Answer:
Array formula in B2:
copied down as far as necessary.
Download excel sample file for this tutorial.
unique-values-from-list-with-several-blanks.xls
(Excel 97-2003 Workbook *.xls)
Functions used 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
INDEX(array,row_num,[column_num])
Returns a value or reference of the cell at the intersection of a particular row and column, in a given range
MATCH(lookup_value;lookup_array; [match_type])
Returns the relative position of an item in an array that matches a specified value
ISBLANK(value)
Checks whether a reference is to an empty cell and returns TRUE or FALSE
COUNTIF(range,criteria)
Counts the number of cells within a range that meet the given condition
Related posts:
Create a unique distinct sorted list containing both numbers text removing blanks in excel
Extract a unique distinct list sorted alphabetically removing blanks from a range in excel
Create a list of dates with blanks between quarters in excel
Create unique distinct list sorted based on text length using array formula in excel



















i cannot use an array formula for certain reasons. is there any other way?
Can you use a vba macro? Maybe someone at http://www.excelforum.com/ can help you.
Thanks sooooo much man! U Have saved my life!!!!
great, but keep getting a #NUM! error after cell b2
any reaason this would calculate REALLY slowly?
brendan,
Array formulas working with large data sets can be slow. It also depends on your computer hardware.