Solved

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

Posted on 2011-03-21
3
190 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
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…
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…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

895 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

11 Experts available now in Live!

Get 1:1 Help Now