+ Reply to Thread
Results 1 to 11 of 11

what's wrong with my COUNTIF?

  1. #1
    Forum Contributor juntjoo's Avatar
    Join Date
    02-29-2008
    Location
    Cape Coral, FL
    MS-Off Ver
    Excel 2010 14.04.4760.1000
    Posts
    468

    what's wrong with my COUNTIF?

    it's in G4. The result should be 8. Thanks

    https://www.dropbox.com/s/sjacf0buf1k8qqk/bettor%20score.xlsx?dl=0
    Last edited by juntjoo; 12-17-2021 at 10:37 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: what's wrong with my COUNTIF?

    You have no formulas in G4 in any sheets

  3. #3
    Forum Contributor juntjoo's Avatar
    Join Date
    02-29-2008
    Location
    Cape Coral, FL
    MS-Off Ver
    Excel 2010 14.04.4760.1000
    Posts
    468
    Quote Originally Posted by davesexcel View Post
    You have no formulas in G4 in any sheets
    Sorry, linked to the wrong file. Please check my post again
    Excel 1.0.1 (16.0.14326.20140) (Android)
    Excel 2010 14.04.4760.1000

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,430

    Re: what's wrong with my COUNTIF?

    Attach the file here, please.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: what's wrong with my COUNTIF?

    You need to use this:

    =SUMPRODUCT(--(LEN(H8:H18)>0))

    to prevent "" containing cells (that just LOOK empty).
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Forum Contributor juntjoo's Avatar
    Join Date
    02-29-2008
    Location
    Cape Coral, FL
    MS-Off Ver
    Excel 2010 14.04.4760.1000
    Posts
    468

    Re: what's wrong with my COUNTIF?

    Thanks! How come they "just look empty"? What did I put in them? And what are the two hyphens you put in there for? And is there something in Excel I can use to check cells for invisible contents?

  7. #7
    Forum Contributor juntjoo's Avatar
    Join Date
    02-29-2008
    Location
    Cape Coral, FL
    MS-Off Ver
    Excel 2010 14.04.4760.1000
    Posts
    468

    Re: what's wrong with my COUNTIF?

    someone else, maybe another mod said it was okay to link to cloud file. The reason I wanted to do that was so I could make changes easily. Can I do it maybe with complicated issues that I may be working on the file while figuring out the solution?

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: what's wrong with my COUNTIF?

    The formuale in column H returned a "" if the criteria weren't met. Read this to see the difference between BLANK (in your case) and EMPTY cells. You need to use differnet formulae to count non-blank cells that contain formula blanks.

    isn't excel wonderful??

    https://colinlegg.wordpress.com/2014...pty/You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: what's wrong with my COUNTIF?

    I meant to add... a lot of people don't like downloading cloud files, for security reasons. TbH, I'm not sure it makes much difference if you have good antiviral software ( I use ESET ). But, it is much handier if the file is directly available here on the EF.

  10. #10
    Forum Contributor juntjoo's Avatar
    Join Date
    02-29-2008
    Location
    Cape Coral, FL
    MS-Off Ver
    Excel 2010 14.04.4760.1000
    Posts
    468

    Re: what's wrong with my COUNTIF?

    I'll just use cloud if it becomes complicated and I have to work with the file to help others help me figure out a solution

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: what's wrong with my COUNTIF?

    ??? I am confused. Did I solve your problem, or not? If not...what's wrong. Post a sheet showing where it didn't work.

+ 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] Why is COUNTIF counting wrong?
    By stevensimon10482 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-31-2017, 10:05 PM
  2. Countif in VBA returns wrong result.
    By bebo021999 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-05-2016, 02:33 AM
  3. [SOLVED] Countif resulting in wrong results
    By Krameht in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2015, 03:51 PM
  4. [SOLVED] =COUNTIF() - Check my formula - doing something wrong?
    By domgilberto in forum Excel General
    Replies: 35
    Last Post: 05-18-2014, 10:32 AM
  5. COUNTIF giving wrong results
    By Excel_vba in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-29-2013, 04:17 PM
  6. [SOLVED] What am I doing wrong with this COUNTIF formula?
    By AndyFox42 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-03-2013, 12:49 PM
  7. Countif results wrong
    By Markshr in forum Excel General
    Replies: 5
    Last Post: 02-08-2012, 02:56 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