# Formula help

Posted by Ron Doig on December 10, 2001 7:47 AM

I imagine this question is a simple one to answer but I cant find an answer on my own. I am summing a large column of information and need to divide the summation by the total number of entries in the column. This number of entries will increase as I add additional information. What is the syntax for a formula to count the number of entries (rows)in a column? Any help will be greatly appreciated.

Posted by Aladin Akyurek on December 10, 2001 8:03 AM

It seems you want to average a bunch of entries.

=AVERAGE(A1:A100)

will average the numbers in A1:A100.

P.S. COUNT counts numeric entries, including dates.

Posted by aL on December 10, 2001 9:16 AM

=SUM(A1:A100)/ROWS(A1:A100)
You can use this as far down as needed, but the row numbers used must be only for those rows that have data. The formula can be as far down as you need it.

Posted by Juan Pablo G. on December 10, 2001 9:46 AM

To COUNT how many entries are in a column you can use:

=COUNT(A:A)

for numeric entries only, or...

=COUNTA(A:A)

for all entries.

Posted by Horacio on December 10, 2001 10:07 AM

Hi Ron,
This is what I've used when I need to know how many rows with data I have in a column.
Type a formula on the same row (is better to do it next to the cell where your data is) like this =if(cell="","",1) what that means is that if there is data in the cell, it will return a one otherwise it will leave it blank. Then you can just add this row.
You can use the total of the row when you divide the total of your data.

Posted by Aladin Akyurek on December 10, 2001 10:09 AM