+ Reply to Thread
Results 1 to 3 of 3

count duplicates in groups of 4

  1. #1
    Registered User
    Join Date
    11-27-2011
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2003
    Posts
    9

    count duplicates in groups of 4

    Hi,
    I need some help with vba macro.
    I have a table where column B has series of duplicate values. I need to count those duplicates in groups of 4 (column H) and then assign a group index on column I.
    The index value will be 1 for most of the groups unless the group is duplicate.
    My initial trial was to number the duplicates inside the group, but after this I’m stuck.
    Thanks in advance for you help.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-05-2011
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010 & 2013
    Posts
    308

    Re: count duplicates in groups of 4

    Hi

    Try this:

    Please Login or Register  to view this content.
    Hope this helps.

    Best regards, Rob.

  3. #3
    Registered User
    Join Date
    11-27-2011
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: count duplicates in groups of 4

    Thank you very much Rob,
    Everything works fine,
    Best Regards
    Alex BOtea

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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