Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Average for a column to exclude zeros and numbers above 39000

Dear ladies and gents, please help me figure out how to build a formula for a
column of 150 cells, where I need to obtain the average excluding the cells
containing zeros and numbers above 39000. I tried
=AVERAGE(if(L3:L150<390000, L3:L150,false)) and it gives me a number I am
not sure is right. Thank you so much.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Average for a column to exclude zeros and numbers above 39000


Try:

=AVERAGE(IF(L3:L1500,IF(L3:L15<39000, L3:L150)))

confirmed with CTRL+SHIFT+ENTER


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=109857

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Average for a column to exclude zeros and numbers above 39000

You are correct, that formula will give the wrong number. You can use this
array* formula:

=AVERAGE(IF((L3:L150<0)*(L3:L150<39000),A1:A4))

*Use Ctrl+Shift+Enter to confirm formula, not just Enter.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Max S." wrote:

Dear ladies and gents, please help me figure out how to build a formula for a
column of 150 cells, where I need to obtain the average excluding the cells
containing zeros and numbers above 39000. I tried
=AVERAGE(if(L3:L150<390000, L3:L150,false)) and it gives me a number I am
not sure is right. Thank you so much.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Average for a column to exclude zeros and numbers above 39000

Hi,

Try the following array:

=AVERAGE(IF((L3:L150<39000)*(L3:L150<0),L3:L150))

To make this an array Press Shift+Ctrl+Enter to enter the formula not Enter

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Max S." wrote:

Dear ladies and gents, please help me figure out how to build a formula for a
column of 150 cells, where I need to obtain the average excluding the cells
containing zeros and numbers above 39000. I tried
=AVERAGE(if(L3:L150<390000, L3:L150,false)) and it gives me a number I am
not sure is right. Thank you so much.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Average for a column to exclude zeros and numbers above 39000

Right on! Works perfectly. Thank you again.

"Shane Devenshire" wrote:

Hi,

Try the following array:

=AVERAGE(IF((L3:L150<39000)*(L3:L150<0),L3:L150))

To make this an array Press Shift+Ctrl+Enter to enter the formula not Enter

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Max S." wrote:

Dear ladies and gents, please help me figure out how to build a formula for a
column of 150 cells, where I need to obtain the average excluding the cells
containing zeros and numbers above 39000. I tried
=AVERAGE(if(L3:L150<390000, L3:L150,false)) and it gives me a number I am
not sure is right. Thank you so much.



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
average of non contigous data to also exclude zeros markmcd Excel Discussion (Misc queries) 7 May 25th 09 10:00 AM
Add numbers in a column, but exclude percentages in the same colum Rich W. Excel Worksheet Functions 3 July 9th 08 04:46 PM
Average non-adjacent cells & exclude zeros Danni2004 Excel Discussion (Misc queries) 3 September 18th 07 04:00 PM
How do I average a column without including zeros KMHarpe Excel Discussion (Misc queries) 3 August 11th 05 04:21 PM
How to average a column, but exclude zero AND negative values? KMHarpe Excel Discussion (Misc queries) 1 July 20th 05 10:06 PM


All times are GMT +1. The time now is 12:42 PM.

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

About Us

"It's about Microsoft Excel"