ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Average (https://www.excelbanter.com/excel-discussion-misc-queries/91090-average.html)

lsmft

Average
 

I am trying to get an average of a list of ongoing attendance numbers in
column "A". This average figure will change from week to week since I
only list the attendance one day a week. My problem is when I enter
=average(range), I am only getting the first week's attendance figure.
We'll say the range is from A1:A52. I can't get it to figure past the
first week. Some of the cells in this column have no entries yet due to
having not reached that date in time. I have checked my formatting and
all seems to be in order. Any suggestions?


--
lsmft
------------------------------------------------------------------------
lsmft's Profile: http://www.excelforum.com/member.php...o&userid=30678
View this thread: http://www.excelforum.com/showthread...hreadid=546446


Pete_UK

Average
 
You could try this:

=AVERAGE(IF(A1:A520,A1:A52))

This is an array formula, which means that once you have typed it in
(or subsequently edit it) you must use CTRL-SHIFT-ENTER instead of just
ENTER. If you do this correctly then Excel will wrap curly braces { }
around the formula - you must not type these yourself.

Hope this helps.

Pete



All times are GMT +1. The time now is 12:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com