+ Reply to Thread
Results 1 to 5 of 5

Count of unique entries

  1. #1
    Registered User
    Join Date
    07-01-2005
    Posts
    2

    Count of unique entries

    How do I count or filter for the number of unique numbers or names in a column?
    I have a list of 20,000 barcodes that repeat 2-7 times each in a column A and want to know how many unique bar codes there are.

    thanks

  2. #2
    Peo Sjoblom
    Guest

    RE: Count of unique entries

    One way

    =SUMPRODUCT((A1:A20000<>"")/COUNTIF(A1:A20000,A1:A20000&""))



    Regards,

    Peo Sjoblom

    "slang" wrote:

    >
    > How do I count or filter for the number of unique numbers or names in a
    > column?
    > I have a list of 20,000 barcodes that repeat 2-7 times each in a column
    > A and want to know how many unique bar codes there are.
    >
    > thanks
    >
    >
    > --
    > slang
    > ------------------------------------------------------------------------
    > slang's Profile: http://www.excelforum.com/member.php...o&userid=24847
    > View this thread: http://www.excelforum.com/showthread...hreadid=383967
    >
    >


  3. #3
    Bob Phillips
    Guest

    Re: Count of unique entries

    =SUMPRODUCT((A1:A20000<>"")/(COUNTIF(A1:A20000,A1:A20000&"")))

    --
    HTH

    Bob Phillips

    "slang" <[email protected]> wrote in message
    news:[email protected]...
    >
    > How do I count or filter for the number of unique numbers or names in a
    > column?
    > I have a list of 20,000 barcodes that repeat 2-7 times each in a column
    > A and want to know how many unique bar codes there are.
    >
    > thanks
    >
    >
    > --
    > slang
    > ------------------------------------------------------------------------
    > slang's Profile:

    http://www.excelforum.com/member.php...o&userid=24847
    > View this thread: http://www.excelforum.com/showthread...hreadid=383967
    >




  4. #4
    Ron Rosenfeld
    Guest

    Re: Count of unique entries

    On Fri, 1 Jul 2005 13:11:05 -0500, slang
    <[email protected]> wrote:

    >
    >How do I count or filter for the number of unique numbers or names in a
    >column?
    >I have a list of 20,000 barcodes that repeat 2-7 times each in a column
    >A and want to know how many unique bar codes there are.
    >
    >thanks


    If there are no blanks, this *array* formula may work:

    =SUM(1/COUNTIF(A1:A20000,A1:A20000))

    To enter an array formula, hold down <ctrl><shift> while hitting <enter>.
    Excel will place braces {...} around the formula.

    If there may be blanks in the data, try this array formula:

    =SUM(COUNTIF($A$1:$A$20000,$A$1:$A$20000)/IF(
    NOT(COUNTIF($A$1:$A$20000,$A$1:$A$20000)),1,
    COUNTIF($A$1:$A$20000,$A$1:$A$20000))^2)


    --ron

  5. #5
    Registered User
    Join Date
    07-01-2005
    Posts
    2
    Many thanks to all three of you. You guys rock! I'll be back for more help if i need it, but hopfully the books i just bought and the class i signed up for will take care of me...(just lost my #1 excel guy and now am totally lost). You're livesavers.

    -slang,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1