#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default average

I have a spreadsheet and in one column I have results from time. I am trying
to average this column and if I choose just the cells that have results so
far, I get the correct average, but in my formula if I take the ending cell
down so I don't have to change the formula each time, I get an average based
on all the empty cells which makes the answer incorrect.
This is my formula: =AVERAGE(IF(AG6:AG11342<0,AG6:AG11342,""))
My worksheet is only down to AG838, but I need it expanded for more data
entry, but my average is showing 24 and if I change the AG11342 to AG838, I
get the correct average of 16. Please help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default average

Pammy,

Average is 'smart' enough to ignore empty cells so providing the formula you
posted is array entered (CTRL+Shift+Enter) then it should give the correct
answer for the larger range.

If is doesn't then I suggest you check all of your numbers are really
numbers and not text that look like numbers

Mike

"Pammy" wrote:

I have a spreadsheet and in one column I have results from time. I am trying
to average this column and if I choose just the cells that have results so
far, I get the correct average, but in my formula if I take the ending cell
down so I don't have to change the formula each time, I get an average based
on all the empty cells which makes the answer incorrect.
This is my formula: =AVERAGE(IF(AG6:AG11342<0,AG6:AG11342,""))
My worksheet is only down to AG838, but I need it expanded for more data
entry, but my average is showing 24 and if I change the AG11342 to AG838, I
get the correct average of 16. Please help

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 AM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


All times are GMT +1. The time now is 01:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"