+ Reply to Thread
Results 1 to 8 of 8

Countifs not working

  1. #1
    Registered User
    Join Date
    07-06-2015
    Location
    Phoenix , AZ
    MS-Off Ver
    2010
    Posts
    47

    Unhappy Countifs not working

    Hello all I am trying to do a countifs with the formula below and its not working I am not sure what I am doing wrong.


    Please Login or Register  to view this content.
    =COUNTIFs(Data!F:K,CI4,Q:Q,">0",S:S,"Yes")
    Please Login or Register  to view this content.
    I think the issue is the range F:F through K:K but I am not sure how to put it?

    Any help please!

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: Countifs not working

    are all the data on the same sheet?

    you can try the long putting the range F:K separately on the formula
    If I've helped U pls click on d *Add Reputation

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Countifs not working

    All the ranges in countifs must be equally dimensioned.
    You can't have 1 range that is 6 columns, bu thte others are only 1 column.

    Try
    =SUMPRODUCT(--(((Data!F$1:F$1000=CI4)+(Data!G$1:G$1000=CI4)+(Data!H$1:H$1000=CI4)+(Data!I$1:I$1000=CI4)+(Data!J$1:J$1000=CI4)+(Data!K$1:K$1000=CI4))>0),--(Data!Q$1:Q$1000>0),--(S$1:S$1000="Yes"))

  4. #4
    Registered User
    Join Date
    07-06-2015
    Location
    Phoenix , AZ
    MS-Off Ver
    2010
    Posts
    47

    Re: Countifs not working

    Thank you I tried it but I get a "REF" I guess it is the range . I am going to have to do just do a helper column then. Thank you for your help though.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Countifs not working

    You're welcome.

    And by the way, Helper columns are NOT a bad thing....
    That's why they're called 'Helper', because they Help.

  6. #6
    Registered User
    Join Date
    07-06-2015
    Location
    Phoenix , AZ
    MS-Off Ver
    2010
    Posts
    47

    Re: Countifs not working

    This is true I just wanted to have a more cleaner version but I do appreciate the help

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Countifs not working

    Can you post a SMALL sample file and show us what result you expect?

    A SMALL file will have about 20 rows worth of data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  8. #8
    Registered User
    Join Date
    07-06-2015
    Location
    Phoenix , AZ
    MS-Off Ver
    2010
    Posts
    47

    Re: Countifs not working

    Ok I am trying to post it now

+ 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. (VBA) COUNTIFS using MID not working
    By newbi004 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2015, 08:11 AM
  2. [SOLVED] CountIfS not working as expected
    By rschoenb in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-12-2014, 11:45 PM
  3. VBA Countifs not working with date
    By mcasserl in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-30-2014, 05:42 PM
  4. Please help, I can't figure out why countifs( isn't working
    By Blackhawks in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-10-2014, 09:56 PM
  5. [SOLVED] { } not working in countifs
    By Chetansuri in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2014, 04:46 AM
  6. [SOLVED] countifs working on extended ranges and different sheets not working
    By etaf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2013, 02:23 PM
  7. COUNTIFS not working
    By nosenga in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-13-2011, 04:38 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