+ Reply to Thread
Results 1 to 3 of 3

COUNTA or COUNTIF to count cells -mix of numbers and alphanumerics

  1. #1
    Registered User
    Join Date
    10-05-2015
    Location
    Vancouver
    MS-Off Ver
    Office 2010
    Posts
    5

    COUNTA or COUNTIF to count cells -mix of numbers and alphanumerics

    Hi,

    I'm trying to count cells with numbers and alphanumerics but COUNTA seems to only count cells with letters.
    I just need a hand to point me in the right direction.
    Any help is appreciated!

    Attached example where Instances of Code column counts the number of cells for B, D, and F

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: COUNTA or COUNTIF to count cells -mix of numbers and alphanumerics

    Hi,

    CountA will count both numbers and text. See
    https://support.office.com/en-us/art...2-53F3219E2509

    See if this link explains more about the different count functions:
    http://www.contextures.com/xlFunctions04.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    10-05-2015
    Location
    Vancouver
    MS-Off Ver
    Office 2010
    Posts
    5

    Re: COUNTA or COUNTIF to count cells -mix of numbers and alphanumerics

    It looks like the issue was the Blank Cells - there was an IFERROR formula which left a blank in a cell but it Excel didnt see it at blank. Those blank cells were being counted so COUNTA didn't work. I did a find/replace for all blank cells and replaced it with a unique word not used in the sheet and replace that with find/replace to blank out the cells. Now COUNTA works.

    thanks!

+ 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] CountA & CountIF using specific cells selection
    By DHFE in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-11-2014, 09:31 AM
  2. Extraction of numbers between alphanumerics
    By Chippi in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-17-2014, 04:12 AM
  3. Using CountA to count cells of a certain color
    By Richard2012 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2012, 03:16 PM
  4. Countif, Count, Offset, Counta and Charts
    By riyo91 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-29-2010, 06:46 AM
  5. Replies: 7
    Last Post: 02-19-2010, 09:23 AM
  6. How to count numbers with function COUNTIF?
    By toplisek in forum Excel General
    Replies: 7
    Last Post: 02-02-2008, 12:18 PM
  7. [SOLVED] Errors in COUNT, COUNTA, COUNTIF when counting merged cells
    By Outback in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-07-2006, 12:35 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