Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Joker
 
Posts: n/a
Default Average greater than 0

I'm looking for a formula to find the average of numbers in a column that are
greater than 0. For example, in column A, there are reaction times. In column
B, there are final times. Say cell A1 is 3:25 AM and cell B1 is 3:45 AM. In
cell C1, I have the formula =B1-A1 to give me the amount of time in between
B1 and A1. The formula is copied down the column giving the cells the value
of 0. I need to find the average final times but without the 0 values. Any
help would be greatly appreciated. Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Average greater than 0

=AVERAGE(IF(C1:C1000,C1:C100))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Joker" wrote in message
...
I'm looking for a formula to find the average of numbers in a column that

are
greater than 0. For example, in column A, there are reaction times. In

column
B, there are final times. Say cell A1 is 3:25 AM and cell B1 is 3:45 AM.

In
cell C1, I have the formula =B1-A1 to give me the amount of time in

between
B1 and A1. The formula is copied down the column giving the cells the

value
of 0. I need to find the average final times but without the 0 values. Any
help would be greatly appreciated. Thank you



  #3   Report Post  
Posted to microsoft.public.excel.misc
Joker
 
Posts: n/a
Default Average greater than 0

Thank you Bob. That works great.

"Bob Phillips" wrote:

=AVERAGE(IF(C1:C1000,C1:C100))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Joker" wrote in message
...
I'm looking for a formula to find the average of numbers in a column that

are
greater than 0. For example, in column A, there are reaction times. In

column
B, there are final times. Say cell A1 is 3:25 AM and cell B1 is 3:45 AM.

In
cell C1, I have the formula =B1-A1 to give me the amount of time in

between
B1 and A1. The formula is copied down the column giving the cells the

value
of 0. I need to find the average final times but without the 0 values. Any
help would be greatly appreciated. Thank you




  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Average greater than 0

For a non-array formula, you can use..........

=SUMIF(C:C,"0")/COUNTIF(C:C,"0")


Vaya con Dios,
Chuck, CABGx3



"Joker" wrote:

I'm looking for a formula to find the average of numbers in a column that are
greater than 0. For example, in column A, there are reaction times. In column
B, there are final times. Say cell A1 is 3:25 AM and cell B1 is 3:45 AM. In
cell C1, I have the formula =B1-A1 to give me the amount of time in between
B1 and A1. The formula is copied down the column giving the cells the value
of 0. I need to find the average final times but without the 0 values. Any
help would be greatly appreciated. Thank you

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
Matching Values from an Array Mal Excel Worksheet Functions 2 January 4th 06 10:06 AM
Average If Adejecent Cells Greater Than Zero REW2705 Excel Worksheet Functions 3 October 21st 05 12:41 AM
Countif cell greater than average Mary Ann Excel Worksheet Functions 4 August 10th 05 09:49 AM
plotted Average Micayla Bergen Charts and Charting in Excel 4 July 15th 05 12:13 PM
What is this kind of average called? havocdragon Excel Worksheet Functions 3 June 24th 05 05:10 PM


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