+ Reply to Thread
Results 1 to 2 of 2

Count if a cell has repeating values

  1. #1
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    217

    Count if a cell has repeating values

    I have a long list of numbers & some cells are blank & others have NA. I would like to count all the cells that has a repeating value so for example:

    1835073
    1611044
    1681644
    1510431
    1630061
    1842588

    The returned value would be 4 = 1 (1611044) + 1 (1681644) + 1 (1630061) + 1 (1842588) because these cells have a repeating number somewhere in the string of text.

    I tried using this formula however I get a weird number & instead of sitting here killing myself reading over 46 thousand records, I need the formula to do the counting for me!

    Please Login or Register  to view this content.
    Would there be a different formula if the cell was text? Thank you for any help in advance!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,987

    Re: Count if a cell has repeating values

    This is a difficult problem for Excel. The formula you showed first counts the number of cells that have two characters (any two characters, not matching characters), then gives the sum of that count. That is probably why you get a weird number.

    I could not figure out how to do this with numbers. I had to add a helper column to convert the numbers to text. Then I used this formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Looking for a way for excel to count unknown repeating values?
    By Bernie Deitrick in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 03:05 PM
  2. Looking for a way for excel to count unknown repeating values?
    By Kblue74 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  3. [SOLVED] Looking for a way for excel to count unknown repeating values?
    By Kblue74 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. [SOLVED] Looking for a way for excel to count unknown repeating values?
    By Bernie Deitrick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  5. Looking for a way for excel to count unknown repeating values?
    By Bernie Deitrick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] Looking for a way for excel to count unknown repeating values?
    By Kblue74 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. Looking for a way for excel to count unknown repeating values?
    By Kblue74 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. Looking for a way for excel to count unknown repeating values?
    By Kblue74 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-19-2005, 12:05 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