+ Reply to Thread
Results 1 to 6 of 6

=COUNTA function not working properly

  1. #1
    Forum Contributor
    Join Date
    01-23-2020
    Location
    Namibia
    MS-Off Ver
    2016
    Posts
    110

    =COUNTA function not working properly

    Hi i have this formula

    Please Login or Register  to view this content.
    i use a userform for when i click on pass, the word pass is displayed in another cell

    what i want to happen is when the cells are blank a 0 (zero) must be displayed
    Attached Files Attached Files
    Last edited by Stona; 10-22-2020 at 08:21 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: =COUNTA function not working properly

    The file you uploaded does return zero when C1:C7 are blank since it's counting the number of "Pass" words which is zero.

    Please clarify.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    01-23-2020
    Location
    Namibia
    MS-Off Ver
    2016
    Posts
    110

    Re: =COUNTA function not working properly

    i want the formula to automaticaaly count the blank cells and put the total in C10

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: =COUNTA function not working properly

    I think you'd use COUNTBLANK for that.

    Your file indicates you might want something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Contributor
    Join Date
    01-23-2020
    Location
    Namibia
    MS-Off Ver
    2016
    Posts
    110

    Re: =COUNTA function not working properly

    range is from D8 to D14.

    function should count all the words with the name "Pass" . if three cells has the word it must return the value of 3 in cell D16.

    if all the cells in the range has zero value empty cells, it must count it and return 6 in cell D16.

    the range will always only have the word Pass or blank cells in it

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: =COUNTA function not working properly

    Not sure why you've changed the range but here's some examples

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Non-blank entry present


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Count blanks


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Count zero or blanks


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Count non-blanks


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Count "pass"


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Count non "pass"

+ 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. IF OR AND Function not working properly
    By cbrazeau in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2020, 10:06 AM
  2. [SOLVED] IF Function Not working properly
    By kgtrader in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-31-2020, 07:52 AM
  3. [SOLVED] SUM/COUNTA Function Not Working On Cell Data Generated from SUM Function
    By pexeterblue43 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-15-2018, 03:47 PM
  4. [SOLVED] Max Function Not Working Properly
    By STU22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-25-2015, 07:41 PM
  5. Day Function Not Working Properly
    By clh7837 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 12:51 PM
  6. How to use counta properly?
    By jgomez in forum Excel General
    Replies: 4
    Last Post: 03-23-2011, 04:51 PM
  7. Function CountA not working... Why????
    By Frustrated1 in forum Excel General
    Replies: 2
    Last Post: 02-17-2010, 11:49 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