Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default how to use a function to average all the numbers except 8 in a col

how to use a function to average all the numbers except "8" in a column?
Filter out and average?

Any help is ppreciated!

--
happy world
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how to use a function to average all the numbers except 8 in a col

Try one of these:

=SUMIF(A1:A10,"<8")/(COUNT(A1:A10)-COUNTIF(A1:A10,8))

Or, this array** formula:

=AVERAGE(IF(A1:A10<8,A1:A10))

**entered with the key combination of CTRL,SHIFT,ENTER (not just ENTER).

Biff

"dreamer" wrote in message
...
how to use a function to average all the numbers except "8" in a column?
Filter out and average?

Any help is ppreciated!

--
happy world



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default how to use a function to average all the numbers except 8 in a

Thank you so much! Valko.
--
happy world


"T. Valko" wrote:

Try one of these:

=SUMIF(A1:A10,"<8")/(COUNT(A1:A10)-COUNTIF(A1:A10,8))

Or, this array** formula:

=AVERAGE(IF(A1:A10<8,A1:A10))

**entered with the key combination of CTRL,SHIFT,ENTER (not just ENTER).

Biff

"dreamer" wrote in message
...
how to use a function to average all the numbers except "8" in a column?
Filter out and average?

Any help is ppreciated!

--
happy world




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how to use a function to average all the numbers except 8 in a

You're welcome. Thanks for the feedback!

Biff

"dreamer" wrote in message
...
Thank you so much! Valko.
--
happy world


"T. Valko" wrote:

Try one of these:

=SUMIF(A1:A10,"<8")/(COUNT(A1:A10)-COUNTIF(A1:A10,8))

Or, this array** formula:

=AVERAGE(IF(A1:A10<8,A1:A10))

**entered with the key combination of CTRL,SHIFT,ENTER (not just ENTER).

Biff

"dreamer" wrote in message
...
how to use a function to average all the numbers except "8" in a
column?
Filter out and average?

Any help is ppreciated!

--
happy world






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default how to use a function to average all the numbers except 8 in a

How do I do this if the exception is not a number. For example, I want to
average all of column A if column B equals cell D1, except when the word "NO"
is in column B.

"T. Valko" wrote:

You're welcome. Thanks for the feedback!

Biff

"dreamer" wrote in message
...
Thank you so much! Valko.
--
happy world


"T. Valko" wrote:

Try one of these:

=SUMIF(A1:A10,"<8")/(COUNT(A1:A10)-COUNTIF(A1:A10,8))

Or, this array** formula:

=AVERAGE(IF(A1:A10<8,A1:A10))

**entered with the key combination of CTRL,SHIFT,ENTER (not just ENTER).

Biff

"dreamer" wrote in message
...
how to use a function to average all the numbers except "8" in a
column?
Filter out and average?

Any help is ppreciated!

--
happy world








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how to use a function to average all the numbers except 8 in a

Not sure I follow you on this.

Let's assume D1 = Yes.

Say you want to average col A where col B = Yes. Any NO entries will
automatically be ignored.

Unless you mean to average col A where col B = D1 *or* NO.

Need some clarification.

--
Biff
Microsoft Excel MVP


"yowzers" wrote in message
...
How do I do this if the exception is not a number. For example, I want to
average all of column A if column B equals cell D1, except when the word
"NO"
is in column B.

"T. Valko" wrote:

You're welcome. Thanks for the feedback!

Biff

"dreamer" wrote in message
...
Thank you so much! Valko.
--
happy world


"T. Valko" wrote:

Try one of these:

=SUMIF(A1:A10,"<8")/(COUNT(A1:A10)-COUNTIF(A1:A10,8))

Or, this array** formula:

=AVERAGE(IF(A1:A10<8,A1:A10))

**entered with the key combination of CTRL,SHIFT,ENTER (not just
ENTER).

Biff

"dreamer" wrote in message
...
how to use a function to average all the numbers except "8" in a
column?
Filter out and average?

Any help is ppreciated!

--
happy world








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
The sum and average function view all numbers as zero?? darnocnad Excel Discussion (Misc queries) 3 March 15th 10 04:22 PM
average of kth largest numbers in an array of n numbers georgeb Excel Worksheet Functions 6 September 5th 05 05:57 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
Average of Numbers in Top 5 Jake Excel Discussion (Misc queries) 7 April 28th 05 09:46 PM
Average of numbers in column between to other numbers Ditandhischeese Excel Discussion (Misc queries) 2 March 31st 05 03:35 AM


All times are GMT +1. The time now is 04:18 AM.

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"