+ Reply to Thread
Results 1 to 8 of 8

Count all items in a list without repeated values

  1. #1
    Registered User
    Join Date
    03-06-2021
    Location
    ecuador
    MS-Off Ver
    16.46
    Posts
    6

    Exclamation Count all items in a list without repeated values

    I want to count items in a list in excel but I don't want repeated values to be counted twice, what can I do? Please help!

  2. #2
    Forum Contributor
    Join Date
    11-25-2018
    Location
    Philippines
    MS-Off Ver
    Ms Office 365
    Posts
    217

    Re: Count all items in a list without repeated values

    =SUM(IF(COUNTIF(range, range)=1,1,0))

    CTRL+SHIFT+ENTER.

  3. #3
    Registered User
    Join Date
    03-06-2021
    Location
    ecuador
    MS-Off Ver
    16.46
    Posts
    6

    Re: Count all items in a list without repeated values

    It's not working :(
    Thank you though :)

    it's giving me an erroneous answer. I know that because I used the =unique()function to show the values that don't repeat over the list and then counted those values.

    This is what i want to achieve:
    I have a list of people but that list has some repeated names, so I want to count how many people I have on that list without counting the repeated ones.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Count all items in a list without repeated values

    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Count all items in a list without repeated values

    =SUMPRODUCT(1/COUNTIF(A1:A10,A1:A10))

    change A1:A10 to your data range
    Cheers
    Andy
    www.andypope.info

  6. #6
    Registered User
    Join Date
    05-15-2022
    Location
    detroit
    MS-Off Ver
    excel 2010 in windows 7
    Posts
    5

    Re: Count all items in a list without repeated values

    How do I count the number of items in a cell separated by commas i.e. cell A1 (goat, sheep, deer) and cell B1 is 3 the COUNT/number of items in cell A separated by comma, thank you . . .

    A B
    1 goat, sheep, deer 3

  7. #7
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Count all items in a list without repeated values

    Did you try a pivot table?
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Count all items in a list without repeated values

    @ rengeroni

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Count Repeated Items Once
    By greentea in forum Excel General
    Replies: 2
    Last Post: 03-31-2015, 04:55 PM
  2. [SOLVED] Enumerate repeated items in a list
    By BeeRMiNaToR in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-19-2013, 01:33 PM
  3. Replies: 3
    Last Post: 08-13-2012, 04:47 PM
  4. Count Repeated Items Once
    By longbow007 in forum Excel General
    Replies: 4
    Last Post: 06-29-2012, 07:33 AM
  5. [SOLVED] Calculate average price of repeated items in list
    By watney971 in forum Excel General
    Replies: 3
    Last Post: 03-28-2012, 11:04 AM
  6. How to count items that are not repeated in one row?
    By Lewis Koh in forum Excel General
    Replies: 2
    Last Post: 04-24-2011, 11:07 PM
  7. Excel 2007 : Count of repeated items in excel sheet
    By sashi4565 in forum Excel General
    Replies: 1
    Last Post: 12-22-2009, 11:12 AM

Tags for this Thread

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