+ Reply to Thread
Results 1 to 6 of 6

Using Countifs that can exclude 0 values

  1. #1
    Registered User
    Join Date
    09-01-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    12

    Using Countifs that can exclude 0 values

    Hello Community,

    I am currently working on a report where I have sets of data with 0 values that I cannot remove from the table. In order for me to count the items with more than 1 value I uses this formula =COUNTIFS(A1:A10,"Project",B1:B2,"OPPID",C1:C2,"January",D1:D2,"2016") but the problem right now is the formula is also counting items with 0 values.

    I there any formula that I could use where it will not count items with 0 values?

    Many thanks in advance
    Last edited by Ex-xcel; 09-29-2016 at 12:19 AM. Reason: Problem Solved

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Using Countifs that can exclude 0 values

    Hi -

    Can you post a sample spreadsheet (not an image) with any sensitive data removed so we can see specifically what the problem is? Also, provide a couple of examples with the result you expect.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Using Countifs that can exclude 0 values

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    A1:A10?

  4. #4
    Registered User
    Join Date
    09-01-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Using Countifs that can exclude 0 values

    Hello - please see attached sample table. Thanks
    Attached Files Attached Files

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Using Countifs that can exclude 0 values

    In G4 try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by José Augusto; 09-28-2016 at 11:55 AM. Reason: Address of January and Year

  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Using Countifs that can exclude 0 values

    Hi

    g4=COUNTIFS($B$4:$B$23,F4,$C$4:$C$23,$F$3,$D$4:$D$23,">"&0) copy down

+ 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. [SOLVED] COUNTIFS forumulas that can exclude criteria in a range
    By jholiday78 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-05-2015, 12:00 PM
  2. Exclude blank cells from COUNTIFS formula
    By Leahsco in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-05-2014, 11:45 AM
  3. Replies: 5
    Last Post: 05-04-2014, 10:56 AM
  4. [SOLVED] =sum(countifs(range,{not this, not this, nor this} -How to exclude criteria in this manner
    By nscarritt in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-26-2014, 04:00 PM
  5. [SOLVED] How do I exclude a value using COUNTIFS function for multiple columns
    By kyknifeman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-10-2014, 07:16 AM
  6. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  7. Exclude values and delete remaining values
    By BJ5352 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2011, 02:36 AM

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