#1   Report Post  
Posted to microsoft.public.excel.misc
sross002
 
Posts: n/a
Default Average Formula

how do I Calculate the average of numbers not in a contiguous row or column,
excluding cells that have 0?

(The column starts at F5 but I will continuosly add to the f column, so it
doesn't have an ending column.)

It's a simple worksheet calculating my MPG on my car, so I will keep adding
to it.
  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Average Formula

Try something like this:

=AVERAGE(IF(F5:F10000,F5:F1000))
this is an array formula so enter using Ctrl+Shift+Enter


HTH

Jean-Guy

"sross002" wrote:

how do I Calculate the average of numbers not in a contiguous row or column,
excluding cells that have 0?

(The column starts at F5 but I will continuosly add to the f column, so it
doesn't have an ending column.)

It's a simple worksheet calculating my MPG on my car, so I will keep adding
to it.

  #3   Report Post  
Posted to microsoft.public.excel.misc
sross002
 
Posts: n/a
Default Average Formula

that worked great!!!
The formula reads like this: =AVERAGE(IF(F5:F10000,F5:F1000))

How would I go about rounding it two decimal places?



"pinmaster" wrote:

Try something like this:

=AVERAGE(IF(F5:F10000,F5:F1000))
this is an array formula so enter using Ctrl+Shift+Enter


HTH

Jean-Guy

"sross002" wrote:

how do I Calculate the average of numbers not in a contiguous row or column,
excluding cells that have 0?

(The column starts at F5 but I will continuosly add to the f column, so it
doesn't have an ending column.)

It's a simple worksheet calculating my MPG on my car, so I will keep adding
to it.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Average Formula

=ROUND(AVERAGE(IF(F5:F10000,F5:F1000)),2)

still array-entered.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"sross002" wrote in message
...
that worked great!!!
The formula reads like this: =AVERAGE(IF(F5:F10000,F5:F1000))

How would I go about rounding it two decimal places?



"pinmaster" wrote:

Try something like this:

=AVERAGE(IF(F5:F10000,F5:F1000))
this is an array formula so enter using Ctrl+Shift+Enter


HTH

Jean-Guy

"sross002" wrote:

how do I Calculate the average of numbers not in a contiguous row or

column,
excluding cells that have 0?

(The column starts at F5 but I will continuosly add to the f column,

so it
doesn't have an ending column.)

It's a simple worksheet calculating my MPG on my car, so I will keep

adding
to it.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default ARRAY Formula

Can someone explain to me what exactly an array formula is?

"Bob Phillips" wrote:

=ROUND(AVERAGE(IF(F5:F10000,F5:F1000)),2)

still array-entered.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"sross002" wrote in message
...
that worked great!!!
The formula reads like this: =AVERAGE(IF(F5:F10000,F5:F1000))

How would I go about rounding it two decimal places?



"pinmaster" wrote:

Try something like this:

=AVERAGE(IF(F5:F10000,F5:F1000))
this is an array formula so enter using Ctrl+Shift+Enter


HTH

Jean-Guy

"sross002" wrote:

how do I Calculate the average of numbers not in a contiguous row or

column,
excluding cells that have 0?

(The column starts at F5 but I will continuosly add to the f column,

so it
doesn't have an ending column.)

It's a simple worksheet calculating my MPG on my car, so I will keep

adding
to it.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default ARRAY Formula

Yes, Excel help can.
Type the words array formula into Excel help.
--
David Biddulph


sross002 wrote:
Can someone explain to me what exactly an array formula is?

"Bob Phillips" wrote:

=ROUND(AVERAGE(IF(F5:F10000,F5:F1000)),2)

still array-entered.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"sross002" wrote in message
...
that worked great!!!
The formula reads like this: =AVERAGE(IF(F5:F10000,F5:F1000))

How would I go about rounding it two decimal places?



"pinmaster" wrote:

Try something like this:

=AVERAGE(IF(F5:F10000,F5:F1000))
this is an array formula so enter using Ctrl+Shift+Enter


HTH

Jean-Guy

"sross002" wrote:

how do I Calculate the average of numbers not in a contiguous row
or column, excluding cells that have 0?

(The column starts at F5 but I will continuosly add to the f
column, so it doesn't have an ending column.)

It's a simple worksheet calculating my MPG on my car, so I will
keep adding to it.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default ARRAY Formula

See this:

http://www.cpearson.com/Excel/ArrayFormulas.aspx

--
Biff
Microsoft Excel MVP


"sross002" wrote in message
...
Can someone explain to me what exactly an array formula is?

"Bob Phillips" wrote:

=ROUND(AVERAGE(IF(F5:F10000,F5:F1000)),2)

still array-entered.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"sross002" wrote in message
...
that worked great!!!
The formula reads like this: =AVERAGE(IF(F5:F10000,F5:F1000))

How would I go about rounding it two decimal places?



"pinmaster" wrote:

Try something like this:

=AVERAGE(IF(F5:F10000,F5:F1000))
this is an array formula so enter using Ctrl+Shift+Enter


HTH

Jean-Guy

"sross002" wrote:

how do I Calculate the average of numbers not in a contiguous row
or

column,
excluding cells that have 0?

(The column starts at F5 but I will continuosly add to the f
column,

so it
doesn't have an ending column.)

It's a simple worksheet calculating my MPG on my car, so I will
keep

adding
to it.






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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Average formula onyx4813 Excel Discussion (Misc queries) 3 September 28th 05 06:13 PM
Formula to average certain times Denise Excel Discussion (Misc queries) 5 July 18th 05 01:02 PM
Average Formula Anthony Excel Discussion (Misc queries) 3 July 14th 05 04:38 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 01:59 PM.

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"