Results 1 to 5 of 5

Formulas to sum distinct values with condition "any" and "all"

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Ky
    MS-Off Ver
    Excel 2013
    Posts
    344

    Formulas to sum distinct values with condition "any" and "all"

    See attached.

    I have a table with location, name and condition (category) fields. On the next sheet, I have a working formula to calculate the number of distinct names (don't count repeated names within the same location) for each location in column B.

    What I need next is a formula to calculate the same (number of distinct names), but only count IF at least 1 of the corresponding names also has category 'B' - the group of names may have more than one 'B', but is only counted once. I think I have that formula correct in column C (gray highlight), but you can double check (thank you). Finally, and this is where I know my formula is incorrect (light blue highlight), a distinct name count where ALL the names are category 'A' (no 'Bs' or any other category - my sample only has 2 categories, but my actual data set has a few more categories).

    Sample C.xlsx

    EDIT - posted in correct forum with correct attachment.
    Last edited by HeyInKy; 06-30-2017 at 01:02 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. Formuals to sum distinct values with condition "any" and "all"
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-30-2017, 01:04 PM
  3. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  4. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  5. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  6. Replies: 0
    Last Post: 01-09-2013, 06:52 PM
  7. Replies: 3
    Last Post: 02-16-2011, 02:55 PM

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