I am attempting to create a function in VBA that, when given a range of values, will return a Count Distinct of those values. For example:
| Column A | |-----
In Excel 2013, use Distinct Count in a PivotTable.