Solved

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

Posted on 2011-03-21
3
192 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 250 total points
ID: 35183837
You want to COUNT, not SUM, right?

=COUNTA(A:A)
0
 
LVL 8

Assisted Solution

by:ragnarok89
ragnarok89 earned 250 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

832 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