+ Reply to Thread
Results 1 to 3 of 3

Adjust formula to ignore duplicates

  1. #1
    Registered User
    Join Date
    08-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    16

    Adjust formula to ignore duplicates

    The following formula works fine; but it takes into consideration the duplicates. How can I change it to count any repeat numbers only once?

    =COUNTIFS(Assignment_3000_38,">"&0, plant_3000_38,"="&C220,posting_date_3000_38,">="&'Months & Dates'!$C$7,posting_date_3000_38,"<="&'Months & Dates'!$D$7)

    Thanks

  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
    52,926

    Re: Adjust formula to ignore duplicates

    add a helper column and use =countif()=1 to ID the dups, and then include that helper in the countifS() using TRUE as the criteria
    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 Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Adjust formula to ignore duplicates

    Can you post some sample data and tell us what result you expect?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Replies: 12
    Last Post: 07-04-2013, 07:26 AM
  2. Copy Rows - Ignore duplicates
    By revenge4ash89 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-17-2012, 06:12 PM
  3. Sum Countif formula but ignore duplicates
    By TiLa in forum Excel General
    Replies: 5
    Last Post: 01-12-2012, 04:22 AM
  4. Ignore Duplicates in Counts
    By dfq in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2007, 03:11 AM
  5. Ignore Duplicates
    By felicsx in forum Excel General
    Replies: 0
    Last Post: 08-23-2006, 03:55 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