+ Reply to Thread
Results 1 to 4 of 4

Countif Excluding and including parameters

  1. #1
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Countif Excluding and including parameters

    Hello Friends

    Please find the attached 2010 excel file <Excluding and Including 151115>.

    I want to count for `Q' and `S' (Cells K1:K2) in Column E, by excluding `A', `C' in Column A (Cells G1:G2), by excluding `N', `O' in Column B (Cells H1:H2), by excluding `Y' in Column C (Cell I1), by excluding `1' in Column D (Cell K1:K2).

    The answer need to be plot in light yellow cell L1.

    Please refer the `Filter' Sheet for Filter example Light Yellow cells shows count `39'.

    Kindly refer sheet `Sheet3' for 1 example.

    I tried the below formula but it shows error <=SUMPRODUCT(--(NOT(ISNUMBER(MATCH($A$1:$A$1000,$G$1:$G$7,0)))),--(NOT(ISNUMBER(MATCH($B$1:$B$1000,$H$1:$H$7,0)))),--(NOT(ISNUMBER(MATCH($C$1:C$1000,I$1:I$7,0)))),--(NOT(ISNUMBER(MATCH($D$1:D$1000,J$1:J$7,0))))--((ISNUMBER(MATCH($E$1:E$1000,K$1:K$7,0)))))>.

    http://www.excelforum.com/excel-form...ml#post4236012

    thanks in advance

    thilag
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Countif Excluding and including parameters

    Why 39? As I saw in Filter sheet, after filtering first 4 columns, there is no Q or S in column 5 to count. The result must be 0, or I missed something?
    Quang PT

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Countif Excluding and including parameters

    Anyway, try:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Countif Excluding and including parameters

    Yes, it is error, but my requirement is to exclude G1:J2 (Exclude A, C, N, O, Y, 1) in respective columns and include i.e., count for T, if so then the result should be 39. But your formula shows 58 (58 = 19+39, Counted 19 including blank cells in the column A:D). This blank should be avoided.

    thanks
    thilag

+ 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] SUM dynamic range, excluding total row and including a stopping point
    By shedsomeskin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-29-2015, 01:39 PM
  2. Replies: 21
    Last Post: 11-10-2014, 12:15 AM
  3. [SOLVED] Formula for Last 30 Days Excluding Saturday, but including Sunday
    By AlphaSkidz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-08-2013, 02:23 PM
  4. List Dates Excluding Holidays but Including weekends
    By GuyHudson in forum Excel General
    Replies: 6
    Last Post: 09-22-2010, 05:58 AM
  5. Replies: 3
    Last Post: 03-31-2008, 01:27 PM
  6. Calculate workdays between two dates (including Saturdays, excluding holidays)
    By Sean Anderson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-12-2007, 12:22 AM
  7. Workday function including sat, excluding sun
    By Handyy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-23-2006, 02:35 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