+ Reply to Thread
Results 1 to 7 of 7

countifs for unique values

  1. #1
    Registered User
    Join Date
    07-29-2014
    Location
    livermore, ca
    MS-Off Ver
    2010
    Posts
    2

    countifs for unique values

    Hello, I'm able to count # of stores assigned to a string of managers, but also want to count # unique stores with a certain billing criteria (therefore not having duplicates).

    For example, FRANCISCO CASTILLERO reports to MARC SCHWIESOW who reports to PAULO DIAZ. He has 11 stores total.

    =COUNTIFS('SHC EL 1-1 thru 7-24-14'!$D:$D,Summary!$A63,'SHC EL 1-1 thru 7-24-14'!$E:$E,Summary!$B63,'SHC EL 1-1 thru 7-24-14'!$G:$G,Summary!$C63) = 15, but I want to not include duplicate stores, so I'm looking for 8 unique stores out of 10.

    Can someone assist?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: countifs for unique values

    Seems easiest to take your data sheet ('SHC EL...') and create a list of unique store numbers based on AM, RM, and RVP. Then just do a count based on the unique stores.

  3. #3
    Registered User
    Join Date
    07-29-2014
    Location
    livermore, ca
    MS-Off Ver
    2010
    Posts
    2

    Re: countifs for unique values

    Thanks for the feedback, but I'm looking for a formula combination I can produce weekly.

  4. #4
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: countifs for unique values

    Perhaps someone will come up with a formula that can automatically produce the results you want, though it seems less likely with more passing time.

    However, sometimes the manual solution is the most efficient. I made a copy of the data sheet and deleted out the irrelevant columns, then removed duplicates. Updated your formula to reference the 'Unique' worksheet. Took about 3 minutes. If no more efficient solution is provided, spending 3 minutes is surely manageable on a weekly (or even daily) basis.
    Attached Files Attached Files

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: countifs for unique values

    Did you counted well?

    For 15 total I got unique 8
    Attached Files Attached Files

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: countifs for unique values

    Please Login or Register  to view this content.

  7. #7
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: countifs for unique values

    Quote Originally Posted by zbor View Post
    Did you counted well?

    For 15 total I got unique 8
    Brilliant. Exactly what rbenguerel was looking for. Definitely saving this one so I can figure out how it works. Well done.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. COUNTIFS criteria to specify unique values
    By Boatryte in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2014, 04:05 PM
  2. COUNTIFS with Unique Values
    By lefteegunzz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-23-2013, 04:25 PM
  3. Countifs unique values based on two criteria
    By shaz0503 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-06-2012, 08:48 PM
  4. Countifs with unique values & dates
    By lanos in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2012, 09:11 AM
  5. Excel 2007 : Using countifs to count unique values
    By AlexZoom in forum Excel General
    Replies: 2
    Last Post: 09-23-2010, 09:41 AM

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