+ Reply to Thread
Results 1 to 5 of 5

Non-adjacent cells and COUNTIF

  1. #1
    Registered User
    Join Date
    03-02-2015
    Location
    Broomfield, CO
    MS-Off Ver
    Microsoft 365
    Posts
    6

    Non-adjacent cells and COUNTIF

    I have a series of non-adjacent cells with just user input numbers in them. I want to look at each cell, determine whether the value is <10, and count how many meet that criterion. I've tried the COUNTIF function, but it tells me I have "too many arguments for this function". Yet, if I pick a series of adjacent cells, it works fine. I'm fairly novice at functions. Is there a different function I should be using?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Non-adjacent cells and COUNTIF

    With 365 try this

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


    replace the list of cells with your actual cells
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Non-adjacent cells and COUNTIF

    The COUNTIFS() function allows for multiple criteria ranges. https://support.microsoft.com/en-us/...rs=en-us&ad=us
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    03-02-2015
    Location
    Broomfield, CO
    MS-Off Ver
    Microsoft 365
    Posts
    6

    Re: Non-adjacent cells and COUNTIF

    Perfect!! Thank you so much!!

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Non-adjacent cells and COUNTIF

    Quote Originally Posted by MrShorty View Post
    The COUNTIFS() function allows for multiple criteria ranges. https://support.microsoft.com/en-us/...rs=en-us&ad=us
    What that will do is AND together the conditions for each range, rather than counting discontinuous ranges cumulatively. And IIRC the ranges have to be the same shape. That is,
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    will count as 1 if A1 and B1 are both <10, plus 1 if A2 and B2 are both <10, and plus 1 if A3 and B3 are both <10. It sounds to me like the OP wants the equivalent of
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Countif and sum adjacent cells
    By belpal in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2016, 05:42 PM
  2. Countif - No Adjacent Cells
    By windme in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-17-2008, 02:56 PM
  3. [SOLVED] How do I use countif across non-adjacent cells?
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM
  4. How do I use countif across non-adjacent cells?
    By Nick in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. [SOLVED] How do I use countif across non-adjacent cells?
    By Nick in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] How do I use countif across non-adjacent cells?
    By Nick in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. How do I use countif across non-adjacent cells?
    By Nick in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-08-2005, 11:05 PM

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