+ Reply to Thread
Results 1 to 4 of 4

why is countif formula though correct, returns result 0

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    malaysia
    MS-Off Ver
    Office 365
    Posts
    18

    why is countif formula though correct, returns result 0

    I have a worksheet with students grades which i extracted using = from another sheet. why is my countif formula though correct, it only returns a zero.
    Have tried to change the grades as letters instead of the original = formula yet still doesnt work. Pls advise. Thanks a million.
    Attached Files Attached Files

  2. #2
    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
    44,053

    Re: why is countif formula though correct, returns result 0

    There is a space after A+ like this "A+ " in your original data.

    1. Remove it, (better) from your original data

    or

    2. Use =COUNTIF($E$3:$E$27,"A+ ") instead (messy and will catch you out endlessly).
    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

  3. #3
    Registered User
    Join Date
    08-20-2013
    Location
    malaysia
    MS-Off Ver
    Office 365
    Posts
    18

    Re: why is countif formula though correct, returns result 0

    Thanks a million Glenn for pointing it out. Issue resolved!!!

  4. #4
    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
    44,053

    Re: why is countif formula though correct, returns result 0

    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 click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. CountIF and CountIFS not returning correct result
    By liz61g in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-02-2022, 03:51 AM
  2. [SOLVED] COUNTIF - 3 Criterian not pulling through the correct result
    By caz6661 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-28-2019, 05:09 AM
  3. Countif in VBA returns wrong result.
    By bebo021999 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-05-2016, 02:33 AM
  4. [SOLVED] Formula for Predictions League - 3 points correct score or 1 point correct result
    By daveyboy1681 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-17-2016, 04:09 PM
  5. Replies: 7
    Last Post: 11-27-2015, 11:12 AM
  6. [SOLVED] Countif returns faulty result
    By boboivan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-23-2015, 12:01 PM
  7. isblank & vlookup formula returns #n/a result and incorrect result
    By helpmeplease333 in forum Excel General
    Replies: 5
    Last Post: 05-06-2012, 11:41 PM

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