Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Average except for something lower...

How can i do a formula that will calculate the average of a few cells as long
as the cell is over a certain amount... ??

Eg, i have

40
42
45
30

I would like the average of all of them expect any that are lower than 35

e.g if(a1:a4<35,takeaverage,ifnotexcludeanythinglower)

^^ i know that will not work but i am sure someone will know how to make it
work..



Can you help ?



Also i would also like to may a graph with the above information selecting
all the 4 cells, but would not like anything other than 3.30 on the graph...
Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Average except for something lower...

Hi,

Try this array formula

=AVERAGE(IF(A1:A10<35,IF(A1:A10<"",A1:A10)))

This is an array formula which must be entered with CTRL+Shift+Enter and NOT
'just enter. If you do it correctly then Excel will put curly brackets around
'the formula{}. You can't type these yourself. If you Edit the ranges
'then you must re-enter as An array

Mike

"Clubber2010" wrote:

How can i do a formula that will calculate the average of a few cells as long
as the cell is over a certain amount... ??

Eg, i have

40
42
45
30

I would like the average of all of them expect any that are lower than 35

e.g if(a1:a4<35,takeaverage,ifnotexcludeanythinglower)

^^ i know that will not work but i am sure someone will know how to make it
work..



Can you help ?



Also i would also like to may a graph with the above information selecting
all the 4 cells, but would not like anything other than 3.30 on the graph...
Is this possible?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Average except for something lower...


Clubber2010;368271 Wrote:
How can i do a formula that will calculate the average of a few cells as
long
as the cell is over a certain amount... ??

Eg, i have

40
42
45
30

I would like the average of all of them expect any that are lower than
35

e.g if(a1:a4<35,takeaverage,ifnotexcludeanythinglower)

^^ i know that will not work but i am sure someone will know how to
make it
work..



Can you help ?



Also i would also like to may a graph with the above information
selecting
all the 4 cells, but would not like anything other than 3.30 on the
graph...
Is this possible?


Hi,
try =average(if(a1:a4<35,a1:a4)) and enter as an array formula with
Ctrl+Shift+Enter


--
Pecoflyer

Cheers -
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=103154

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Average except for something lower...

Hi,

Try this non array formula solution

=sumif(A8:A11,"=35")/countif(A8:A11,"=35")

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Clubber2010" wrote in message
...
How can i do a formula that will calculate the average of a few cells as
long
as the cell is over a certain amount... ??

Eg, i have

40
42
45
30

I would like the average of all of them expect any that are lower than 35

e.g if(a1:a4<35,takeaverage,ifnotexcludeanythinglower)

^^ i know that will not work but i am sure someone will know how to make
it
work..



Can you help ?



Also i would also like to may a graph with the above information selecting
all the 4 cells, but would not like anything other than 3.30 on the
graph...
Is this possible?


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
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 AM
Change from mixed caps and upper lower to all upper lower case Fish''s Mermaid Excel Worksheet Functions 3 October 13th 06 02:15 PM
Lower case maperalia Excel Worksheet Functions 2 April 25th 06 08:23 PM
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
First Lower Case George W. Barrowcliff Excel Worksheet Functions 2 May 2nd 05 09:07 PM


All times are GMT +1. The time now is 11:01 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"