Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to SUM up the number of cells in a column in an excel file

Posted on 2011-03-21
3
Medium Priority
?
199 Views
Last Modified: 2012-05-11
Hi , i have an excel file and i have 5 lastnames in column A. I want to automatically sum up these cells and of course get the number 5. How can i do this ?

0
Comment
Question by:c_hockland
3 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 1000 total points
ID: 35183837
You want to COUNT, not SUM, right?

=COUNTA(A:A)
0
 
LVL 8

Assisted Solution

by:ragnarok89
ragnarok89 earned 1000 total points
ID: 35184208
COUNTA will count all nonblank cells in the specified range.

If you are looking for specific words, you could use COUNTIF

=COUNTIF(A:A,"Smith") ---- would count all occurrences of "Smith" (not case sensitive)
0
 
LVL 5

Expert Comment

by:Kannan K
ID: 35184255
Hi,

CountA function will ignore the empty cells, it will count where the value is there in specified range.
so you can use the below function itself.

=COUNTA(C4:C12)

KK,
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

916 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