COUNTA function

 

Excel COUNTA Function

Summary

The Excel COUNTA function returns the count of cells that contain numbers, text, logical values, error

 values and empty text ("").  COUNTA does not count empty cells.

Purpose

Count the number of non-blank cells

Return value

A number representing non-blank cells.

Syntax

=COUNTA (value1, [value2], ...) 


Arguments

• value1 - An item, cell reference or range.

• value2 - [optional] An item, cell reference or range.

The result will be 


Usage notes

The COUNTA function counts cells that contain numbers, text, logical values, error values and empty

text returned in formulas (""). COUNTA does not count cells that are completely empty. For example,

to count non-empty cells in the range B2:B11:


Invisible characters

Be aware that COUNTA will also count cells that look empty but actually contain invisible characters

 or an empty string ("") returned by a formula. You can check which cells are blank using Go To >

 Special > Blanks:

1. Select a range

2. Open ‘Go To’ dialog box (Ctrl + G)

3. Press "Special"


4. Select "Blanks" and press OK button


The result will be



Notes

• COUNTA function to count cells that contain numbers, text, logical values, error values and empty text ("").

• COUNTA will also count hard-coded values. For example, =COUNTA("a",1,2,3,"") returns 5.

• To count numeric values only, use the COUNT function.

Also see the Video regarding COUNTA function


Comments

Popular posts from this blog

TDS on Salary – Entry in Tally

Post Dated Cheque (PDC) Management

Personal Accounts in Tally