+ Reply to Thread
Results 1 to 5 of 5

COUNT function does not count values beginning with text

  1. #1
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    COUNT function does not count values beginning with text

    Have this formula to evaluate a range:

    =COUNT(A2:A1000)

    If some of the values in COL A begin with a letter (not a number), it will ignore that item in the COUNT result.

    Is there a formula that will correctly return the number of non blank cells? COL A can contain either numbers, text, or combinations of letters & numbers in the cells value.

    TIA for any ideas on this.

    Pete

  2. #2
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Columbus Ohio
    MS-Off Ver
    Excel 2010
    Posts
    137

    Re: COUNT function does not count values beginning with text

    Yes, =COUNTA() should count all non empty cells

  3. #3
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: COUNT function does not count values beginning with text

    Thank you jonboy6257. I'd tried the COUNTA.

    Unfortunately, the range it's evaluating contain formulas, and many contain a "".

    COUNTA seems to interpret that as a non-empty cell, even though it appears blank.

    Need to count the number of values that have actually been returned.

    Thanks for ideas.

    Pete
    Last edited by PeteABC123; 11-15-2013 at 06:06 PM.

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: COUNT function does not count values beginning with text

    =COUNTIF(A1:A6,"<>"&"")

    Azumi

  5. #5
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: COUNT function does not count values beginning with text

    Many thanks azumi.

+ 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. Count Number Of lines in text files and append values to beginning of file
    By motoxeryz125 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2011, 11:14 PM
  2. [SOLVED] Count Intervals of Filtered TEXT values in Column and Return Count across a Row
    By Domenic in forum Excel Formulas & Functions
    Replies: 46
    Last Post: 09-06-2005, 07:05 PM
  3. Replies: 18
    Last Post: 09-06-2005, 06:05 AM
  4. [SOLVED] Count Intervals of Filtered TEXT values in Column and Return Count across a Row
    By Sam via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. [SOLVED] Count Intervals of Filtered TEXT values in Column and Return Count across a Row
    By Sam via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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