Explanation DuplicateRemovalFormula
Explanation DuplicateRemovalFormula
All
other formulas are variations of this basic one:
1. COUNTIF(range, criteria) returns the number of cells within a range that meet a specified
condition.
In this example, COUNTIF($F$3:F3, Names_Distinct) returns an array of 1's and 0's based on
whether any of the values of the source list (Names_Distinct) appears somewhere in the
distinct list ($F$3:F3). If the value is found, the formula returns 1, otherwise - 0.
because none of the items of the source list (criteria) appears in the range where the
function looks for a match. In this case, range ($F$3:F3) consists of a single item - "Distinct".
and returns 1
because our MATCH function gets the first value that is exactly equal to the lookup value
(lookup value is 0).
5. And finally, INDEX(Names_Distinct, 2) returns the value from the 2nd row, which is "David".
It contains one more COUNTIF function that excludes from the unique list all items that appear
in the source list more than once: COUNTIF($B$4:$B$12, $B$4:$B$12)<>1
When the formula is copied to the subsequent cells, it returns { Case-sensitive distinct
valuesuser1} ..
Since the cell J12 in the first ROW is relative, as the formula is copied down, the reference of
the array $j$4:j12 changes to 5,6 and hence the returns 2,3,4, .in the subsequent cells of
column k.