+ Reply to Thread
Results 1 to 3 of 3

Countif not counting correctly...

  1. #1
    Registered User
    Join Date
    02-17-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    4

    Countif not counting correctly...

    Hey all, I have searched the forums and google quite thoroughly and haven't found the answer I am looking for.

    I am having trouble with my COUNTIF function. I made a sheet with 4 cells (range a1:d1) all containing the word "yes" in them. I enter =COUNTIF(A1:D1, "yes") into cell D2 and it gives "3" as a result, when clearly the answer is 4. This happens regardless if I change the range to A1:Z1000 or anything of the sort.

    Can anyone explain what is going on here? Thanks for you help!
    Last edited by NBVC; 02-18-2012 at 10:30 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 not counting correctly...

    check that each of the A1:D1 cells not contain any extra spaces in them...
    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
    02-17-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Countif not counting correctly...

    Bwahaha, thanks! I knew it would be something incredibly simple. In all seriousness though I greatly appreciate the help!

+ 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