+ Reply to Thread
Results 1 to 7 of 7

Require a formula to count the duplicates as they appear in a list

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Require a formula to count the duplicates as they appear in a list

    Hi I need a formula that will count only duplicate occurances in a list as per the example shown.

    Thanks in advance


    JD

    Example of desired outcome

    Col A Col B
    21

    1
    2
    3
    4
    5
    6
    7

    10 1
    10 2
    10 3
    17
    20
    25
    26 1
    29 1
    32

    8
    9
    13

    16
    18
    33
    34
    35
    36
    37
    38
    39

    40
    14
    15
    19
    22 1
    22 2
    22 3
    26 2
    28
    29 2
    31

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Require a formula to count the duplicates as they appear in a list

    Your post is confusing, as the column formatting is lost.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    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
    48,365

    Re: Require a formula to count the duplicates as they appear in a list

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


    Regards, TMS
    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


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

    Re: Require a formula to count the duplicates as they appear in a list

    Perhaps
    Please Login or Register  to view this content.
    in A1 and pull down as needed

  5. #5
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Require a formula to count the duplicates as they appear in a list

    Much appreciated, great answer guys both work very well.

    Cheers

    JD

  6. #6
    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
    48,365

    Re: Require a formula to count the duplicates as they appear in a list

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

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

    Re: Require a formula to count the duplicates as they appear in a list

    Quote Originally Posted by john dalton View Post
    Much appreciated, great answer guys both work very well.

    Cheers

    JD
    TMS's solution is shorter thus better, but then again that's why he is a Guru

+ 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] Require a formula to progressively count the instances and allocate a number to each
    By john dalton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2014, 10:45 AM
  2. [SOLVED] Require a formula to list requests against dates
    By john dalton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 06:15 AM
  3. [SOLVED] Require a formula to find the occupied cell in a list and return a value.
    By john dalton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2014, 10:16 AM
  4. [SOLVED] Require Help - Require Formula for Multiple values in both columns
    By krodge in forum Excel General
    Replies: 6
    Last Post: 01-13-2012, 03:42 AM
  5. Help require for a COUNT formula / function
    By sanjay.k.sahrma102 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-10-2011, 06:16 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