Solved

Countif or counta to avoid counting "" cells

Posted on 2015-02-05
2
114 Views
Last Modified: 2015-02-05
Experts,

Here is a quick count question for text. I want to count the number of cells that has any text in it from A2 to A200. The twist is that some of the cells appear to be empty but actually are just result of "".

So, first try is countif(A2:A200, "*"). It did not work. It count those cells with "".

Second try is counta(A2:A200), still not working. And I see in excel help that counta actually count everything including "".

So, what is best way to do it? or there is a way to make  a "" cell to become a really empty cell?

Thanks,
RDB
0
Comment
Question by:ResourcefulDB
2 Comments
 
LVL 23

Assisted Solution

by:DanCh99
DanCh99 earned 100 total points
Comment Utility
=rows(A2:A200)-COUNTBLANK(A2:A200)
 - should do it...
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 400 total points
Comment Utility
Try this version to count text with 1 or more characters. It won't count "formula blanks" or numbers

=COUNTIF(A2:A200, "?*")

regards, barry
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now