+ Reply to Thread
Results 1 to 3 of 3

Thread: how to cont unique values

  1. #1
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    how to cont unique values

    hello

    i want to caunt unique values from a array (column c) but only where column F have the value "z569pon" and column G have the value "startet"

    this formula count all uinque from the array =SUM(IF(FREQUENCY(B3:B2000;B3:B2000)>0;1))

    and this =COUNTIFS(F3:F2000;"z569pon";G3:G2000;"startet") count all not the only the unique

    is it possiblie to combine thise to formula?

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: how to cont unique values

    You can use either:

    =SUMPRODUCT((($F$3:$F$2000="z569pcn")*($G$3:$G$2000="startet"))/COUNTIFS($B$3:$B$2000;$B$3:$B$2000&"";$F$3:$F$2000;$F$3:$F$2000&"";$G$3:$G$2000;$G$3:$G$2000&""))
    confirmed with Enter
    or (better)

    =SUM(IF(FREQUENCY(IF(($F$3:$F$2000="z569pcn");IF($G$3:$G$2000="startet";MATCH($B$3:$B$2000&"";$B$3:$B$2000&"";0)));ROW($B$3:$B$2000)-ROW($B$3)+1)>0;1))
    confirmed with CTRL + SHIFT + ENTER (enter alone will not suffice)

  3. #3
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: how to cont unique values

    thanks a lot

+ 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.2.0