+ Reply to Thread
Results 1 to 4 of 4

Count Number of Different Cells

  1. #1
    Registered User
    Join Date
    07-16-2004
    Posts
    56

    Count Number of Different Cells

    B6:b45 includes a list of ID numbers. Some of the ID numbers will be repeats. I need a formula that will count the number of different IDs.

    Thanks.

  2. #2
    Forum Contributor
    Join Date
    06-01-2006
    Posts
    324
    Make sure there is no empy cells in that range.

    =SUM(1/COUNTIF(B6:B35,B6:B35))

    after you put that in the formula box, press control, shift and enter

    Hope that helps
    Google is your best friend!

  3. #3
    Domenic
    Guest

    Re: Count Number of Different Cells

    Try...

    =SUMPRODUCT((B6:B45<>"")/COUNTIF(B6:B45,B6:B45&""))

    Hope this helps!

    In article <[email protected]>,
    ForSale <[email protected]> wrote:

    > B6:b45 includes a list of ID numbers. Some of the ID numbers will be
    > repeats. I need a formula that will count the number of different
    > IDs.
    >
    > Thanks.


  4. #4
    Registered User
    Join Date
    07-16-2004
    Posts
    56
    Thanks to both.

+ 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