+ Reply to Thread
Results 1 to 16 of 16

Count Unique records

Hybrid View

  1. #1
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,058

    Re: Count Unique records

    I don't understand why don't you use formula in post that can be normally entered?!?
    Never use Merged Cells in Excel

  2. #2
    Registered User
    Join Date
    06-06-2013
    Location
    Cape Town
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Count Unique records

    Okay this did work in the end, thank you for that!

    The only way I get now that it completely excludes the double values (so for instance the code 123 is present a couple of times in the column, then I want it to be counted as 1, now it doesn't count it at all..).

    How can I do that?

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count Unique records

    Try this array formula**:

    =SUM(IF(FREQUENCY(IF(B2:B100<>"",MATCH(B2:B100,B2:B100,0)),ROW(B2:B100)-ROW(B2)+1),1))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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