Closed Thread
Results 1 to 2 of 2

Counting the number of different duplicates in a list

  1. #1
    Registered User
    Join Date
    06-12-2014
    Location
    South Africa
    MS-Off Ver
    365
    Posts
    7

    Counting the number of different duplicates in a list

    I have a list (a column of cells, say) of numbers. These will be recalculated continuously as part of an optimization routine.
    I need to generate another column that lists the number of different duplicates in the original list. (e.g. this is what the Tally command does in Mathematica.)
    For example:
    21 7 3 7 7 3 => 3 2 1
    21 7 3 7 21 2 => 2 2 1 1
    21 7 3 2 1 0 => 1 1 1 1 1 1
    Because of the recalculations this has to be by formula, not code.

  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: Counting the number of different duplicates in a list

    Administrative Note:

    This is essentially the same as your other thread, it's certainly using the same data with similar requirements. On that basis it's a duplicate thread, and you are allowed only ONE thread per issue here. In any case it's to your advantage to have those who have previously helped able to see a continuation of your request

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-gen...ml#post5199667
    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.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Counting number of occurences of duplicates
    By Svennex in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-02-2019, 05:58 AM
  2. [SOLVED] Counting number of people per day, but not duplicates
    By Strongbad42 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-16-2019, 01:19 AM
  3. Replies: 3
    Last Post: 01-08-2014, 04:17 PM
  4. [SOLVED] Need a forumula for counting a list of servers, but not the duplicates
    By Stormy4757 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-04-2013, 02:18 PM
  5. Replies: 3
    Last Post: 05-21-2013, 12:41 PM
  6. Replies: 13
    Last Post: 03-14-2011, 03:50 PM
  7. Replies: 0
    Last Post: 08-28-2005, 10:37 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