+ Reply to Thread
Results 1 to 10 of 10

Help with countifs function

Hybrid View

  1. #1
    Registered User
    Join Date
    09-25-2013
    Location
    myob,ok
    MS-Off Ver
    Excel 2007
    Posts
    63

    Help with countifs function

    How do I edit the function to below to not count if in cell M16 the value is "solved"
    Thank you for your help.

    =COUNTIFS(A16:A9000,C2,N16:N9000,"<=0")

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with countifs function

    I think that this is what you are looking for.

    Formula: copy to clipboard
    =IF(M16="solved","",COUNTIFS(A16:A9000,C2,N16:N9000,"<=0"))
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    09-25-2013
    Location
    myob,ok
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Help with countifs function

    No that's not it. The function you gave me does not give any value if "solved" entered M16:M9000.

    It is my fault, I should have phrased my question better. I want the function to count, I just want it to ignore any count with "solved" in M16:M9000.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with countifs function

    This is getting to be embarrassing. I check to see if there is a reply then reply only to find that there was a reply....Sorry Martin.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with countifs function

    just extend the logic
    =COUNTIFS(A16:A9000,C2,N16:N9000,"<=0",M16:M9000,"<>solved")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with countifs function

    This will not count the values if the matching value in column M is SOLVED.

    Formula: copy to clipboard
    =COUNTIFS(A16:A9000,C2,N16:N9000,"<=0",M16:M9000,"<>Solved")

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with countifs function

    happens to us all i usually make sure the formula is correct without typos before posting often leading to posting exactly the same as the poster before me

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with countifs function

    Unfortunately, I seem to be plagued by it. Sometimes there are answers that have been there for quite a while but I don't see them. Refreshing the page doesn't seem to help.

  9. #9
    Registered User
    Join Date
    09-25-2013
    Location
    myob,ok
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Help with countifs function

    Thank you both so much. Apparently I cannot add reputation twice in the same post. But I sincerely thank you Martin for helping me.
    As well as you newdoverman.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with countifs function

    Thank you for the feedback.

    Any time you see an answer from martindwilson, you can bet on it being very good. I always look for his answers in threads that I participate in and I learn a lot from them.

+ 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 function...
    By ericarodgers in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2013, 01:34 AM
  2. [SOLVED] COUNTIFS Function Help
    By Sandpit in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-29-2012, 12:55 PM
  3. [SOLVED] Using COUNTIFS function
    By Karnik in forum Excel General
    Replies: 2
    Last Post: 11-12-2012, 01:01 AM
  4. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  5. CountIFS using an OR function
    By Maudise in forum Excel General
    Replies: 6
    Last Post: 08-09-2010, 10:47 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