+ Reply to Thread
Results 1 to 4 of 4

Count number of cells excluding duplicates

  1. #1
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Count number of cells excluding duplicates

    I am aware of count and counta


    I would like to know if we can perform a count or counta excluding the duplicate entires in a range i.e A1:A1000


    Range - 100 Entries

    Original Entires - 300
    Duplicate Entries - 700

    Expected Result of =Count should be 300

    Please advise

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Count number of cells excluding duplicates

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Count number of cells excluding duplicates

    Try this

    =SUM(IFERROR(1/COUNTIF(A1:A10,A1:A1000),0))

    ARRAY formula is used

    To enter ARRAY formula
    Paste the formula
    Press F2
    Press Ctrl+Shift+Enter keys together.
    Last edited by kvsrinivasamurthy; 03-14-2015 at 12:19 PM.

  4. #4
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Count number of cells excluding duplicates

    sorry for the delayed response... this is what i was exaactly i was lookin for... thanks 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. cell word count excluding duplicates
    By genexer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2014, 03:27 AM
  2. Pivot count excluding duplicates
    By Tom_J_W in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-02-2013, 03:14 AM
  3. !HELP! how to count the number of records excluding blank cells
    By eksel_101 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-21-2012, 11:28 PM
  4. Replies: 11
    Last Post: 07-05-2006, 02:15 PM
  5. Count excluding Duplicates
    By GRM via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-15-2005, 05:10 PM

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