+ Reply to Thread
Results 1 to 4 of 4

Thread: COUNTIF not returning expected result

  1. #1
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    12

    COUNTIF not returning expected result

    Why isn't my COUNTIF function in cell M3 returning 2?

    Thanks for any help!
    Attached Files Attached Files
    Last edited by zpenacho; 01-20-2012 at 05:38 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: COUNTIF Help Please

    the cell reference in the criteria should not be in quotes:

    either:

    =COUNTIF(B$3:B$17,"="&$P$7)

    or

    =COUNTIF(B$3:B$17,$P$7)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: COUNTIF not returning expected result

    That worked, thanks so much! Now I'm having trouble to get COUNTIF with a nested OR to work in cell M10. It should return 5, but once again I'm getting 0. I don't want to use COUNTIFS as my client is using '03.

    Thanks for any help.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: COUNTIF not returning expected result

    Didn't figure out the OR, but did use COUNTIF + COUNTIF... COUNTIF and that seemed to work.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0