What if we wanted to collect the unique values in the entire column
What if we wanted to collect the unique values in the entire column
Hi,
I propose the following file
Use a matrix to test each value
Code:{=(SUM(LEN(tbl))-SUM(LEN(SUBSTITUTE(tbl;$B$9;""))))/LEN($B$9)}
Last edited by PcMax; 01-07-2014 at 02:27 AM. Reason: Formula translated into English
Code:Sub M_unique() sn = Split(Join([transpose(A1:A10)], ","), ",") With CreateObject("scripting.dictionary") For j = 1 To UBound(sn) If sn(j) <> "" Then x0 = .Item(sn(j)) Next MsgBox .Count MsgBox Join(.keys) End With End Sub
Unfortunately, I do not want it like this
I want it by formulas and in one step
And thanks for all
Bookmarks