+ Reply to Thread
Results 1 to 4 of 4

Cutting down a list and providing a number of duplicates.

  1. #1
    Registered User
    Join Date
    12-24-2012
    Location
    Canada, Eh!?
    MS-Off Ver
    Office
    Posts
    17

    Cutting down a list and providing a number of duplicates.

    Hi There,

    I'm pulling data from my servers (alarms) and have roughly 10 alarm points, reporting 9000 alarms. I've been able to pull them off the server on an excel file, have been able to sort them, but would like to venture into the hope that there is some sort of formula that would take the duplicate alarms(cell a1-a9000), delete them, and report how many duplicates were removed from the list in cell b1-b10

    xyz
    xyz
    xyz
    xyz
    123
    123
    zzz

    ---

    Hoping somehow it could be turned into
    "xyz 4"
    "123 2"
    "zzz 1"

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: Cutting down a list and providing a number of duplicates.

    you could put all the unique entries in B and then count them in c

    =INDEX($A$2:$A$400, MATCH(0, COUNTIF($B1:B$1, $A$2:$A$400), 0)) - enter as an array using control+shift+enter
    abd then do a
    Countif($A$2:$A$400, B2)

  3. #3
    Registered User
    Join Date
    04-30-2013
    Location
    London, United States
    MS-Off Ver
    Excel 2013
    Posts
    74

    Re: Cutting down a list and providing a number of duplicates.

    yep, either that, or, use a macro!

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Cutting down a list and providing a number of duplicates.

    Hi mdurkin

    Or a pivot table. See the attached.

    etaf, the index function in your post doesn't need to be entered as a array formula.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

+ 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