+ Reply to Thread
Results 1 to 3 of 3

Assistance in Sum/CountA formula to only count 1 of duplicate values

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    Miami, FL
    MS-Off Ver
    Excel 2010
    Posts
    1

    Assistance in Sum/CountA formula to only count 1 of duplicate values

    Hello All, I am trying to add up the number of countries a specific show is airing. However, I also need to keep track of the clients airing these shows. Below is an example of what I am talking about:

    SHOW 1:

    Columa A: Column B:
    Client A. CANADA
    Client A. USA
    Client B. ESPANA
    Client B. MEXICO
    Client B. USA

    As you can see we have USA twice. Is it possible to create a formula to add up all the countries and only add USA only once so it can add up to 4 countries? I am required to keep the clients and countries together.

    Thanks
    Last edited by Excelhandicap; 11-21-2013 at 05:41 PM.

  2. #2
    Forum Contributor
    Join Date
    11-13-2013
    Location
    United States
    MS-Off Ver
    2010
    Posts
    147

    Re: Assistance in Sum/CountA formula to only count 1 of duplicate values

    Try this

    Please Login or Register  to view this content.
    It will go through and count unique values. If there is a blank cell in the range (B1:B5 or how ever many rows you are looking at), it will give you an #NA

    Hope this helps.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Assistance in Sum/CountA formula to only count 1 of duplicate values

    You can also use this version which will allow blanks (but not include them in the count)

    =SUMPRODUCT((B2:B10<>"")/COUNTIF(B2:B10,B2:B10&""))
    Audere est facere

+ 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. [SOLVED] Find count of Unique or Duplicate Values based on Concatenated values in 2 columns
    By bdicarlo1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-03-2014, 12:42 AM
  2. Replies: 1
    Last Post: 03-28-2013, 01:48 PM
  3. Formula to COUNTA distinct values with multiple criteria
    By f0urchette in forum Excel General
    Replies: 4
    Last Post: 02-20-2012, 04:54 AM
  4. count the duplicate values
    By macrogeek in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-18-2011, 05:33 AM
  5. Formula assistance - find duplicate and present results
    By craighaylett in forum Excel General
    Replies: 3
    Last Post: 10-01-2010, 06:34 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