+ Reply to Thread
Results 1 to 6 of 6

Counting the number of unique values within a list

  1. #1
    Registered User
    Join Date
    06-07-2016
    Location
    Richmond, VA
    MS-Off Ver
    365 Apps for business
    Posts
    82

    Counting the number of unique values within a list

    In the attached example there is a list of numbers. I need to calculate the sum of unique values in this list (5).

    What formula can do that?

    ThanksExcel Example.xlsx

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Counting the number of unique values within a list

    Like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    06-07-2016
    Location
    Richmond, VA
    MS-Off Ver
    365 Apps for business
    Posts
    82

    Re: Counting the number of unique values within a list

    Thank you, I get a SPILL error when I use that. How could I be implementing that wrong to get that error?

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Counting the number of unique values within a list

    Clear any cells below and to the right of the formula … or put it in an "open space".

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Counting the number of unique values within a list

    Is this resolved now?


    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  6. #6
    Registered User
    Join Date
    04-08-2023
    Location
    India
    MS-Off Ver
    window 11
    Posts
    2

    Re: Counting the number of unique values within a list

    =SUM(--(LEN(UNIQUE(FILTER(range,criteria,"")))>0)) this is a generic formula
    Tech Savvy

+ 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. counting unique values in a list, using if statement. need help
    By jousley in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-31-2016, 09:00 PM
  2. [SOLVED] Counting Number of Unique Values in a List based on Criteria
    By greencroft in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-03-2014, 04:00 AM
  3. [SOLVED] Counting unique values (text or number) in one column
    By djaurit in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-06-2012, 03:13 PM
  4. Counting unique values in list of 200 000 rows
    By kingoftheace in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2012, 06:12 AM
  5. [SOLVED] Counting number of unique values/findings
    By Saturn in forum Excel General
    Replies: 8
    Last Post: 04-09-2012, 10:17 AM
  6. counting unique values from list with specific criteria
    By derekjames in forum Excel General
    Replies: 2
    Last Post: 12-16-2011, 06:28 PM
  7. Help with counting number of unique values.
    By ra11 in forum Excel General
    Replies: 7
    Last Post: 07-23-2009, 11: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