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








January 20th, 2010 at 9:20 am
i cannot use an array formula for certain reasons. is there any other way?
January 20th, 2010 at 10:17 pm
Can you use a vba macro? Maybe someone at http://www.excelforum.com/ can help you.
May 10th, 2010 at 6:30 pm
Thanks sooooo much man! U Have saved my life!!!!