+ Reply to Thread
Results 1 to 3 of 3

COUNTIFS to remove duplicates

  1. #1
    Registered User
    Join Date
    11-04-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    24

    COUNTIFS to remove duplicates

    Hello,

    So i have a list of account names in column D and I would like to remove the duplicates.

    So far I have an array formula that works:

    Please Login or Register  to view this content.
    (Although if there is a way of having the whole of column D that would be better as D:D doesn't seem to work).

    I would now like to add in another 'if' so that it only counts the duplicates from column C if it has a specific persons name that owns that active account.

    I appreciate any help!

    Thank you!

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: COUNTIFS to remove duplicates

    hi there. just for your info, you could have avoided the array formula by using:
    =SUMPRODUCT(('Active Accounts'!D2:D2000<>"")/COUNTIF('Active Accounts'!D2:D2000,'Active Accounts'!D2:D2000&""))

    but for your requirement of a criteria, you would have to use an array formula again:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-04-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    24

    Re: COUNTIFS to remove duplicates

    Thank you very much, that seems to have worked.

    However if there is a gap or blank cell in column D then it gives up an error. Is there any way around this?

    Thank you

+ 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. Remove duplicates function not removing duplicates
    By Berilium2 in forum Excel General
    Replies: 3
    Last Post: 04-01-2015, 06:55 AM
  2. COUNTIFS with no duplicates
    By dasseya1 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-23-2013, 04:09 AM
  3. Replies: 1
    Last Post: 10-23-2012, 09:12 AM
  4. COUNTIFS and Duplicates
    By connorwfarrell in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-05-2012, 04:17 AM
  5. Replies: 5
    Last Post: 02-28-2012, 02:52 PM
  6. Need VBA code to remove entries if there are duplicates (remove them totally)
    By BrandonFromSingapore in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2012, 12:50 AM
  7. Replies: 2
    Last Post: 03-20-2011, 11:19 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