+ Reply to Thread
Results 1 to 4 of 4

COUNTIF not returning expected result

  1. #1
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    MS 365 apps for business
    Posts
    63

    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 06:38 PM.

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

    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)
    Where there is a will there are many ways.

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

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

  3. #3
    Registered User
    Join Date
    06-25-2011
    Location
    Chicago, IL
    MS-Off Ver
    MS 365 apps for business
    Posts
    63

    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
    MS 365 apps for business
    Posts
    63

    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.6.0 RC 1