+ Reply to Thread
Results 1 to 3 of 3

Counta

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Question Counta

    hello and good afternoon
    I am trying to count only the cells that have text in them. I tried COUNTA formula because i thought that was the formula that counted non-blank cells only...
    am i missing something here?

    CONCERNED

    HS

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Counta

    COUNTA returns the count of all non-blank cells...including cells that contain: Numbers, Text, text-blanks (=""), etc
    Try somethng like this to count text cells with one or more characters:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    1) The "?" in the COUNTIF function represents 1 mandatory character.
    2) That formula ONLY works for text and numeric text. It ignores numbers.

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Counta

    COUNTA will count all cells in a range that are not blank. That means they can have text, numbers, dates, errors, etc. and still be counted. If you truly only want to count cell with TEXT in them (not numbers, dates, etc.), then use something like this:

    =SUMPRODUCT(--(ISTEXT(A1:A25)))

    *Assumes your range is A1:A25

    - Moo

    Note: Mine will include blanks that are results of formulas... so might not be what you need? Ron's looks like it would do...
    Last edited by Moo the Dog; 11-14-2013 at 01:54 PM.

+ 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. COUNTA What am I not seeing?
    By g48dd in forum Excel General
    Replies: 13
    Last Post: 02-06-2011, 03:08 PM
  2. Using CountA
    By DesmondLeo in forum Excel General
    Replies: 1
    Last Post: 07-10-2009, 01:11 AM
  3. [SOLVED] counta and
    By luvthavodka in forum Excel General
    Replies: 2
    Last Post: 07-05-2005, 07:07 PM
  4. [SOLVED] using COUNTA
    By DougMc in forum Excel General
    Replies: 4
    Last Post: 05-29-2005, 08:05 PM
  5. COUNTA IF(NOT)
    By jiwolf in forum Excel General
    Replies: 2
    Last Post: 03-25-2005, 04:06 PM

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