+ Reply to Thread
Results 1 to 5 of 5

Need help with counting duplicate numbers only once.

  1. #1
    Registered User
    Join Date
    01-26-2017
    Location
    Stockholm
    MS-Off Ver
    2016
    Posts
    3

    Need help with counting duplicate numbers only once.

    How do I make a formula that will count values in a column only once

    I would like to look something like this:

    Number Count
    111 1
    111 0
    111 0
    111 0
    222 1
    222 0
    222 0
    222 0
    555 1
    555 0
    555 0
    666 1
    666 0
    666 0


    I would really appreciate some help, thanks!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help with counting duplicate numbers only once.

    Hi and welcome to the (currently slow!) forum

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,416

    Re: Need help with counting duplicate numbers only once.

    Assuming your first number is in A2, you can put this formula in B2:

    =--(COUNTIF(A$2:A2,A2)=1)

    then copy down.

    Hope this helps.

    Pete

    EDIT: You may have to use a semicolon ( ; ) instead of the comma ( , ) in the formula.

    Pete

  4. #4
    Registered User
    Join Date
    01-26-2017
    Location
    Stockholm
    MS-Off Ver
    2016
    Posts
    3

    Re: Need help with counting duplicate numbers only once.

    It works, thank you very much!!

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,416

    Re: Need help with counting duplicate numbers only once.

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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] Matching a duplicate row of numbers in a list of numbers in rows
    By sgrondines in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-18-2015, 09:24 AM
  2. Replies: 3
    Last Post: 10-30-2014, 03:57 PM
  3. count alphanumeric codes only counting odd numbers not even numbers?
    By JACKBKNIMBLE in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-25-2013, 02:43 PM
  4. Counting duplicate numbers in a string
    By abbccc in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 04-21-2013, 09:41 AM
  5. Replies: 3
    Last Post: 12-23-2012, 08:53 PM
  6. need help with counting criteria without counting duplicate rows
    By lya in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2012, 10:14 PM
  7. [SOLVED] Counting Duplicate Entries
    By No_name in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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