Results 1 to 4 of 4

Thread: Count unique number in a column

  1. #1
    Senior Member
    Join Date
    Mar 2013
    Posts
    146
    Rep Power
    0

    Count unique number in a column

    What if we wanted to collect the unique values ​​in the entire column
    Attached Files Attached Files

  2. #2
    Senior Member
    Join Date
    Oct 2011
    Posts
    135
    Rep Power
    14
    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)}
    Attached Files Attached Files
    Last edited by PcMax; 01-07-2014 at 02:27 AM. Reason: Formula translated into English

  3. #3
    Senior Member
    Join Date
    Jun 2012
    Posts
    337
    Rep Power
    13
    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

  4. #4
    Senior Member
    Join Date
    Mar 2013
    Posts
    146
    Rep Power
    0
    Unfortunately, I do not want it like this
    I want it by formulas and in one step
    And thanks for all

Similar Threads

  1. Count unique number in a cell
    By mahmoud-lee in forum Excel Help
    Replies: 3
    Last Post: 01-05-2014, 07:59 PM
  2. Replies: 10
    Last Post: 05-23-2013, 12:30 PM
  3. Replies: 9
    Last Post: 05-22-2013, 09:12 PM
  4. Unique Random Number In Ascending Order
    By marreco in forum Excel Help
    Replies: 8
    Last Post: 11-04-2012, 04:15 PM
  5. Unique Count on a Filtered Range
    By Admin in forum Excel and VBA Tips and Tricks
    Replies: 0
    Last Post: 08-14-2011, 04:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •